[Dirvish] How to keep monthly backups
paul at debian.org
Mon Jan 25 18:13:48 UTC 2010
On Mon 25 Jan 2010, Przemek Klosowski wrote:
> > >
> > >> *How would one retain monthly backups from the LAST day of each month?
> > Not all months have 31 days.
> > >>
> > >
> > > # MIN HR DOM MON DOW STRFTIME_FMT
> > > * * 31 * * +1 year
> > > * * 30 4,6,9,11 * +1 year
> > > * * 28 2 * +1 year
> Won't that set 1 year expiration for both April 30 and April 31 backups?
When April happens to have 31 days, having two backups will be the least
of our problems :-)
More information about the Dirvish