rsnapshot will work better if monthly is done before weekly, weekly
before daily and daily before hourly.  

For example, if you run "rsnapshot daily" then "rsnapshot weekly", 
then you will end up with no daily.6 snapshot, and a snapshot will 
be unnecessarily deleted (assuming the default rsnapshot.conf). 

The daily will delete the old daily.6, rotate the daily snapshots up and
promote hourly.5 to daily.0; then the weekly will delete weekly.3,
rotate the weekly snapshots up and promote daily.6 to weekly.0.  If
rsnapshots are run in the other order, then daily.6 won't be deleted
(because it will instead have been promoted to weekly.0).

This is why /etc/cron.d/rsnapshot (if lines are uncommented) 
runs monthly before weekly, weekly before daily, and daily 
before hourly.

You also would not want to run multiple rsnapshots at the same time.
(@hourly, @daily, @weekly, @monthly and @yearly all run at midnight.)

Also note that (with the default rsnapshot.conf) hourly is intended 
to run 6 times per day (that is, every 4 hours), not every hour.

Hopefully this gives a good explanation to Jon about why the cron
definitions are as they are and why built-ins are not used.

There is some more documentation on this in the rsnapshot(1) man page, 
under USAGE, http://www.rsnapshot.org/rsnapshot.html#usage .  And at
http://www.rsnapshot.org/howto/1.2/rsnapshot-HOWTO.en.html#automation

So I would recommend that neither of the patches are applied.
I probably also suggest just to close this bug.

-- 
David Keegel                    Loyalty Pacific Pty Ltd
IT Systems Administrator        Level 4, 800 Toorak Rd
Tel: 03 8608 7726               Glen Iris Vic 3146




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to