|
How to synchronize data between two servers using rsync |
|
|
|
|
Rsync: rsync is an application used in unix systems which synchronize files and directories between two machines.rsync behaves like rcp(remote file copy),but it much faster than rcp.because rsync sends the differences in the files instead of sending entire files.
Servers are SERVER_SOURCE & SERVER_DESTINATION
Configure SSH key authentication
In SERVER_DESTINATION open sshd_config file vi /etc/ssh/sshd_config Then verify the following entries RSAAuthentication yes PubkeyAuthentication yes AuthorizedKeysFile .ssh/authorized_keys
save & exit Then restart ssh daemon /etc/init.d/sshd restart Then in SERVER_SOURCE, create a key pair for key authentication between two servers for ssh connection ssh-keygen -t rsa -b 4096 |
|
Read more...
|
|
|
|
|
|
|
|
Page 1 of 4 |