Re: code 11: files changed during backup
Denis Corbin <[email protected]> Mon, 12 Mar 2007 21:29:10 +0100
| Newsgroups | gmane.comp.sysutils.backup.dar.general |
|---|---|
| Message-ID | <[email protected]> |
Lasse Kliemann wrote: > Greetings, Hello, > > I have got two suggestions how to deal with the situation when a file changes > while being backed up with dar -- I mean the cases where code 11 is returned. > There are two approaches that could both be implemented at the same time: > > 1. If dar encounters a changing file during backup, dar could re-try to > backup this file several times, until it succeeds in getting a clean copy of > it. The number of re-tries (before giving up on that file) could be set using > a command line option. The problem with this first point is that when creating an archive dar cannot skip back to overwrite data (dar must transparently handle the case where the archive is output to standard output or named pipe, two devices that do not support seeking). Thus this first point is not possible to implement. > > 2. If dar fails to integrate a file cleanly into the archive (maybe even > though dar tried several times to do so, but the file keeps changing > rapidly), this file could be marked as 'unclean' (or such) in the archive. On > extraction, the user could decide whether such files should be extracted or > not. This second point instead is possible to implement and is interesting. This let the user keep trace of probably not well saved files. For backward compatibility, the 'unclean' marking can be systematic at archive creation time, but 'unclean' file should be be filtered out unless the user say so using a given option. Or maybe better the 'unclean' files could be filtered out by default (during file extraction) but a warning/aknowledgment would be issued first before starting file extraction if such file has to be filtered out. > > What do you think? > What do *you* think, now? ;-) > > Regards, Lasse > > Kind Regards, Denis. > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Dar-discussions mailing list Dar-discussions-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/dar-discussions
signature.asc
(application/pgp-signature, 252 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF9bgdpC5CI8gYGlIRAlhGAJ9Y+f7Nz56uXeHcFFOPcQShtDhPwQCdHJjV voyZ18kTRBhTRE3KfbZ353c= =FVRC -----END PGP SIGNATURE-----