My backup with lots of files and gigabytes was constantly failing with missing files, but files were on the server. So I looked in the FTP logs (pure-ftpd in my case).
Last command from duplicati was mlsd /my_backup
after it failed.
So I connected from command line with ftp
program and run mlsd /my_backup
and response was: 226 Output truncated to 10000 matches
. Truncated you say?! I connected via ssh and counted 10915 files on that server. So ftp server was messing the backup results.
In case of pure-ftpd I found that there is configuration LimitRecursion 10000 8 in pure-ftpd.conf which should be set to much higher number. After setting it to million files, backup happily finished without errors.
So if you are backuping to some FTP (or other cloud service), check for the file list limit.
To the devs: you should implement check for truncated message on end of file listing and throw that error.