vamsi_uk
asked on
Comparing directories on different servers
Hi, I just wanted to know if i use rsync to synchronize two directories on two different servers.. for example server1:/export/home and server2:/export/home, how can i do that.
thank you
vamsi
thank you
vamsi
ASKER
I have put rsync command to run everynight at 2AM and kill it at 8AM, and i wanted to check how much it has got synchronized between the two servers. So i thought i need to compare both the directories to see how much data got synchronized.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks tintin
To synchronize, do
rsync -a --delete /export/home/ server2:/export/home
to compare, do
rsync -na --delete /export/home/ server2:/export/home