efficient_backups_with_rsnapshot
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| efficient_backups_with_rsnapshot [2010/07/06 12:25] – tkbletsc | efficient_backups_with_rsnapshot [2026/02/21 08:58] (current) – tkbletsc | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Efficient backups with rsnapshot ====== | ====== Efficient backups with rsnapshot ====== | ||
| - | (I need to write a full article here, but I don't have time now. | + | Basically, |
| - | reminder: on debian/ | + | Reminder: on debian/ |
| - | ===== Backing | + | To restrict the ability of the client to access or even change files on the server being backed |
| - | Normally, all you'd need to do to make the server back up Windows hosts is to install Cygwin with SSH and rsync and set up SSH keys as normal. | ||
| - | So we'll set up **rsyncd**, the dedicated rsync service. | ||
| - | |||
| - | First, install Cygwin with rsync and anything else you might like. | ||
| - | |||
| - | Second, set up rsyncd as a service: | ||
| - | |||
| - | $ cygrunsrv --install " | ||
| - | |||
| - | Third, set up ''/ | ||
| - | |||
| - | < | ||
| - | uid = nobody | ||
| - | gid = nobody | ||
| - | use chroot = no | ||
| - | max connections = 4 | ||
| - | syslog facility = local5 | ||
| - | pid file = / | ||
| - | read only = true | ||
| - | hosts allow = < | ||
| - | |||
| - | [root] | ||
| - | path = / | ||
| - | auth users = < | ||
| - | secrets file = / | ||
| - | </ | ||
| - | |||
| - | Populate the user list ''/ | ||
| - | |||
| - | < | ||
| - | < | ||
| - | </ | ||
| - | |||
| - | Then, on the backup server, create a file ''/ | ||
| - | |||
| - | < | ||
| - | < | ||
| - | </ | ||
| - | |||
| - | Now you can add backup lines to your rsnapshot.conf as follows: | ||
| - | |||
| - | backup rsync://< | ||
| - | |||
| - | The < | ||
| - | |||
| - | If you want to back up something like your Firefox profile that will have certain files locked, exclude those files. | ||
| - | |||
| - | backup rsync://< | ||
| - | |||
| - | Remember that you don't need to escape spaces, since fields in this line are tab-separated. | ||
efficient_backups_with_rsnapshot.1278444344.txt.gz · Last modified: by tkbletsc
