Hi. I have just started using rsync and have a problem already.
Am having a problem already...
Am trying to back up the system disk on linux box A to a disk on linux
box B.
I run the following script on A:
===========
# The name of the backup machine
BACKUP=B
# List of directories to backup from orion1:
LIST="boot root var etc dev misc tmp lib usr bin sbin home mnt opt clas
e852"
# options
OPTS="-x --verbose --checksum --archive"
for d in $LIST; do
rsync -e ssh $OPTS /$d/ $BACKUP:/orion1_backup/$d/
done
===========
Well, rsync starts out running but it gets "hung" on some directory or
file and I have to do a ctrl-c out of it. There are no error messages.
I also can't run rsync if I mount B:/orion1_backup on A, changind the
rsync command to
rsync $OPTS /$d/ $BACKUP:/orion1_backup/$d/
Is there any other way to bypass the 'typing of the root's passwd on B'
so I could have this script
run as a cron job ever day?
thanks for any help,
mina