Hello,
I have a couple of questions about how duplicacy prune
works cause it is not clear from the --help
.
-
When I run
duplicacy prune -keep 30:30
then it will remove all snapshots that are older than 30 days except one for each 30days period, sure. But what about snapshots newer than 30 days? Will they be removed or kept as is? -
What happens when I run
-keep
together with-a
? Let’s say I have one revision in snapshot ID 1 then is 30+ days old, and one in snapshot ID 2 also 30+ days old, and I use-a -keep 1:30
. Will this keep one revision per snapshot ID or will one of these get removed? -
Which revisions are kept by
-keep
oldest ones or newest ones? What I mean by that is let’s imagine, that I have run backup every day for a whole year 2023. So I have 365 revisions and I runduplicacy prune -keep 31:31
on new year 01.01.2024. Which revisions will be kept?
01.01.2023
01.02.2023
04.03.2023
…
or
…
29.09.2023
30.10.2023
30.11.2023
-
How can I delete a snapshot ID completely? Let’s say I have two machines and I assign each one different snapshot ID. But later I get rid of the second machine so it will never run any backups again and I don’t need its snapshots anymore. But the snapshots are still in the backup. Can I remove them including the very last one? Is it safe, and if so, how? I don’t see anything like
duplicacy prune -id ID -delete_completely
-
Similar to no 4 above. Can I rename snapshot ID? If so, how?