I want to configure the following:
- keep one backup per day for the last week
- keep one backup per week for the rest of the month (week 2-4)
- keep one backup per month for the rest of the year (month 2-12)
So, it should end up with backups of a particular VM on the following dates:
(I know, 1month != 4 week, but I hope you get the idea)
Jan 1
Jan 2
Jan 3
Jan 4
Jan 5
Jan 6
jan 7
Jan 14
Jan 21
Jan28
Feb 1
Mar 1
Apr 1
May 1
Jun 1
Jul 1
.
.
.
What would be the right settings?
last=21 (7 for the 1st week + 3 for the weekly of the rest of the 1st month + 11 for the monthly of the rest of the year)
hourly=null
daily=1
weekly=7
monthly=10 (7 for the 1st week + 3 for the weekly of the rest of the month)
yearly=21
Correct?
Cheers,
luphi
- keep one backup per day for the last week
- keep one backup per week for the rest of the month (week 2-4)
- keep one backup per month for the rest of the year (month 2-12)
So, it should end up with backups of a particular VM on the following dates:
(I know, 1month != 4 week, but I hope you get the idea)
Jan 1
Jan 2
Jan 3
Jan 4
Jan 5
Jan 6
jan 7
Jan 14
Jan 21
Jan28
Feb 1
Mar 1
Apr 1
May 1
Jun 1
Jul 1
.
.
.
What would be the right settings?
last=21 (7 for the 1st week + 3 for the weekly of the rest of the 1st month + 11 for the monthly of the rest of the year)
hourly=null
daily=1
weekly=7
monthly=10 (7 for the 1st week + 3 for the weekly of the rest of the month)
yearly=21
Correct?
Cheers,
luphi