> On Sunday 03 December 2006 16:18, Jerônimo Backes wrote: > > > rdiff-backup. I've been using it for a couple of years and it does > > > just what you need. it also keeps old versions so you can roll back > > > in the event of a mistake. > > > > Man, that's almost what I need. Is there a way to make this script > > execute automatically after some time interval?
Just run it from cron. I backup /home and /etc from cron.hourly and /usr etc from cron.daily. > > > You could use find to generate a list of files changed n the last > > > two hours, pass this list to tar - it has an option to accept a > > > list of files to archive on stdin - and then mail this to your > > > backup account. > > > > Ok, I can make a script doing that. But what can I use to send the > > file to my e-mail adresses? And what to do to make that script run > > periodically? cron again. You could use nail or mutt to mail it, nail looks a suitable choice for a script. -- Neil Bothwick There is absolutely no substitute for a genuine lack of preparation.
signature.asc
Description: PGP signature