On Wed, 9 Aug 2006, Ralf Gross wrote:
(...)
>> What would be really great to have is the possibility to ensure that I
>> have the last n revisions of files; no matter how many fulls or
>> incrementals.
(...)
>
> I also think this would be the job of a revision control system.

Or the job of a really smart backup system ;-).

(...)
>> Any pointers, good ideas, work-arounds or whatever is of course
>> appreciated. Thanks in advance!
>
> How will you ensure that a file has not been changed several times since 
> the last backup? In what cycle would you start your backup to get every 
> existing version of that file?

I will not ensure that the file has not changed several times between 
backups. My formulation was inexact, sorry! What I want is the last n 
revisions of files when they are checked for changes (once a day, week or 
whatever). I only want the last n revisions of backups, not the "real" 
file revision.

Just to make it totally clear (I hope): If a file has changed when it is 
being backed up, if there is less that n revisions of the file backed up, 
do nothing (just back it up as usual), otherwise (back it up and) delete 
the oldest revision of the file.

Actually there would be other possiblities: you could also (1) set a bit 
that indicates that the file can be deleted, you could (2) delete all the 
oldest revisions such that there is exactly n left, and maybe some other 
strategy I haven't thought of yet.

The different approaches imply new decisions.

Ad (1). When should it be deleted? Should it be decompressed and deleted 
imediately, once a day, while _nightly runs, or only when all (or x 
percent) of the files in the compressed file is set for removal?

Ad (2). Maybe it would be possible to have a flag or even the possibility 
of specifying an "algorithm" to decide how many revisions to be deleted 
(dependant on how often the file changes, how many revisions there are, 
how recent the revisions changes (in about uniformly or not) etc.). This 
seems, admittedly, quite strange.

> Ralf


-- 
Casper Thomsen

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to