[Digikam-devel] [PATCH] Numbered Backups

Hans Meine hans_meine at gmx.net
Thu Jan 19 10:51:37 GMT 2006

On Thursday 19 January 2006 05:11, Nicolas Goutte wrote:
> > If I have only one backup, it should be the last
> > save, not the very first version of the file  (compare with text editors
> > saving foo~ files).
> A real ~ backup yes. But  the first file would be saved as *.orig in this
> kind of strategy.
> > This is about the user saving, not about autosaves.
> This is about to keep the unmodified file.
Oh, that would indeed be a great option ("keep .orig files")! It could be 
orthogonal to any other backup strategy, but you would get one more file on 
disk for each modified file.

(ATM, I manually try to do that for all system config files (admittedly, I 
don't use KDE programs to edit /etc files..) which makes it easier to guess 
the amount of work needed to bring a fresh system installation into shape.)

That brings up another idea:  AFAICS, the preferred backup strategy varies 
from task to task.  So far, it has been proposed to have application-wide 
settings for the strategy (e.g. one "normal" ~ file system-wide, but numbered 
for Krita).  How about choosing the strategy based on file name+path?

E.g. numbered for "*.kwd", "~/Thesis/*", and "*important*"?

I always found the concept of numbered backups interesting, but did not want 
to have hundreds of backup files on my system (which arise if you use them 


More information about the kde-core-devel mailing list