Amanda-Users

Re: amanda, samba and exclude

2006-02-13 17:59:51
Subject: Re: amanda, samba and exclude
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: Luke Miller <millerlu AT integraonline DOT com>
Date: Mon, 13 Feb 2006 23:55:24 +0100
Luke Miller schreef:
I am having troubles excluding files with amanda and samba.

Here is my dumptype:

define dumptype workstation-millerlu {
    program "GNUTAR"
    comment "worksation"
    compress server fast
    priority high
    index yes
    exclude "./Local Settings/Application Data/Google"
}

Currently there may not be a space the pattern of "exclude" or "include".
Patches welcome...



And here in the error I am getting:


FAILURE AND STRANGE DUMP SUMMARY:
  dumper: FATAL error [dumper PORT-DUMP: too many args: 14 != 12]
  lukem.com  //newage/millerlu lev 0 FAILED [dump to tape failed]

Two spaces = two args too much, somewhere deep inside Amanda, indeed.


I think it might have to do with the spaces in my exclude list?

Right thinking!

Try instead:

   exclude "./Local?Settings/Application?Data/Google"

(I didn't try that yet, curious for result however...)

Or: put that path in a file local on the workstation-millerlu
(and avoid having a space in the path of that file :-) ), and
set
   exclude list "/path/to/file/containing/excludepatterns"

--
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>