On Thu, May 31, 2007 at 03:26:22PM -0400, Gene Heskett wrote:
> [EMAIL PROTECTED] 20070530000504]# head -n1 coyote._bin.1
> AMANDA: FILE 20070530000504 coyote /bin  lev 1 comp N program /bin/tar

This is as it should be - that holding file contains a full timestamp.

> [EMAIL PROTECTED] 20070530000504]# su amanda -c "amadmin Daily holding list 
> -l"
> Scanning /dumps...
>   20070530000504: found Amanda directory.
> Scanning /dumps/20070530000504...
> size (kB)  lv dump specification
> 33         1  coyote '/GenesAmandaHelper-0.5' 20070530000504
> 42         1  coyote /bin 20070530000504
> 295        1  coyote /etc 20070530000504
> 315        1  coyote /opt 20070530000504
> 124        1  coyote /tmp 20070530000504
> 33         1  coyote /usr/X11R6 20070530000504
> 72         1  coyote '/usr/dlds-misc' 20070530000504
> 42         1  coyote '/usr/dlds-rpms' 20070530000504
> 2172       1  coyote /usr/dlds 20070530000504
> 42         1  coyote /usr/games 20070530000504
> 215        1  coyote /usr/include 20070530000504
> 52         1  coyote /usr/kerberos 20070530000504
> 1123       1  coyote /usr/libexec 20070530000504
> 62         1  coyote /usr/man 20070530000504
> 62         1  coyote /usr/movies 20070530000504
> 112        1  coyote /usr/pix 20070530000504
> 1185       1  coyote /usr/share 20070530000504
> 
> Is this helpfull?

Yes, and no -- it showed me that everything was in order, but didn't
really lead me to the problem.  Nevertheless, I've found an error that
would cause what you're seeing.  Can you apply the attached patch and
see if it helps?

Dustin

-- 
        Dustin J. Mitchell
        Storage Software Engineer, Zmanda, Inc.
        http://www.zmanda.com/
Index: server-src/holding.c
===================================================================
--- server-src/holding.c        (revision 385)
+++ server-src/holding.c        (working copy)
@@ -194,7 +194,7 @@
            if (date_list) {
                date_found = 0;
                for (dl= date_list->first; dl != NULL; dl = dl->next) {
-                   if (strcmp(dl->name, workdir->d_name)) {
+                   if (strcmp(dl->name, workdir->d_name) == 0) {
                        date_found = 1;
                        break;
                    }

Reply via email to