I have a neat little backup script that gives me an exact snapshot of specified directories without reusing space for files that haven't changed (based on Easy Automated Snapshot-Style Backups with Rsync).
But I haven't set it up as a cron job - I have to remember to run it manually - because I haven't worked out what happens if my computer is off at the scheduled time.
I use a notebook. I suspend it overnight (and I hibernate it while travelling to and from work). So at any time when I'm not using it, it's likely to be off. How do you handle scheduling backup jobs to run in idle time when there isn't any idle time? Or in some other way avoid the backup job suddenly impacting your performance?
Maybe I should just do an hourly run with nice and ionice. Or maybe there's a solution involving prompting: "run today's backup now" ... "you have not backed up for 6 days!" etc.
But I haven't set it up as a cron job - I have to remember to run it manually - because I haven't worked out what happens if my computer is off at the scheduled time.
I use a notebook. I suspend it overnight (and I hibernate it while travelling to and from work). So at any time when I'm not using it, it's likely to be off. How do you handle scheduling backup jobs to run in idle time when there isn't any idle time? Or in some other way avoid the backup job suddenly impacting your performance?
Maybe I should just do an hourly run with nice and ionice. Or maybe there's a solution involving prompting: "run today's backup now" ... "you have not backed up for 6 days!" etc.
Comment