Saturday, May 7, 2011

How to Transfer Data from linux machine to another Linux machine using "rsync"

Rsync
rsync is a program that behaves in much the same way that rcp does, but has many more options and uses the rsync remote-update protocol to greatly speed up file transfers when the destination file already exists.
The rsync remote-update protocol allows rsync to transfer just the differences between two sets of files across the network link, using an efficient checksum-search algorithm described in the technical report that accompanies this package.

Example

Lets you want to transfer files i.e abc.txt  def.txt which is place in the followoing location  /home/abc of 116.58.41.169 to /home/ali of  111.68.102.118

1) Go to the Source server directory i.e /home/abc of  116.58.41.169
2)  rsync -vrplogDtH  ishtiaq root@111.68.102.118:home/ali




No comments:

Post a Comment