I want to be able to do two things together:
-- transfer files from the source to destination only if the files'
contents is changed
rsync -avr
Consider: -W -x --delete --delete-excluded --log-format='%i %f'
Use --dry-run when testing for the right configuration to avoid data loose.
-- when the
Do I have to tell rsync what the username and
password is for the remote IBM?
Yes, one way or the other.
Append -e ssh -l root
or if you have an identity key, so you won't have to type password (this
is copy/paste from a previous bug repport)
-e ssh -i /root/.ssh/rsync/id_dsa -l root
Are you
This should solve your back up needs.
rsync -avrW --delete G4-SOURCE IBM-DESTINATION
--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
From what I understand, doesn't the -a option
mean to archive?
Yes, in the sence that file permissions are transfered aswell, so the
destination files are exact the same as the source files. It doesn't
mean that the files are being zip, rar, gzip packed or anything like that.
We don't want to
I'll check out all the options and do some
testing, and let you know my results.
If you use the --dry-run, rsync will act exactly like a back up is being
done, but no data is transfered or altered in anyway. So you can try
all sorts of crazy things without risking data =)
Try also the
Yes,
We would want to overwrite the older file
on the IBM server, to match the updated version
on the G4.
This is possible, but I haven't tried that.
I guess I mis-understood the -a option
:)
Sort of=)
Does rsync need to be installed on both servers to work?
I don't know what is the best way,
Hi,
I use rsync to back up my local disk to another local disk, and I do it by:
rsync -avRxn --delete /home/amd /mnt/backuphome |less
rsync -avRx --delete /home/amd /mnt/backuphome
by using -n and |less can I review the files that are going to deleted
and copied/overwritten.
Does anyone if