Amanda-Users

Re: newbie questions about setting up amanda

2005-05-11 16:16:19
Subject: Re: newbie questions about setting up amanda
From: Jon LaBadie <jon AT jgcomp DOT com>
To: amanda-users AT amanda DOT org
Date: Wed, 11 May 2005 16:01:42 -0400
On Wed, May 11, 2005 at 08:12:21PM +0100, Rodrigo Ventura wrote:
> 
> Thank you for the answers.
> 
> I have one more question/problem: I have several partitions that are
> not being dumped. The device/directory/include specifications in DLE
> is not yet very clear to me. I have a root partition (/) where the OS
> is installed, as well as IMAP accounts at /var/spool/imap/user/. I
> need to split the accounts, so I did something like:
> 
> omni /var/spool/imap/user/ag /var/spool/imap/user {
>   comment "omni mail accounts a-g"
>   include file "./[a-g]*"
>   global
> }
> [...]
> omni /var/spool/imap/user/uz /var/spool/imap/user {
>   comment "omni mail accounts u-z and the rest"
>   exclude file "./[a-t]*"
>   global
> }
> 
> I'm assuming the include file specification is relative to the
> /var/spool/imap/user. Is it not? Do I have to specify
> "./var/spool/imap/user/[a-t]*" instead? However, there is a disturbing
> sentence in the amanda man page:
> 
>    "All include expression are expanded by amanda and concatenated in
>    one file and passed to gnutar as a --files-from argument. They must
>    start with "./" and containing no other "/"."
> 
> What does it mean exactly? Strings like "./var/spool/imap/user/[a-t]*"
> are not accepted in includes?
> 

So far your DLE's seem ok to me.
The one part I question is "global".
What is your global definition?
Is it even specifying GNUTAR as the dump program?

BTW it probably won't make a difference, but I like
to include all my common stuff in the DLE first, then
have the specific stuff work on that.  For example,
I'm sure it does not, but what if the global dumptype
had a specification for an exclude that overrode yours.

I like to think of it as "just like the global dumptype,
except"  Rather than "here are some unique things,
and all the the global stuff too.
-- 
Jon H. LaBadie                  jon AT jgcomp DOT com
 JG Computing
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)