I believe --changed-files
is a “;” (Windows) or “:” (non-Windows) separated list of file paths previously determined to have been changed. Similarly, --deleted-files
is a list of file paths previously determined to have been deleted.
My guess would be that a third party “file watcher” tool can be monitoring the file system between Duplicati runs, then when Duplicati starts a backup, a --run-script-before
script queries the file-watcher to provide a list of changed and deleted files which are then passed into Duplicati likely using DUPLICATI__changed_files
and DUPLICATI__deleted_files
environment variables.
Here are the descriptions of the two file list parameters as of version 2.0.2.12_canary.
Duplicati.CommandLine.exe help changed-files
--changed-files (Path): List of files to examine for changes
This option can be used to limit the scan to only files that are known to
have changed. This is usually only activated in combination with a
filesystem watcher that keeps track of file changes.
Duplicati.CommandLine.exe help deleted-files
--deleted-files (Path): List of deleted files
This option can be used to supply a list of deleted files. This option
will be ignored unless the option --changed-files is also set.