Backup your website easily
by Sanju[ Edit ] 2009-12-15 13:13:26
Backup your website easily
If you want to back up a directory on a computer and only copy changed files to the backup computer instead of everything with each backup, you can use the rsync tool to do this. You will need an account on the remote computer that you are backing up from. Here is the command:
rsync -vare ssh raj@192.168.0.2:/home/raj/importantfiles/* /home/raj/backup/
Here we are backing up all of the files in /home/raj/importantfiles/ on 192.168.0.2 to /home/raj/backup on the current machine.