Open UsefulVid opened 6 years ago
-keep 0:180 -keep 7:30 -keep 1:7
The order has to be from the eldest to the youngest! (hence 180 comes before 30 comes before 7).
I want to keep all revisions before 180 days duplicacy runs 3 times a day. this means in a week I have 21 revisions. 1:7 will delete 20 of them right?
1:7 will delete 20 of them right?
yep.
If you want all (LE. < 180 days) revisions then indeed, you need only -keep 0:180
great thanks!
I'm also interested in the answer of the second question:
Integrity Once a week I like to run a job which checks the integrity of my backup on an sftp server. if anything goes wrong with my backup will the check -a command alert me?
Is check -a/-stats enough for normal backups, non-SLA-99.9999%-certificates ? Or should we sporadically restore a random file to confirm? Has anyone ever got to a state where check would succeed but a restore wouldn't?
Prune I want to delete everything older then 180 days and keep everything newer 180 days
Will this do the job?
duplicacy prune -keep 0:180
Integrity
Once a week I like to run a job which checks the integrity of my backup on an sftp server. if anything goes wrong with my backup will the check -a command alert me?