How to make Backup with rsync
To backup a directory-tree from another system, rsync and ssh combine to a great tool.To backup a remote directory-tree to a local directory, use the following command given below:
rsync -avz -e ssh user@remote_host:/path/to/dir localdir
This command will copy the directory-tree under /path/to/dir on the remote host remote_host to your local host under localdir.
rsync has to be installed on both hosts, as well as ssh.



















