Re: Archive Management

Joseph Watson <[email protected]> Mon, 26 Nov 2007 02:21:46 -0500
Newsgroups gmane.comp.sysutils.backup.dar.general
Organization Linux Consulting
Message-ID <[email protected]>
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 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.


-- 
Regards

Joseph Watson

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/