Amanda-Users

RE: Possible bug in windows/cygwin handling of tar command

2004-04-15 16:41:05
Subject: RE: Possible bug in windows/cygwin handling of tar command
From: donald.ritchey AT exeloncorp DOT com
To: jrhett AT isite DOT net, paul.bijnens AT xplanation DOT com
Date: Thu, 15 Apr 2004 15:24:47 -0500
I hope this isn't chasing the wrong issue, but shouldn't the first
'./RECYCLER' entry exclude the directory ./RECYCLER and all its contents?

The second entry './RECYCLER/*' forces the tar exclusion process to attempt
to resolve the contents of that directory.

The net effect of your exclusion list is to say:
        "Don't look in this directory, and by the way, don't look at the
         contents of the directory, but first list the contents you aren't
         going to look at."

Is this an effective description of the problem?  I don't use Amanda to 
back up Windows, yet; but we are considering it.

Thanks,

Donald L. (Don) Ritchey
Information Technology


-----Original Message-----
From: Joe Rhett [mailto:jrhett AT isite DOT net]
Sent: Thursday, April 15, 2004 2:55 PM
To: Paul Bijnens
Cc: amanda-users AT amanda DOT org; amanda-hackers AT amanda DOT org
Subject: Re: Possible bug in windows/cygwin handling of tar command


On Thu, Apr 15, 2004 at 09:35:32PM +0200, Paul Bijnens wrote:
> Joe Rhett wrote:
> >>
> >>What I fail to understand is that tar should NOT try to read this
> >>directory.  It is explicitly excluded.  It is wasting time attempting to

> >>do
> >>so.
> >
> >Even more to the point, these are subdirectories.  It was excluded at a
> >higher level, so it shouldn't even know about these directories.
> 
> (sending to amanda-users, instead of -hackers -- more appropriate I 
> believe.)
> 
> Just to get enough details:  what are the exact contents of the
> exclude-list and the disklist entry?
> And what is the exact error message you get?
 
Error message:
? gtar: ./pagefile.sys: file not found
? gtar: ./RECYCLER/S-1-5-21-180x67x531-1682526488-1343024091-1003/Dc13:
Cannot savedir: Permission denied
? gtar: ./RECYCLER/S-1-5-21-180x67x531-1682526488-1343024091-1003/Dc14:
Cannot savedir: Permission denied
? gtar:
./RECYCLER/S-1-5-21-180x67x531-1682526488-1343024091-1003/Dc15.com%2fcygwin:
Cannot savedir: Permission denied
? gtar: ./RECYCLER/S-1-5-21-180x67x531-1682526488-1343024091-1003/Dc16:
Cannot savedir: Permission denied

/opt/amanda/etc/exclude.gtar:
        ./pagefile.sys
        ./RECYCLER
        ./RECYCLER/*

disklist entry:
        host-test1.svk.isite.net /cygdrive/c mswin-gnutar

mswin-gnutar is defined as:
        define dumptype mswin-gnutar {
            root-tar
            comment "Windows partitions dumped with tar"
            compress none
            priority high
            exclude list "/opt/amanda/etc/exclude.gtar"
        }

-- 
Joe Rhett                                                      Chief Geek
JRhett AT Isite DOT Net                                      Isite Services, 
Inc.


************************************************************************
This e-mail and any of its attachments may contain Exelon Corporation
proprietary information, which is privileged, confidential, or subject 
to copyright belonging to the Exelon Corporation family of Companies. 
This e-mail is intended solely for the use of the individual or entity 
to which it is addressed.  If you are not the intended recipient of this 
e-mail, you are hereby notified that any dissemination, distribution, 
copying, or action taken in relation to the contents of and attachments 
to this e-mail is strictly prohibited and may be unlawful.  If you have 
received this e-mail in error, please notify the sender immediately and 
permanently delete the original and any copy of this e-mail and any 
printout. Thank You.
************************************************************************


<Prev in Thread] Current Thread [Next in Thread>