For Wayne: Mondo Backups, on Ubuntu
Bob Elzer
bob.elzer at gmail.com
Thu Nov 27 10:10:20 MST 2008
Wayne, Here is my backup script, modify the variables to your specs and give
it a try.
--------------------------------------------------------
#!/bin/csh -fb
set comp=-3
set size=4480m
set saveto="/usr3"
set include="/"
set exclude="/usr3 /bkp /proc /sys /tmp"
set pre="mirage-backup-`date +%Y-%m-%d` "
cd $saveto
echo "." >> $saveto/zmondo.log
echo "`date` Mondo Backup Started - Compression: $comp, size: $size" >>
$saveto/zmondo.log
echo "mondoarchive -OiN $comp -s $size -d $saveto -p $pre -I $include -E
'$exclude' "
mondoarchive -OiN $comp -s $size -d $saveto -p $pre -I $include -E
"$exclude"
echo "`date` Mondo Backup Finished" >> $saveto/zmondo.log
-----------------------------------------------------------
More information about the PLUG-discuss
mailing list