In order for rsnapshot to run properly, it appears that the various kinds of backup need to be invoked in reverse order of frequency. From the HOWTO:
It is usually a good idea to schedule the larger intervals to run a bit before the lower ones. For example,
in the crontab above, notice that daily runs 30 minutes before hourly. This helps prevent race conditions
where the daily would try to run before the hourly job had finished.
However my anacrontab, as it comes from the box, runs jobs with shorter intervals first. From my anacrontab:
#period in days delay in minutes job-identifier command
1 5 cron.daily nice run-parts /etc/cron.daily
7 25 cron.weekly nice run-parts /etc/cron.weekly
< at > monthly 45 cron.monthly nice run-parts /etc/cron.monthly
Anacron is invoked with the "-s" argument, so that these jobs run sequentially. A little inspection of the logs shows that, in fact, the jobs are run in this order: daily, weekly, monthly.
Some questions:
- Will anacron run properly if jobs are run in order of frequency? I think it wouldn't.
- Is there some way (arguments, etc) to make it run properly?
- Is there an harm that would come from reversing the order of commands in anacrontab?
Also, is there any easy way to search the mailing list archive? There doesn't seem to be a search box on the archive page.
Thanks - jon
