Dear sir,
  For the dumptype setting, there may be files with name a to k and l to z
but there are also other files. Can I set the

dumptype comp-root-tar-exclude-1-z {
comp-root-tar
exclude "./[l-z]*"
}

dumptype comp-root-tar-l-z {
comp-root-tar
include "./[a-k]*"
}

202.85.164.38 /home    comp-root-tar-exclude-l-z
202.85.164.38 /home/.  comp-root-tar-l-z


  Is this setting enough to cover all my files in the /home directory.

Yours,
Richard Ao



>   dumptype comp-root-tar-a-k {
>
>     # This dumptype is just like comp-root-tar (it inherits it) but does
>     # only areas starting with a through k (excludes l through z).
>
>     comp-root-tar
>     exclude "./[l-z]*"
>   }
>
>   dumptype comp-root-tar-l-z {
>
>     # Like above but does l through z (excludes a through k).
>
>     comp-root-tar
>     exclude "./[a-k]*"
>   }



----- Original Message -----
From: "John R. Jackson" <[EMAIL PROTECTED]>
To: "richard" <[EMAIL PROTECTED]>
Cc: "Alexandre Oliva" <[EMAIL PROTECTED]>; "amanda-users"
<[EMAIL PROTECTED]>
Sent: Saturday, February 10, 2001 12:21 PM
Subject: Re: #localhost /etc comp-root-tar


> >  Thanks for your reply. But, I still can not quite understanding how can
I
> >divide the /home into Part(a) of /home/a to k and of Part(b) of /home/l
to
> >z.
>
> That's OK.  It's not exactly obvious how this would be done.
>
> >  But, now should I have:
> >202.85.164.38 /home    ./[^a-k]*
> >202.85.164.38 /home/.  ./[a-k]*
> >
> >  Is this correct?
>
> No.
>
> If you're using Amanda 2.4.2 or later, it would look like this (I think --
> I only did minimal testing):
>
>   202.85.164.38 /home    {
>     # Do /home/a through /home/k.
>     comp-root-tar
>     exclude "./[l-z]*"
> }
>   202.85.164.38 /home/.  {
>     # Do /home/l through /home/z.
>     comp-root-tar
>     exclude "./[a-k]*"
> }
>
> If you're running something older than 2.4.2 (or this will work for
> 2.4.2 as well), add this to amanda.conf:
>
>   dumptype comp-root-tar-a-k {
>
>     # This dumptype is just like comp-root-tar (it inherits it) but does
>     # only areas starting with a through k (excludes l through z).
>
>     comp-root-tar
>     exclude "./[l-z]*"
>   }
>
>   dumptype comp-root-tar-l-z {
>
>     # Like above but does l through z (excludes a through k).
>
>     comp-root-tar
>     exclude "./[a-k]*"
>   }
>
> Then your disklist would look like this:
>
>   202.85.164.38 /home    comp-root-tar-a-k
>   202.85.164.38 /home/.  comp-root-tar-l-z
>
> >Richard Ao
>
> John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]

Reply via email to