Saturday, July 27, 2013

Rsync Remote Copy Example

Rsync is a utility available in linux which will help you to copy a file,folder (including sub folder) from a server to remote server . Rsync uses a quick and reliable algorithm to very quickly bring remote and host files into sync. Rsync is fast because it just sends the differences in the files over the network (instead of sending the complete files).

Below example  shows that to copy "app" folder from server1 to server2
--------------------------------------------------------------------------------------

[root@server1:/oracle]rsync -avz -e ssh app root@server2:/oracle/app

No comments:

Post a Comment