Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have to following configuration.


interval        halfhourly      4
interval        hourly  6
interval        twohourly       12
interval        daily   7
interval        weekly  4


0,30 * * * * /usr/bin/rsnapshot halfhourly >> /var/log/rsnapshot.halfhourly.log 2>&1
5 * * * * /usr/bin/rsnapshot hourly >> /var/log/rsnapshot.hourly.log 2>&1
10 */2 * * * /usr/bin/rsnapshot twohourly >> /var/log/rsnapshot.twohourly.log 2>&1
15 3 * * * /usr/bin/rsnapshot daily >> /var/log/rsnapshot.daily.log 2>&1
20 6 * * MON /usr/bin/rsnapshot weekly >> /var/log/rsnapshot.weekly.log 2>&1

Only halfhourly is running correctly now. hourly spits out this error:

rsnapshot encountered an error! The program was invoked with these options:
/usr/bin/rsnapshot hourly
ERROR: Lockfile /var/run/ exists and so does its process, can not continue

To me it seems like my 5 min space between halfhourly and hourly is too small. Is this configuration crazy? I like having backups every thirty minutes, that will probably save my ass some day.

Please help me make a decent backup schedule, that doesn't clog up the system, but creates frequent enough backups.

Thank you.

share|improve this question
up vote 1 down vote accepted

rsnapshot/rsync can take a while just trying to figure out what files changed. So it's not really a good solution for really quick snapshots unless you're not dealing with many files.

You may want to look at options from this question. Although I'm not sure that question has a definitive solution for you.

For fast snapshots you'll need to move to a block level snapshot using btrfs or LVM. Neither of those solutions are ideal as btrfs is still experimental and LVM's snapshots aren't that robust and have issues of their own.

share|improve this answer
datapoint: 9.6TB, 450,000 files, 51secs of 'startup' time for rsync – Javier Jan 12 '11 at 17:18

One issue with using rsnapshot for snapshot backups is that it does take some time to copy and link changed files. That will limit the frequency of backups as you have seen.

If you really want to make frequent snapshot backups, you should look at doing it at a lower level. I suggest checking out the snapshot facility built in to LVM. You will need to recreate your filesystem on top of an LVM volume but that will give you a more powerful lower-level snapshot tool you can run more frequently.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.