Program to do backups

Julius Smith julius.smith at gmail.com
Mon Sep 5 03:06:16 UTC 2005


For backups, I like incremental mirroring (using rsync) from disk to disk on 
a daily basis. Under Linux, every night at 3am, a cron job runs the 
following backup script: 

 #!/bin/csh -f
# This file goes in /etc/cron.daily/
# The following link must be set up in /:
setenv BKP /bkp/
# mirror-like bkp for all evolving Linux partitions:
rsync -a /etc /home /root /usr/local $BKP

To arrange this, I merely added the script to /etc/cron.daily/. The 
directory /bkp/ is a link to a separate backup drive.

I use a similar script to back up to another computer over the Net, where 
the rsync line is instead

rsync -e /usr/bin/ssh -rlptvvuz <dirs> <remotehost>:~/ | \
perl -e "while (<>) { print unless m/uptodate/ }"

With all this mirroring, I only need to make DVDs/CDs when I want to move 
something offline.

Julius

On 9/3/05, Paul Smith <phhs80 at gmail.com> wrote:
> Dear All
> 
> I am looking for a nice program to make backups from the relevant
> directories on my hard disk to a dvd+rw. Any suggestions?
> 
> Thanks in advance,
> 
> Paul
> 
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20050904/fcbc6671/attachment-0001.htm>


More information about the fedora-list mailing list