Amanda-Users

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

2004-12-09 11:47:50
Subject: Re: Getting rid of error noise on amanda backups of windows servers.
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: TJ AT omniscient DOT com
Date: Thu, 09 Dec 2004 15:22:22 +0100
TJ wrote:

I have windows servers which I am successfully backing up on Amanda
residing on a solaris 8 server.  But I get a lot of errors which I
need to reduce if at all possible.  I have checked the Amanda docs and
it seems to talk about mostly the "exclude" option.  But this exclude
option seems to entail a exclude file which resides on the client
machine which only seems more applicable for *nix machine.  Any help
greatly appreciated - check out these loopy messages :

? ERRDOS - ERRnoaccess opening remote file \Documents and Settings\All
Users\Application
Data\Microsoft\Crypto\RSA\MachineKeys\234205fb9b3e55cf2679524ef4805eb5_a422d2a8-4e26-4d3c-bdbd-6535bc245043
(\Documents and Settings\All Users\Application
Data\Microsoft\Crypto\RSA\MachineKeys\)
? ERRDOS - ERRnoaccess opening remote file \Documents and Settings\All
Users\Application
Data\Microsoft\Crypto\RSA\MachineKeys\2ed3ca758758e33f0ce0070f7f187b9f_a422d2a8-4e26-4d3c-bdbd-6535bc245043
(\Documents and Settings\All Users\Application
Data\Microsoft\Crypto\RSA\MachineKeys\)
? ERRDOS - ERRnoaccess opening remote file \Documents and Settings\All
Users\Application
Data\Microsoft\Crypto\RSA\MachineKeys\4c0077649915c8d0072218dbde581ae0_a422d2a8-4e26-4d3c-bdbd-6535bc245043
(\Documents and Settings\All Users\Application
Data\Microsoft\Crypto\RSA\MachineKeys\)


Well, I could have sworn I answered to a similar message a few days
ago, but I can't even find my own reply.
I must have been dreaming :-) .

Here I go again:

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