- Difficulty: Easy
- Application: Backups
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 jono@192.168.0.2:/home/jono/importantfiles/* /home/jono/backup/
Here we are backing up all of the files in /home/jono/importantfiles/
on 192.168.0.2 to /home/jono/backup on the current machine.
No comments:
Post a Comment