README (rsync-backup-0.10) | : | README (rsync-backup-0.11.tar.bz2) | ||
---|---|---|---|---|
skipping to change at line 16 | skipping to change at line 16 | |||
### INSTALL ### | ### INSTALL ### | |||
Unpack the archive, copy rsync-backup.conf.sample to /etc/rsync-backup.conf | Unpack the archive, copy rsync-backup.conf.sample to /etc/rsync-backup.conf | |||
and copy rsync-backup.sh to /usr/bin/rsync-backup.sh (or any location you | and copy rsync-backup.sh to /usr/bin/rsync-backup.sh (or any location you | |||
like). Put the right parameters in /etc/rsync-backup.conf and add a line | like). Put the right parameters in /etc/rsync-backup.conf and add a line | |||
like the following to /etc/crontab: | like the following to /etc/crontab: | |||
30 4 * * * root /usr/bin/rsync-backup.sh | mail -s "Cron <`uname -n`> bac kup" root & | 30 4 * * * root /usr/bin/rsync-backup.sh | mail -s "Cron <`uname -n`> bac kup" root & | |||
If you want only a mail in case of error, and an update to nagios about the back | ||||
up result, use the following instead: | ||||
30 4 * * * root /usr/bin/rsync-backup-wrapper.sh | ||||
### DEINSTALL ### | ### DEINSTALL ### | |||
Undo the above. | Undo the above. | |||
### STRUCTURE ### | ### STRUCTURE ### | |||
Rsync-backup is meant to be run from cron. You have to enable keyed login | Rsync-backup is meant to be run from cron. You have to enable keyed login | |||
to your backup server, so it can run without human interaction. The script | to your backup server, so it can run without human interaction. The script | |||
is capable of running only once per day. It is not a problem to run it less | is capable of running only once per day. It is not a problem to run it less | |||
often, but keep in mind that the daily backups are not daily. Weekly and | often, but keep in mind that the daily backups are not daily. Weekly and | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 5 lines changed or added |