TJ wrote:
I get quite a few errors from my backups of Windows boxes - how can i
safely place exclude errors so I no longer get this noise. Below is a
snippet from last nights backup:
[...]
? ERRDOS - ERRbadshare opening remote file \pagefile.sys (\)
Any assistance appreciated.
Recompile with the additional IGNORE_SMBCLIENT_ERRORS macro defined,
like this:
$ cd /path/to/amanda/source/dir
$ make distclean
$ CFLAGS=-DIGNORE_SMBCLIENT_ERRORS ./configure --with...
(followed by all the normal configure options)
$ make
$ su
# make install
Note that "real" errors (about files that you did not expect
to be excluded) are masked now too.
In the file client-src/sendbackup-gnutar.c, in beginning
(line 50-120) there a regular expression table, where the additional
define includes a block of patterns.
If needed, add patterns to that table in the appropriate category
(normal, error, strange). Or add patterns that only exclude messages
about the expected files (pagefile.sys etc.).
--
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: [EMAIL PROTECTED]
***********************************************************************
* 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 *
***********************************************************************