Apr
29
Posted on 29-04-2008
Filed Under (Dedicated Website Hosting) by bodhost

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.

Post to Twitter Tweet This Post

Comments Off    Read More   

Comments are closed.