SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
option to preserve every nth backup older than a certain age
Author Message
Post option to preserve every nth backup older than a certain age 
Hi,

Version: 1.2.8

Maybe rdiff-backup could get an option so that it would skip
deleting certain backups, even if they're too old. My theory is
that I'd like to keep daily backups for the last 60 days, but
anything older than that should be a monthly backup.

So if I backed up on 31 May, I would have backups for every day
since April 1. When I back up on 1 June, it would *not* delete the
backup for 1 April. If I back up on 2 June, it would delete the
backup on 2 April. This way, the back up from 1 April stays around
forever (until I manually delete it).

Wish by: martin f krafft <madduck < at > debian.org>
Wish: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=370359

Bye,
--
Carl Chenet





_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users < at > nongnu.org
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Post option to preserve every nth backup older than a certain age 
Version: 1.2.8

Maybe rdiff-backup could get an option so that it would skip
deleting certain backups, even if they're too old. My theory is
that I'd like to keep daily backups for the last 60 days, but
anything older than that should be a monthly backup.

The problem is that previous backups are not self contained - that
is, to restore a backup from 1 April rdiffbackup needs to apply the
diffs from ALL of the backups that were made after it. You just
can't delete intermediate backups without making your earlier
backups inaccessible.

Remember, each backup only contains the differences from the
next one, not the entire file. The only way this sort of scheme could
be implemented is if the diffs of backups to be deleted were
combined into the backups to be saved. In the majority of cases
this would not result in any saving of space and so is pretty
pointless.

A way to achieve what you want is to run two backup archives.
One archive is backed up daily and purges backups older than 30
days. The second archive is backed up once a month. You will
probably find though that the size of your monthly backups is
similar to the combined size of the month's worth of daily backups.

What would be more useful is if rdiffbacjup could list every backup
in which a specified file changed so you didn't need to go searching
through numerous daily backups to find when it changes.


Dean



_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users < at > nongnu.org
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Post option to preserve every nth backup older than a certain age 
On Wed, 16 Sep 2009, Dominic Raferd wrote:

Dean Cording wrote:
What would be more useful is if rdiffbackup could list every backup in
which a specified file changed so you didn't need to go searching through
numerous daily backups to find when it changes.

rdiff-backup --list-increments /mnt/backup/path/to/file

Cheers, Chris.
--
_____ __ _
\ __/ / ,__(_)_ | Chris Wilson <chris+sig < at > qwirx.com> Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Ruby/Perl/SQL Developer |
\__/_/_/_//_/___/ | We are GNU : free your mind & your software |


_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users < at > nongnu.org
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB