rsnapshot intervals in configuration file...
Posted
by
Patrick
on Server Fault
See other posts from Server Fault
or by Patrick
Published on 2011-01-08T13:31:19Z
Indexed on
2011/01/08
13:55 UTC
Read the original article
Hit count: 258
rsnapshot
A simple question about rsnapshot.
In order to perform daily backups I'm going to add lines to cron in my Ubuntu.
Then, why do I have also these lines in the rsnapshot.conf ?
#########################################
# BACKUP INTERVALS #
# Must be unique and in ascending order #
# i.e. hourly, daily, weekly, etc. #
#########################################
interval hourly 6
interval daily 7
interval weekly 4
#interval monthly 3
If I use cron, should I disable them ? thanks
ps. I've just realized that in the crontab I still have "hourly" and "daily". Should I then uncomment only the one I use in the crontab ? And what's the point to specify hourly if it is already specified in cron ? I'm a bit confused.
# crontab -e
0 */4 * * * /usr/local/bin/rsnapshot hourly
30 23 * * * /usr/local/bin/rsnapshot daily
© Server Fault or respective owner