Re: Archive Management

Denis Corbin <[email protected]> Sat, 01 Dec 2007 18:04:43 +0100
Newsgroups gmane.comp.sysutils.backup.dar.general
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Joseph Watson wrote:
> Hello, 

Hello,

> 
> I figured I would provide some feed back:
> 
> Running the following command I get a error when checking mtime.
> 
> $ dar -+ merge -A 0002 -@ 0003 -/ S
> Error while saving data: Cannot get mtime: No such file or directory
> 
> I added some debug code and found it was looking for the mtime of <ROOT>.  Not 
> sure why it is trying to look for mtime during a merge.

I have fixed this bug in CVS. Should work better now.

Regards,
Denis.

> 
> I commented out two lines in src/libdar/tools.cpp (1505, 1506) and tryed it 
> again:
> 
> $ dar -+ merge -A 0002 -@ 0003 -/ S
> <ROOT>/newfile from the first archive is about to be overwritten by same entry 
> of the second archive, continue ? [return = OK | Esc = cancel]
> Continuing...
> Error while considering file <ROOT>/newfile : Subtracting a infinint greater 
> than the first, infinint cannot be negative
> 
> 
>  --------------------------------------------
>  6 inode(s) added to archive
>  with 0 hard link(s) recorded
>  0 inode(s) ignored (excluded by filters)
>  0 inode(s) recorded as deleted
>  --------------------------------------------
>  Total number of inode considered: 7
>  --------------------------------------------
> 
> The error about 'infinint cannot be negative' seems to bomb the process 
> because the resulting archive contains the file from archive 0002
> 
> 
> 
> $ dar -V
> 
>  dar version 2.4.0_dev, Copyright (C) 2002-2052 Denis Corbin
>    Long options support       : YES
> 
>  Using libdar 4.0.0 built with compilation time options:
>    Libz compression (gzip)    : YES
>    Libbz2 compression (bzip2) : YES
>    Liblzo2 compression (lzo)  : YES
>    Strong encryption          : YES
>    New Blowfish implementation: YES
>    Extended Attributes support: YES
>    Large files support (> 2GB): YES
>    ext2fs NODUMP flag support : YES
>    Special allocation scheme  : YES
>    Integer size used          : unlimited
>    Thread safe support        : YES
> 
>  compiled the Nov 25 2007 with GNUC version 4.2.2 20070909 (prerelease) 
> (4.2.2-0.RC.1mdv2008.0)
>  dar is part of the Disk ARchive suite (Release 2.4.0_dev)
>  dar comes with ABSOLUTELY NO WARRANTY; for details
>  type `dar -W'. This is free software, and you are welcome
>  to redistribute it under certain conditions; type `dar -L | more'
>  for details.
> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHUZQrpC5CI8gYGlIRAnFVAJwO5Xd/k0H5QPxWBXrBkgirgwL/hQCfVchc
KY/2gunrdlYFzUKXeZEStDE=
=9FbF
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4