I had a problem with my local destination that resulted in aborted backup. The error was not on the disk itself but in the server that lost power. The backup now went fine but I am not sure if all files in the destination are valid or if there are any orphans in the destination. How do I check that?
Duplicati does that automatically before and after a backup, so nothing needs to be done. Just run the next backup and Duplicati will clean up or fail if something is not right.
If you want to be extra sure, there is a “Verify” command in the action menu for the backup that performs file verification on a few random files.
If you want to verify more files, use the menu “Commandline” to get the UI-commandline page. Choose the operation “test” at the top, and in the “Commandline arguments” replace all the text with the number of samples you want (like 10 or 50), then click “Run test command now”.
Thank you. Now everything feels much better.
The best way to check is to run a backup verification or test restore rather than just checking whether the destination files exist. Files can be present but still corrupted or incomplete. I’d also recommend checking Duplicati’s logs for verification errors and periodically restoring a few files to a separate folder to make sure everything is actually recoverable.