Keep getting System.AggregateException and System.IO.FileNotFoundException. Need help

Using the Command line tools from within the Graphical User Interface

Most command line tools need one or more commandline arguments. For example, if you want to delete a specific backup, you have to supply a version number to the Delete command. The default value for this field are the source folders selected for backup, but in most situations you have to change this.

You did the right thing, changing backup into test, meaning <source path> became <samples>.

Duplicati.CommandLine.exe backup <storage-URL> "<source-path>" [<options>]

Duplicati.CommandLine.exe test <storage-URL> <samples> [<options>]

Not really. The test page explains what samples means:

Verifies integrity of a backup. A random sample of dlist, dindex, dblock files is downloaded, decrypted and the content is checked against recorded size values and data hashes. <samples> specifies the number of samples to be tested. If “all” is specified, all files in the backup will be tested. This is a rolling check, i.e. when executed another time different samples are verified than in the first run. A sample consists of 1 dlist, 1 dindex, 1 dblock.

The posted output isn’t totally clear on what’s what, but a good guess is the 10 files just under 250 MB are dblock files. The other 12 might be 10 dindex files and all 2 dlist files (at 1.21 MB) if you have few versions.

If you want to check the math, you can watch an About → Show log → Live → Information of file names.

It should be 1500, but if you’ve only got 2 versions, it’ll be 1002. You can also just tentatively assume all is uploaded correctly. There should be a directory listing and size check done every backup, so the question is whether a WebDAV upload (or file sitting on the remote) managed to go bad without that check noticing.

I spoke earlier of gradual remote verifications after backup, or total verification done on the remote system:

It’s a manual run. Duplicati has no way to run a verification script on the remote server, but you might, and unless your network bandwidth to remote is very high, reading remote from remote is likely much faster…

One thing the manual isn’t great with yet is giving usage details such as where the scripts are that you run.

How to verify duplicati-verification.json? (findable from the forum search near upper right) is an explanation.