laurent22 / rsync-time-backup

Time Machine style backup with rsync.
3.36k stars 443 forks source link

How to adjust expiration --strategy #231

Open hazelra opened 3 years ago

hazelra commented 3 years ago

I'm confused about the correct format for the expiration strategy. I want the same as the default config except I want one backup per day for 60 days. I tried this command, but it didn't work. --strategy "1:1 60:7 365:30"

AdamAnon commented 11 months ago

I was also wondering about how to set up the backup strategy. I want to keep all backups for the first 30 days and then 1 backup per day until destination is full. Would that be --strategy 30:1?