Hi,
I’m currently configuring Duplicacy to backup my unRAID server. I’m planning on running an Appdata backup every 12 hours and a Userdata backup every 2 hours. Ideally, I’d like to keep all backups/revisions for the first 60 days, then move to a 1 per day format for the next 6 months after. After those 6 months lapse, I’d like to keep 1 backup per week until 1 year where everything after is deleted. I’d like to follow this structure for both backup jobs.
I’ve configured separate backup storage for each job to make pruning easier in the scheduling. -keep only handles 1 revision every day. I’m struggling to find the best combination to achieve my retention policy, as for the first 60 days, I’ll be creating a total of 14 revisions a day. (12 on Userdata and 2 on appdata).
Any help and advice would be greatly appreciated!
EDIT: I think I’ve been looking at this wrong. I believe Duplicacy should keep all revisions UNLESS explicitly told not too? I’ve ended up with -keep 0:365 -keep 7:240 -keep 1:60 -a
Which I assume means the following
Since everything is pointed at backups older than 60 days, anything less should auto be kept.
Keep 1 revision each day for backups older than 60 days. (Day 61-240 | 6 months)
Keep 1 revision every 7 days for backups older than 240 days (Day 241-365 | 4 months)
Hopefully this is correct!