Displaying 1 result from an estimated 1 matches for "backed_up_server_fqdn".
2003 Jan 09
2
Help With Restoring
...rsync to backup to a central server with a 7 day
incremental script on 2 Redhat boxen.
#!/bin/sh
PATH=/usr/local/bin:/usr/bin:/bin
DAY=`date +%A`
export PATH DAY
[ -d /root/emptydir ] || mkdir /root/emptydir
rsync --rsh=/usr/bin/ssh --delete -a /root/emptydir/
CENTRAL_SERVER_IP:/backup2/BACKED_UP_SERVER_FQDN/$DAY
rmdir /root/emptydir
rsync --delete --stats --compress --recursive --times --perms --links
--rsh=/usr/bin/ssh --exclude "tmp/" --exclude "dev/" --exclude "proc/"
--exclude "backups/ " --delete-excluded --backup
--backup-dir=/backup2/BACKED_UP_SERVE...