Amanda-Users

Re: How can I split up a large disk partition?

2004-02-05 09:11:03
Subject: Re: How can I split up a large disk partition?
From: stan <stanb AT panix DOT com>
To: amanda-users AT amanda DOT org
Date: Thu, 5 Feb 2004 09:06:17 -0500
On Thu, Feb 05, 2004 at 02:16:09PM +0100, Paul Bijnens wrote:
> stan wrote:
> 
> >>>/foo/bar/[A-J]*
> >>>/foo/bar/[K-z]*
> 
> Don't mix uppercase and lowercase in the character maps.
> It depends on the current LANG and/or LC_* settings what they
> expand to.  Probably not what you want.
> 
> Maybe you need this:
> 
>   /foo/bar/[A-J]*
>   /foo/bar/[K-Za-z]*
> 
> Also notice these are not complementary!!!
> A file named:
> 
>   /foo/bar/123
> 
> matches neither of the above!

A good point, and although the data in those locations would not presently
fall intot the trap you have spotted, I will take your sugestions to
improve the regex. Thansk for that idea!

> 
> >here are my new disklist entries:
> >
> ># black ad1s1e comp-user-no-compress 2 local
> >black ads1e/ak ad1s1e {
> >     include "./[A-K]*"
> >     exclude "./[L-z]*"
> >     user-tar-no-compress
> >     } 2 local
> 
> You dumptype below has:
> 
> >define dumptype user-tar-no-compress {
> >    compress none
> >    root-tar
> >    comment "user partitions dumped with tar"
> >    priority medium
> >}
> >
> >What did I do wrong?
> 
> Amanda processes the file top to bottom.
> You include the dumptype after the local "exclude" statement,
> and your dumptype also has an exclude.  There is no "append"
> keyword on that exclude, so it replaces the current list.

See my ealrier reply as to this.

-- 
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
                                                -- Benjamin Franklin