code 11: files changed during backup
Lasse Kliemann <lasse-list-dar-discussions-2007-vHKVnW1TcfEx7OB5OnRqRA@public.gmane.org> Mon, 12 Mar 2007 21:03:52 +0100
| Newsgroups | gmane.comp.sysutils.backup.dar.general |
|---|---|
| Message-ID | <[email protected]> |
Greetings,
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.
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.
What do you think?
Regards, Lasse
--
clear perl code is better than unclear awk code; but NOTHING comes
close to unclear perl code
<http://www.faqs.org/faqs/computer-lang/awk/faq/>
-------------------------------------------------------------------------
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, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFF9bIo1gObwed86AkRAhgiAJ9+g2thk9tO8vYkMNaodU/TmII85ACgrebq F8XZQbjNCTCYvmYKyuM2qOg= =SHMM -----END PGP SIGNATURE-----