Linux/Unix Administration

Unix/Linux:How to use rsync: to synchronise 2 servers. [& ssh no password]

scp does not provide an option to "Not-Overwrite" a file if already exists on the destination server. So finally I implemented the rsync, its very simple and straigt forward.

This can be used mainly when you want to take incremental backup of filesystems or keep servers in sync etc. With a simple wrapper, this can be setup a a cron job as well.

Prerequisites:

Syndicate content