Time for some backups
Roger Beever
roger2 at rogernet.net
Sat Mar 13 02:01:20 UTC 2004
On Sat, 2004-03-13 at 01:28, Ed Wilts wrote:
> On Sat, Mar 13, 2004 at 12:35:30AM +0000,
> Here's my crontab entries:
>
> 50 10,12,14,16,18,20 * * * root rsnapshot -q hourly
> 30 9 * * * root rsnapshot -q daily
> 50 9 * * sun root rsnapshot -q weekly
> 10 10 1 * * root rsnapshot -q monthly
>
> My intervals in rsnapshot.conf are as follows:
> interval hourly 6
> interval daily 7
> interval weekly 4
> interval monthly 3
>
> Also, rsnapshot handles the daily and weekly backups properly too. The
> daily is just the oldest hourly from yesterday - the snapshots just
> rotated through. I've got many "copies" of my data using very little
> disk. It just runs by itself and I don't have to babysit it.
> Occasionally rsync will spit out an error from files that are deleted in
> progress (usually mail temp files) and I just delete those messages.
That's clearer.
I had thought the process once started just continued in a shell.
What I had missed was it wanted a second root pw for the second line ans
was just waiting. Should have read to the end of the howto I'd have
noticed the crontab part and realised.
I now realise that every time I do "rsnapshot hourly" I get a one shot.
For my current needs I just need to script it to make it easy to run
from a single command and crontab it when I'm a bit better organised.
At the moment I just need to run it before shutting down the
workstation.
Also it sounds like you are pushing the backups to your backup machine,
whereas I elected to pull to the workstation from the mail server.
Regards Roger
More information about the redhat-list
mailing list