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

Basically, I'm searching for a rdiff-backup that can be safely interrupted (network disconnection, computer switch off, sleep), and that can develop scheduling strategies to in order to avoid interruptions (nonetheless).

Scheduling strategies would analyze computer boot and shutdown to extract patterns, to start the backups at times where the computer will be likely awake enough for the backup to complete, and maybe extract usage pattern and avoid intense usage periods (like the minutes after the boot completed).

This is complex software, and with a solution that wont be perfect, but i wonder if something like this exists, or if a combination of tools (rdiff-backup + statistical scheduling) could lead me to something similar.

share|improve this question
This seems like a very narrow use for a backup solution. The requirements are too specific. – ewwhite Jun 27 '11 at 19:00
up vote 1 down vote accepted

I doubt there's an off the shelf solution out there. If you're willing to write some code you might be able to adapt an existing tool.

BackpPC has some interesting options for scheduling backups. I've never used it but have heard good things. Its bigger and more complex than rdiff-backup but it might be an option for you.

As for your requriements:

can be safely interrupted (network disconnection, computer switch off, sleep)

You could try combining rsnapshot with some alternative cron like fcron which is cron designed for computers not up 24/7 so you can be sure a 'daily' cron job will be run once a day even if the computer isn't up when the 'cron.daily' jobs are normally run.

that can develop scheduling strategies to in order to avoid interruptions (nonetheless)

You could write script to keep track of stuff like this, which could then modify the cron job for your backup so it will run in the desired time frame.

fcron also has some options about running only when something is below a certain load.

share|improve this answer
Thanks for the great informations, that will give me a good start. – Valise Jun 28 '11 at 9:03

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.