Using rsync to copy files from one server to another
if you need to move a lot of files such as moving your website to a new server, rsync via ssh is a super simple way to accomplish the task:
If you need to move a lot of files such as moving your website to a new server, rsync via ssh is a super simple way to accomplish the task:
(execute on the new server)
#rsync -av -e ssh username@oldserverhost:/home/old_home/ /home/new_home/
Note : This will prompt for password of the old server.
Ignore the “v” parameter (verbose) if you do not wish to see the progress.
Thats it!!!!! 🙂
Leave a Reply