Today, ~10 of my hosts failed to backup. When looking into the issue, one thread was common:
Found 80 files that are missing from the remote storage, please run repair
Yesterday, I found that 2 of my hosts were facing the same issue. So I ran --rebuild-missing-dblock-files
, which didn’t work. Then I tried to PurgeBrokenFiles, which didn’t work. Then I tried to recreate the database, which didn’t work at first, and then it lost connection to the backend for some reason. I ended up deleting it entirely and starting again, but it was a few hours before it managed to connect to the backend and backup successfully.
And the very next day, the same issue happens, but for all of my hosts. So, I investigated further this time. I ran ListBrokenFiles for two hosts and got this error:
Listing remote folder ...
ErrorID: CannotPurgeWithNoRemoteVolumes
No remote volumes were found, refusing purge
Return code: 100
I clicked “Test Connection” and that worked fine. So I went to the backend and found that the entire directory still exists, completely full of files. I ran Repair, which didn’t work, and told me this:
Duplicati.Library.Interface.UserInformationException: The backup storage destination is missing data files. You can either enable `--rebuild-missing-dblock-files` or run the purge command to remove these files.
The following files are missing:
duplicati-b64c541bf479f4c40ab4286a646b3f34f.dblock.zip.aes,
duplicati-b94da1f6659aa47de919595acfcdcd291.dblock.zip.aes,
duplicati-b4e553d09f9ac45818b4e4567fda9234d.dblock.zip.aes,
duplicati-b6ea99285931f4c7caa49589da88322e9.dblock.zip.aes,
...
All these files are present in the remote storage and not zero’d out…
Any ideas? I’ve decided this is likely an issue connecting to the backend and not being able to read/write any data. I have no idea how to further debug this connection though.
Edit: I’m using OpenStack to connect to my OVH backend.