Help With Restoring

mhanze at mhanze at
Thu Jan 9 03:09:01 EST 2003

Hi All, 

        I have been using rsync to backup to a central server with a 7 day 
incremental script on 2 Redhat boxen. 

DAY=`date +%A` 
export PATH DAY 

[ -d /root/emptydir ] || mkdir /root/emptydir 
rsync --rsh=/usr/bin/ssh --delete -a /root/emptydir/ 
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_SERVER_FQDN/$DAY -a /* 
CENTRAL_SERVER_IP:/backup2/BACKED_UP_SERVER_FQDN/current && echo "Daily 
backup ran on `date`" >> /var/log/backup.log 

# End Script 

This has been working fine and I've even been able to restore files using 
scp from time to time. now I'm faced with a bare metal recovery cause of a 
botched upgrade from Redhat 7.1 to 8.0 that failed half way through. This 
machine was still accessible via console and ssh (putty). I signed in via 
ssh and ran... 

# cd / 
# scp -r CENTRAL_SERVER_IP:/backup1/BACKED_UP_SERVER_FQDN/current/.* . 

This was running for a while and then i lost my connection and cant 
reconnect. I won't have console access till the morning but any advice 
would be greatly appreciated. 


Mark E. Hanze
IT Solutions Consultant
-------------- next part --------------
HTML attachment scrubbed and removed

More information about the rsync mailing list