Un script interesante para hacer backups.
href="http://linux.slashdot.org/linux/05/01/13/1745226.shtml?tid=198&tid=106">Slashdot | Backing Up is Hard to Do?: " if [ `df |grep /media/BACKUP |wc -l` == '0' ]
then
echo Backup drive not mounted, skipping procedure
exit 2
fi
cd /media/BACKUP
nice -n 10 rsync -va --exclude-from=/root/exclude $1 $2 $3 $4 $5 / .
where /root/exclude contains:
/mnt
/proc
/tmp
/udev
/sys
/media "
No comments:
Post a Comment