linux poison RSS
linux poison Email

How to use rsysnc to keep files in Sync Between Servers

Suppose remote computer is “192.168.1.171″ and has the account “don”. You want
to “keep in sync” the files under “/home/Logs” on the remote computer with files on “/home/nikesh/Server” on the local computer.

$ rsync -Lae ssh don@192.168.1.171:/home/Logs /home/nikesh/Server

“rsync” is a convient command for keeping files in sync, and as shown above, it will work
through ssh. The -L option tells rsync to treat symbolic links like ordinary files.

Also see [http://www.rsnapshot.org/]


0 comments:

Post a Comment

Related Posts with Thumbnails