Hi all,
Want to see if anyone else has had problems with Google (Team) Drives and the prune operation.
Background
Have a duplicacy backup going to google team (shared drive). Backup took a while (total 500Gb) but after initial long period; the incremental is quite ok.
Have about 7 revisions and having the prune operation to delete oldest and prune the backup store.
What is happening
The web interface gives me a failed after about 15 minutes of run time. Looking at the logs I see this:
Running prune command from C:\Users\core/.duplicacy-web/repositories/localhost/all
Options: [-log prune -storage Google_Duplicacy -keep 0:1800 -keep 7:30 -keep 1:7 -a]
2020-07-24 09:38:57.111 INFO STORAGE_SET Storage set to gcd://0ALEn0ohi2D08Uk9PVA@Google_Duplicacy
2020-07-24 09:39:01.829 INFO RETENTION_POLICY Keep no snapshots older than 1800 days
2020-07-24 09:39:01.829 INFO RETENTION_POLICY Keep 1 snapshot every 7 day(s) if older than 30 day(s)
2020-07-24 09:39:01.829 INFO RETENTION_POLICY Keep 1 snapshot every 1 day(s) if older than 7 day(s)
2020-07-24 09:39:05.703 INFO SNAPSHOT_DELETE Deleting snapshot Google at revision 2
2020-07-24 09:39:05.935 INFO SNAPSHOT_DELETE Deleting snapshot Google at revision 3
2020-07-24 09:39:06.170 INFO SNAPSHOT_DELETE Deleting snapshot Google at revision 4
2020-07-24 09:39:06.412 INFO SNAPSHOT_DELETE Deleting snapshot Google at revision 5
2020-07-24 09:39:06.649 INFO SNAPSHOT_DELETE Deleting snapshot Google at revision 6
2020-07-24 09:41:10.858 INFO FOSSIL_COLLECT Fossil collection 1 saved
2020-07-24 09:50:12.987 INFO GCD_RETRY [0] Maximum number of retries reached (backoff: 64, attempts: 15)
2020-07-24 09:50:12.988 ERROR SNAPSHOT_DELETE Failed to delete the snapshot Google at revision 2: googleapi: Error 403: The user does not have sufficient permissions for this file., insufficientFilePermissions
Failed to delete the snapshot Google at revision 2: googleapi: Error 403: The user does not have sufficient permissions for this file., insufficientFilePermissions
So for some reason it is saying I don’t have permissions to delete the file. This is odd as duplicacy was the program that created the file and when I go via G Drive web interface I can delete files just fine.
Retrying leads to same result (the logs are mostly similar but subsequent runs complain of FOSSIL_GHOSTSNAPSHOT
that should have been deleted and Chunk {hash} is already a fossil
. Duplicacy saves a new fossil collection, but in the end the same failure occurs.
If safe, I suppose I could just delete the fossils by hand but obviously would be nicer to have a automatic handling of the issue.
Any thoughts?
Note
I did search for previously threads on Google issues and did see the below which has the same type of error message but in that thread the problem seemed to be someone uploading a lot (so exceeding daily limits) which is not the case here.