Amanda-Users

Re: Getting rid of error noise on amanda backups of windows servers.

2004-12-09 11:44:19
Subject: Re: Getting rid of error noise on amanda backups of windows servers.
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: Paul Bijnens <paul.bijnens AT xplanation DOT com>
Date: Thu, 09 Dec 2004 15:22:59 +0100
Following up on myself...

Paul Bijnens wrote:
You have to recompile, using the IGNORE_SMBCLIENT_ERRORS macro defined,
which enables additional regular expression that you find in the file
client-src/sendbackup-gnutar.c, like this:

   $ make distclean
   $ CGLAGS=-DIGNORE_SMBCLIENT_ERRORS ./configure --with-user=... etc.

Make that "CFLAGS" instead, with an "F":

     $ CFLAGS=-DIGNORE_SMBCLIENT_ERRORS ./configure --with-user=... etc.

   $ make
   $ su
   # make install

Note the comment in source:

  /* This will cause amanda to ignore real errors, but that may be
   * unavoidable when you're backing up system disks.  It seems to be
   * a safe thing to do if you know what you're doing.  */

This means: it could hide the fact that your most important file is
not included in the backup.




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