I have temporarily saved various large files in a directory that I would like to delete from the backup (several backup sets). As this was a while ago and I want to keep the other files in the backup sets, so ‘DELETE’ is not an option.
I can list the files without any problems:
"C:\Program Files\Duplicati 2\Duplicati.CommandLine.exe" find "file://\\my-nas\home\Duplicati-Backup/?auth-username=Jens&auth-password=secret" "c:\Users\Jens\Same Prefix *" --parameter-file=param.txt
If I now replace the command
purge, nothing is found:
"C:\Program Files\Duplicati 2\Duplicati.CommandLine.exe" purge "file://\\my-nas\home\Duplicati-Backup/?auth-username=Jens&auth-password=secret" "c:\Users\Jens\Videos\Same Prefix *" --parameter-file=param.txt
The param.txt looks like this:
--backup-name="Backup PC" --dbpath="c:\Windows\System32\config\systemprofile\AppData\Local\Duplicati\OQPBAXYDTO.sqlite" --encryption-module= --compression-module=zip --dblock-size=50mb --no-encryption=true --disable-module=console-password-input --version=1-3 --dry-run
I have also read here in the forum that the alternative is not to specify the file name/path as the 3rd parameter, but to use
--include instead. However, this also leads to the same result:
find lists the files searched for,
purge does nothing.
Why do the filename/include parameters for
purge work so differently and how do I have to modify the
purge command so that it works as expected? (I’m using version 22.214.171.124_experimental_2023-05-25.)