I would like to run an rsync job which connects to one server and backs everything up to another. These backups should be incremental and we don't want to delete any files.
Any ideas?
|
feedback
|
This question came from our site for professional and enthusiast programmers.
|
Check out rdiff-backup and duplicity. Both are for exactly what you want, duplicity also adds encryption layer. You can do this also with rsync alone, but then you are not saving old versions at all.
backups files from You can put commands to crontab with command
| |||
|
feedback
|
|
set something like this to run on a cron job and it'll make incremental backups with rsync via SSH:
azvr meaning archive, compress, verbose and go recursively into directories, plus this gives the option of running on a different port (which I had a hard time finding an answer to), plus it saves files on the backup that you later delete on the original | |||||||||||
feedback
|
|
You may want to look at backuppc which will do rsync backups. It can be configured for incremental and full backups. After the first backup, transfers are incremental. There is a good web-based interface for querying status, backups, and doing recoveries. | |||
|
feedback
|
|
rsync have many powerfull options. check this link Example:
Don'f forget to create SSH keys. | |||
|
feedback
|