I would like to delete all copies of a file that was backed up from my Linux /home directory to a Dropbox backend. Let’s say the file is called unwanted_file.txt, so I have run the following in terminal:
ErrorID: PurgeWouldRemoveEntireFileset
Refusing to purge 138852 files from fileset with ID 1, as that would remove the entire fileset.
I don’t understand this. The file has only been backed up 3 times, and this numbers suggests the command wants to delete all files in my /home backup. Trying something similar in the GUI commandline and the process seems to simply never end; I let it run for over 2 hours and it still said “Running …” with --dry-run.
In my test environment, the purge command did not give any output.
When using the commandline tools from the GUI, you have to specify the passphrase (--passphrase="mypassword"), because there is no way to provide it when the operation is running.
Duplicati stores the complete path for each file and folder and it expects a complete path as input for operations like purge. Wildcards are allowed.
Replace unwanted_file.txt with "*/unwanted_file.txt" (including double quotes).
I am reanimating this old thread. I have the same message which I also do not unterstand so instead of a new thread I think it makes sense to continue this thread!
A backup set which is 3 or 4 years old with hundreds of versions and about 107k different files backuped.
Windows 10, Duplicati Version 2.0.6.3_beta_2021-06-17
If I browse the backup I have different folders and many, many different files. Now I want do purge Thunderbird Windows Index Files. These files are in folders called mozmsgs. So I made a Filter. A Regex .*mozmsgs.*
ErrorID: PurgeWouldRemoveEntireFileset
Refusing to purge 0 files from fileset with ID 1594, as that would remove the entire fileset.
To delete a fileset, use the “delete” command.
Does this mean that there is a version that only contains “mozmsgs” files and therefor I have to delete this version manually before I can use purge?
Weired is the message “purge 0 files”
Update 11.01.2023
One step further! I looked in the database and saw that FileSet 1594 is a fileset with no files! It is also listed with no files and no size
So I deleted version 18 with the delete command
Now re-run the purge with include="[,*mozmsg.*]" and it is now doing it’s job!