Subscribe to Mailing Lists     FAQFAQ    SearchSearch      Register  Log in to check your private messagesLog in to check your private messages    Log inLog in 
These forums brought to you by Backup Central, where we also have the Mr. Backup Blog, Mailing Lists, FAQs,
and Directories of Backup Software and Hardware
option to preserve every nth backup older than a certain age

 
Post new topic   Reply to topic    Backup Central Forums Forum Index -> Rdiff-Backup
View previous topic :: View next topic  
Author Message
Carl Chenet
Guest





PostPosted: Sat Sep 12, 2009 6:17 am    Post subject: option to preserve every nth backup older than a certain age Reply with quote

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
Back to top
Dean Cording
Guest





PostPosted: Wed Sep 16, 2009 12:53 pm    Post subject: option to preserve every nth backup older than a certain age Reply with quote

Quote:
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
Back to top
Chris Wilson
Guest





PostPosted: Thu Sep 17, 2009 3:57 pm    Post subject: option to preserve every nth backup older than a certain age Reply with quote

On Wed, 16 Sep 2009, Dominic Raferd wrote:

Quote:
Dean Cording wrote:
Quote:
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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Backup Central Forums Forum Index -> Rdiff-Backup All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group
Magic SEO URL for phpBB