[Dirvish] Backup strategy for a home computer

Dave Howorth dhoworth at mrc-lmb.cam.ac.uk
Tue Aug 29 08:40:31 UTC 2006


Johannes Kastl wrote:
...
> My biggest "problem" is that my computer is not running 24/7, so the
> different expire-Rules seem to be a bit more complicated.
> 
> What I know is that
> 
> - it normally runs once a day, so I will run dirvish at boot time, and
> I will get one backup per day
> - I would like to keep Backups made on sundays/mondays longer than others
> - I would like to keep one Backup of each month for 1 year
...
> And, how could I keep one backup per month for 1 year, if it is not
> sure that the machine is always running on the first day of the month?

Depending what OS you're running, you may have some cron script that 
specifically runs on the first of the month or as soon as practical 
afterwards (e.g. anacron, cron.monthly etc). You can run dirvish from 
such a script, with a different config file.

Another technique is to write a script that tests your monthly backup - 
perhaps just that it exists or perhaps some deeper test - and then runs 
dirvish if it doesn't exist. You can [try to] run that script every day.

HTH, Dave


More information about the Dirvish mailing list