rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[rdiff-backup-users] logarithmic scheduling


From: Rainer Zocholl
Subject: [rdiff-backup-users] logarithmic scheduling
Date: 12 Dec 2004 22:17:00 +0100

Hello

a simple question:

(How) Is it possible to make "logarithmic backups"?
I only se a way to delete "all older" backups,
but no way to "migrate" and keep -some- old backups.

I don't know the right term, so in other words:

backups should run "unattended"
Every hour a shot is done.
That hourly shots should be kept only for 48 hour
At the third day
one of those 24 shots (say one of 23:00 ) should
be kept as "day 0..7", all other "hourly" should be deleted.
After a week fridays shot should be kept as "week 1", 
while all other "days" older than 7 days should be deleted.
After 4/5 weeks the last "week" of the previous Months
should be renamed to "month x", and all other deleted.
After 12 month the last backup of december should become "Year xxx"
After 5 years all older year backups should be deleted.

So when the System has run a longer time:

xx hourly backups of the current day (x depending on current time)
24 hourly backups of yesterday
 x daily backups of the current week (x depending on current day of week)
 7 daily backups of the previous week
 x weekly backups of the current month (x depending on current week of month)
 4/5 weekly backups of the previous month
 x  montly backups of the year  (x depending on current month)
12 montly backups of previous year
 5 yearly backups 
__
giving 5+12+11+5+4+7+6+24+23= max. 97 backup sets
and never more. (Wortscase the "backups" would
need 100 time the original data space. But this
would only happen if every hourly shot finds all files
as entirely new.


Can this be done with rdiff-backup ?
Or what tool can be used?







Rainer





reply via email to

[Prev in Thread] Current Thread [Next in Thread]