Brian Kendall
2008-08-21 21:26:56 UTC
I'd like to configure rsnapshot so that when my backup drive doesn't have
enough space to complete a backup, it'll delete the oldest monthly backups
until enough space is available. (This is very similar to the behavior of
Time Machine in Mac OS X.) It doesn't seem like there's an option to do
this built into rsnapshot, so does anyone have any ideas on how it could
be accomplished?
I was thinking I could create a pre-backup script that checked available
space and deleted the backups, but I'm not altogether sure of how to do
that in Linux. Does such a script for that already exist out there
somewhere for rsnapshot? If not, what's the easiest way to go about
accomplishing this?
thanks in advance,
- Brian
brian @at@ anzovin .dot. com
enough space to complete a backup, it'll delete the oldest monthly backups
until enough space is available. (This is very similar to the behavior of
Time Machine in Mac OS X.) It doesn't seem like there's an option to do
this built into rsnapshot, so does anyone have any ideas on how it could
be accomplished?
I was thinking I could create a pre-backup script that checked available
space and deleted the backups, but I'm not altogether sure of how to do
that in Linux. Does such a script for that already exist out there
somewhere for rsnapshot? If not, what's the easiest way to go about
accomplishing this?
thanks in advance,
- Brian
brian @at@ anzovin .dot. com