Amanda-Users

Re: Excluding a directory with spaces and '!' and ')' etc in the name.

2003-04-08 11:52:08
Subject: Re: Excluding a directory with spaces and '!' and ')' etc in the name.
From: Victor Calzado Mayo <vcalzado AT cnio DOT es>
To: Stephen Carville <carville AT cpl DOT net>, Amanda Users <amanda-users AT amanda DOT org>
Date: Tue, 8 Apr 2003 16:22:27 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi
On Tuesday 08 April 2003 15:48, Stephen Carville wrote:
> On Monday 07 April 2003 09:32 am, you wrote:
> > On Sun, Apr 06, 2003 at 08:35:16AM -0800, Stephen Carville wrote:
> > > How can I exclude a directory on a Snap server named:
> > >
> > >   Temporary (Not Backed Up!)
> > >
> > > I tried adding to disklist the line:
> > >
> > >   exclude "Temporary (Not Backed Up!)"
> > >
> > > but that seems to cause sendsize to send the error:
> > >
> > >   REQ packet is bogus: extra text at end
> > >
> > > The share is mounted using samba and I am using amanda 2.4.3p2
> >
> > If you haven't already, I would try escaping the spaces,
>
> parentheses,
>
> > and exclamation mark like:
> >
> >     exclude "Temporary\ \(Not\ Backed\ Up\!\)"

exclude ?Temporary??Not?Backed?Up?? should work, it's a dirty workaround using 
regexp but ...

Best Regards
Victor


> >
> > I would imagine that sendsize is passed the value between the
>
> quotes,
>
> > but not the quotes themselves, on the command line, which would make
> > that directory name show up as 4 separate arguments.
> >
> > I'm not certain, but I hope that helps
>
> Thank you but that didn't work  Still get the same error.

- -- 
- --
Abril
Uno de los peores meses para andar metiendo al mundo en guerras absurdas
El resto de meses del mismo tipo son: Enero, Febrero, Marzo, Mayo, Junio, 
Julio, Agosto, Septiembre, Octubre, Noviembre y Diciembre. 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+ktsjEzqHF8R72ekRAmP8AJ44GHopqjgGXrxOmWyLhsaa9/qn2ACeIF3+
lKsdpXuJ6jbRiOI55vTN6CY=
=dQdA
-----END PGP SIGNATURE-----


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