4 files went missing from my backup storage, and I have a theory about why. I hope that a developer can check out my theory to see if this is caused by a bug in Duplicati’s “Compact” process. I really doubt that they were deleted by me or an antivirus. Here are some clues:
May 14 7:18 PM - a backup ran successfully
May 15 7:08 PM - a LIST command was logged in the Remote job log, showing a large list of files, including the 4 files that later went missing
May 15 7:20 PM - a compact job ran
Compacting because there are 109.48 MB in small volumes and the volume size is 100.00 MB
May 15 7:23 PM - the system log shows an exception:
Failed while executing “Backup” with id: 2
There is not enough space on the disk.
May 16 7:18 PM
- a LIST command in the Remote job log shows a large list of files, and is missing the 4 files
- multiple lines in the General job log say files were deleted:
removing file listed as Deleting: duplicati-ba32f53aa7b894883bef9fe4c3ebfaaeb.dblock.zip.aes
removing file listed as Deleting: duplicati-b5ad89a11bd524948999651d74f22613d.dblock.zip.aes
removing file listed as Deleting: duplicati-ba67c4d9e011d457e86acee4a504a359f.dblock.zip.aes
removing file listed as Deleting: duplicati-bfb278be84c2b4a74afb95e1d6fddc7cf.dblock.zip.aes
removing file listed as Temporary: duplicati-bcf8aea1183544f9ca11db39c2d688449.dblock.zip.aes
removing file listed as Temporary: duplicati-i3cbffe1917004f15b20849dc3b70bd7d.dindex.zip.aes
-multiple lines in the General job log say 4 files are missing:
Missing file: duplicati-iaaa9d07845504fceadb121a46d34c767.dindex.zip.aes
Missing file: duplicati-ib09d8d58fdaf4579ad1a2aca74a7ef09.dindex.zip.aes
Missing file: duplicati-ic8166d61659e423fbf529269ec4c5ccb.dindex.zip.aes
Missing file: duplicati-ief5351d6419b4ec185131a49fbd0ed77.dindex.zip.aes
-the System log shows an error:
Duplicati.Library.Interface.UserInformationException: Found 4 files that are missing from the remote storage, please run repair
So, I’m guessing that the Compact job failed due to an error about Out Of Space, and that somehow led to files going missing on the remote storage. When I ran the “Affected” command on those 4 files, they all said that no files were affected, which suggests to me that the Compact intended to delete those files since they were no longer needed, but when the crash happened, Duplicati forgot about that and still believed that those 4 files were needed and missing.
Another related question is Why did I get an out-of-space error? The remote storage has plenty of space, my dblock-size is 100MB, and my temp RAM disk is 500MB. How big does my temp space need to be?