Re: code 11: files changed during backup

Denis Corbin <[email protected]> Wed, 14 Mar 2007 22:11:42 +0100
Newsgroups gmane.comp.sysutils.backup.dar.general
Message-ID <[email protected]>
Andre Ruiz wrote:
> I think this is an interesting feature, and could use that too.
> 
> My two observations:
> 
> 1 - could dar behave differently if it can seek and if it cannot seek?
> Say, the target is a filesystem, it could retry the backup over the
> last one, if it is a pipe or a char device, it could do as Lasse
> suggests. As the other options (at most x retries and at most y
> megabytes), they would be great.

Well that's a bit complicated when you consider that a file can be
spawned across several slices (even more than two). Would you ask the
user for the slice N-3 for it be completely rewritten? I hope it would
not already be burnt on DVD or CD.

Technically, also, there is some points to consider with encryption
which is done on the overall archive. Thus the remaining of the previous
clean file would have to be re-encrypted with the beginning of the new
version of an unclean file. This is not possible to do because of code
independance between the encryption layer, the possible compression
layer above it and above both of them the archive layer (which defines
where each file's data is located).

> 
> 2 - as per extraction, i think it should follow the current behaviour
> by default, extracting everything (just spitting warnings about the
> unclean ones).

I agree at 100%. the -w option could also be used to suppress the warning.

> Two other switches could change that to 1) ask the user
> and 2) ignore them all. This way it will be really backwards
> compatible with the scripts written and already distributed.
> 
"1)" is new, OK, but "2)" can be merged with the -w option when "1)" is
given, assuming a negative answer to "1)" thus meaning "do not restore
any 'unclean' file".

> andre
> 

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

iD8DBQFF+GUVpC5CI8gYGlIRAsy9AJ9wMePY64CsDbjPyRPKhlyqZOMUxgCdGbsY
FF1cb9+TTXOSoAtGdcVuGGI=
=IlUw
-----END PGP SIGNATURE-----