This kind of redundancy is encouraged to protect potential loss of important data, such as essential website programs and databases.
After installing rsync on all peer hosting servers you own, you can easily backup stuff and synchronize them among the servers for a safe data redundancy.
rsync -e 'ssh -p 25000' -avl --delete --stats --progress [email protected]:/home/user1 /backup
This simple command will take care of everything for you, the rsync command connects to the remote server 22.214.171.1240 as user1 and backups or synchronizes everything in /home/user1 from the remote server to the local directory /backup. The –delete switch indicates that files that previously existed at /home/user1 on the remote server but not now will be also deleted in /backup at the local server.
‘ssh -p 25000’ prescribes rsync to connect via SSH on port 25000.