  gquiring I Did It My Way Premium join:2001-04-07 Matawan, NJ
| reply to joako Re: Linux Backup Script
This is what I use to backup my RH server:
DESTDIR="/u/backups/mail" DESTSERVER="dev1" LIST="/usr/local/bin/backup.list" DOW=`date +\%a`
echo "Start: `date`" tar -czf - --files-from $LIST|ssh $DESTSERVER "cat > ${DESTDIR}/mail_${DOW}.ztar" echo "End: `date`"
DESTDIR is where it's located on the 'other' server DESTSERVER is the 'other' server LIST is a a flat text file of what to backup
Files are compressed in tar format. |