Other Monthly, weekly, daily backups all on the same day

This past Sunday, February 1st, was the first day of the week and the first day of the month. Which means I had a daily, weekly and monthly backup due. I always felt strange about that because you are wiping out all chance of recovering something older. What do you guys do?
 
The first day of the week is Monday [1]. That is, day '1' in cron is monday - but it accepts the (bogus for dates) '0' instead of '7' for Sunday.
'@weekly' for some reason defaults to sunday (0) (see crontab(5)), which per definition by standards is simply wrong.

But regarding your actual question:
Do you keep just one of each (daily/weekly/monthly) snapshots/backups? This is definitely bound to bite you - usually monthlys are kept around for (much) longer, depending on the type of data. We keep 12 monthly snapshots of the datasets that hold e.g. the data from our main 'business-specific platform' (i.e. pretty much anything runs over that software) and 6 monthlies are kept from our fileserver.
Daylies and hourlies are also varying depending on their contents and how fast it changes; but we never wipe whole eras of snapshots or backups by a single date, they are all rotated by age and their specific 'hold-time'. (-> FIFO)
This is the easiest scheme anyways if working with zfs-based snapshots e.g. via filesystems/zfsnap2


[1] https://en.wikipedia.org/wiki/ISO_8601
 
Back
Top