Amanda-Users

Re: newbie questions about setting up amanda

2005-05-11 15:30:32
Subject: Re: newbie questions about setting up amanda
From: Rodrigo Ventura <yoda AT isr.ist.utl DOT pt>
To: Frank Smith <fsmith AT hoovers DOT com>
Date: Wed, 11 May 2005 20:12:21 +0100
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?

Cheers,

Rodrigo

-- 

*** Rodrigo Martins de Matos Ventura <yoda AT isr.ist.utl DOT pt>
***  Web page: http://www.isr.ist.utl.pt/~yoda
***   Teaching Assistant and PhD Student at ISR:
***    Instituto de Sistemas e Robotica, Polo de Lisboa
***     Instituto Superior Tecnico, Lisboa, PORTUGAL
*** PGP fingerprint = 0119 AD13 9EEE 264A 3F10  31D3 89B3 C6C4 60C6 4585