As discussed here, we are running Duplicati in an environment without permission to delete (and overwrite) files from cloud storage, which would theoretically be possible except in cases where a repair is required. And this happened on the first backup run.
The backend being used is rclone and the target is Google Cloud Storage.
1st run rclone log: (Duplicati log didn’t output any errors)
For simplicity, some errors due to user files in use have been removed and file hashes renamed.
2019/08/15 03:21:35 ERROR : Attempt 1/3 failed with 1 errors and: Get (...) duplicati-hash-a.dblock.zip: oauth2: cannot fetch token
2019/08/15 03:21:48 ERROR : Attempt 2/3 succeeded
2019/08/15 03:22:54 ERROR : dup-hash-b: Failed to copy: googleapi: Error 403: backup--rclone@***.iam.gserviceaccount.com does not have storage.objects.delete access to duplicati-hash-c.dblock.zip., forbidden
2019/08/15 03:22:54 ERROR : Attempt 1/3 failed with 2 errors and: googleapi: Error 403: backup--rclone@***.iam.gserviceaccount.com does not have storage.objects.delete access to duplicati-hash-c.dblock.zip., forbidden
2019/08/15 03:22:54 ERROR : Attempt 2/3 succeeded
I tried to perform the backup again, 2nd run Duplicati log:
2019-08-23 10:45:38 -03 - [Warning-Duplicati.Library.Main.Operation.Backup.UploadSyntheticFilelist-MissingTemporaryFilelist]: Expected there to be a temporary fileset for synthetic filelist (1, duplicati-20190812T181116Z.dlist.zip), but none was found?
2019-09-01 06:37:00 -03 - [Warning-Duplicati.Library.Main.Operation.FilelistProcessor-MissingFile]: Missing file: duplicati-hash-d.dblock.zip
2019-09-01 06:37:00 -03 - [Warning-Duplicati.Library.Main.Operation.FilelistProcessor-MissingFile]: Missing file: duplicati-hash-e.dindex.zip
2019-09-01 06:37:00 -03 - [Error-Duplicati.Library.Main.Operation.FilelistProcessor-MissingRemoteFiles]: Found 2 files that are missing from the remote storage, please run repair
2019-09-01 06:37:00 -03 - [Error-Duplicati.Library.Main.Operation.BackupHandler-FatalError]: Fatal error
Duplicati.Library.Interface.UserInformationException: Found 2 files that are missing from the remote storage, please run repair
em Duplicati.Library.Main.Operation.FilelistProcessor.VerifyRemoteList(BackendManager backend, Options options, LocalDatabase database, IBackendWriter log, String protectedfile)
em Duplicati.Library.Main.Operation.BackupHandler.PostBackupVerification()
em Duplicati.Library.Main.Operation.BackupHandler.<RunAsync>d__19.MoveNext()
2nd run rclone log:
2019/08/29 09:51:47 ERROR : Attempt 1/3 failed with 1 errors and: Get https://www.googleapis.com/storage/v1/b/***duplicati-hash-d.dblock.zip?alt=json&prettyPrint=false: oauth2: cannot fetch token: Post https://oauth2.googleapis.com/token: dial tcp: lookup oauth2.googleapis.com: no such host
2019/08/29 09:52:01 ERROR : Attempt 2/3 failed with 1 errors and: Get https://www.googleapis.com/storage/v1/b/***duplicati-hash-d.dblock.zip?alt=json&prettyPrint=false: oauth2: cannot fetch token: Post https://oauth2.googleapis.com/token: dial tcp: lookup oauth2.googleapis.com: getaddrinfow: This is usually a temporary error during host name resolution and means that the local server has not received a response from an authorized server.
2019/08/29 09:52:13 ERROR : Attempt 3/3 failed with 1 errors and: Get https://www.googleapis.com/storage/v1/b/***duplicati-hash-d.dblock.zip?alt=json&prettyPrint=false: oauth2: cannot fetch token: Post https://oauth2.googleapis.com/token: dial tcp: lookup oauth2.googleapis.com: getaddrinfow: This is usually (...)
2019/08/29 09:52:13 Failed to copyto: Get https://www.googleapis.com/storage/v1/b/***duplicati-hash-d.dblock.zip?alt=json&prettyPrint=false: oauth2: cannot fetch token: Post https://oauth2.googleapis.com/token: dial tcp: lookup oauth2.googleapis.com: getaddrinfow: This is usually (...)
2019/08/29 09:52:38 ERROR : Attempt 1/3 failed with 1 errors and: Get https://www.googleapis.com/storage/v1/b/***duplicati-hash-e.dindex.zip?alt=json&prettyPrint=false: oauth2: cannot fetch token: Post https://oauth2.googleapis.com/token: dial tcp: lookup oauth2.googleapis.com: getaddrinfow: This is usually (...)
2019/08/29 09:52:50 ERROR : Attempt 2/3 failed with 1 errors and: Get https://www.googleapis.com/storage/v1/b/***duplicati-hash-e.dindex.zip?alt=json&prettyPrint=false: oauth2: cannot fetch token: Post https://oauth2.googleapis.com/token: dial tcp: lookup oauth2.googleapis.com: getaddrinfow: This is usually (...)
2019/08/29 09:53:02 ERROR : Attempt 3/3 failed with 1 errors and: Get https://www.googleapis.com/storage/v1/b/***duplicati-hash-e.dindex.zip?alt=json&prettyPrint=false: oauth2: cannot fetch token: Post https://oauth2.googleapis.com/token: dial tcp: lookup oauth2.googleapis.com: getaddrinfow: This is usually (...)
2019/08/29 09:53:02 Failed to copyto: Get https://www.googleapis.com/storage/v1/b/***duplicati-hash-e.dindex.zip?alt=json&prettyPrint=false: oauth2: cannot fetch token: Post https://oauth2.googleapis.com/token: dial tcp: lookup oauth2.googleapis.com: getaddrinfow: This is usually (...)
I checked and in fact the duplicati-hash-d.dblock.zip
and duplicati-hash-e.dindex.zip
files do not exist in the cloud.
The database has over 5.4GB and the commands take a long time to execute, so I kindly ask you for tips to fix it.
Thanks in advance.