Amanda-Users

Re: bug in disklist?

2003-05-21 09:03:31
Subject: Re: bug in disklist?
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: Mats Blomstrand <mats.blomstrand AT htu DOT se>, amanda-users AT amanda DOT org
Date: Wed, 21 May 2003 14:59:28 +0200
Mats Blomstrand wrote:
One suggestion is to stop assuming that what you do is correct.

I am until proven otherwise!  :)

See below.   :)

(From your first mail:)
Here is my disklist-file
        # head disklist
        bergelmer.thn.htu.se /home/blom {
          normal_backup
          exclude file "/usr/local/amanda/etc/normal/exclude-file_home_blom"
        } 1
        bergelmer.thn.htu.se /home/blom/05 normal_backup 1
        bergelmer.thn.htu.se /home/blom/Mail normal_backup 1
        bergelmer.thn.htu.se /home/blom/.ssh normal_backup 1
        bergelmer.thn.htu.se /home/blom/02 normal_backup 1
        bergelmer.thn.htu.se /home/blom/.netscape normal_backup 1
#


From "man amanda":

       exclude [ list|file ][[optional][ append ][ "string" ]+]
              Default: file.  There is two exclude  list  exclude
              file  and  exclude  list.   With exclude file , the
              string is a gnutar exclude expression. With exclude
              list , the string is a file name on the client con­
              taining gnutar exclude expression.

              All exclude expression are concatenated in one file
              and  passed to gnutar as a --exclude-from argument.

So it seems you need to specify "exclude LIST ...".



** And finally the proof! **
>  ...
QED


PS. I did run run into the same problem once.  And I did not notice
    the word "file" instead of "list" on first reading of your mail.

    :-)

    (did I hear a loud bang of a head into the wall?)

--
Paul Bijnens, Xplanation                            Tel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM    Fax  +32 16 397.512
http://www.xplanation.com/          email:  Paul.Bijnens AT xplanation DOT com
***********************************************************************
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
* quit,  ZZ, :q, :q!,  M-Z, ^X^C,  logoff, logout, close, bye,  /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* kill -9 1,  Alt-F4,  Ctrl-Alt-Del,  AltGr-NumLock,  Stop-A,  ...    *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
***********************************************************************



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