Amanda-Users

Re: How to avoid unnecessary/incorrect warning when backing up Windows server

2006-06-29 13:48:48
Subject: Re: How to avoid unnecessary/incorrect warning when backing up Windows server
From: Jon LaBadie <jon AT jgcomp DOT com>
To: amanda-users AT amanda DOT org
Date: Thu, 29 Jun 2006 13:43:33 -0400
On Thu, Jun 29, 2006 at 10:11:51AM -0700, Sean Noonan wrote:
> I keep getting these messages with every backup report:
> 
> FAILURE AND STRANGE DUMP SUMMARY:
> unixservername     //windowsservername/sharename lev 0 STRANGE 
> 
> and then a little later on:
> 
> FAILED AND STRANGE DUMP DETAILS:
> 
> /-- unixservername     //windowsservername/sharename lev 0 STRANGE
> sendbackup: start [unixservername://windowsservername/sharename level 0]
> sendbackup: info BACKUP=/usr/local/bin/smbclient
> sendbackup: info RECOVER_CMD=/usr/bin/gzip -dc |/usr/local/bin/smbclient
> -f... -
> sendbackup: info COMPRESS_SUFFIX=.gz
> sendbackup: info end
> ? Domain=[DOMNAME] OS=[Windows Server 2003 3790 Service Pack 1]
> Server=[Windows Server 2003 5.2]
> | tar: dumped 14 files and directories
> | Total bytes written: 735498752
> sendbackup: size 718261
> sendbackup: end
> \--------
> 

GOSH!!! that is all the errors you are getting?
I'd love for that to be my case, what with all the
non-accessible files that are skipped.

Anyway, if you compile your amadna client code, you might try to
add the "Domain" pattern to the list of ignored samba messages.
Around line 67 in sendbackup-gnutar.c you might add a line like:

   AM_NORMAL_RE("^Domain=\[.*] OS=\[.*] Server=\[.*]"),

I see under the conditional compile for Samba < version 2,
there is used a pattern of:

  AM_NORMAL_RE("^Domain="),

Perhaps that would be sufficient.

-- 
Jon H. LaBadie                  jon AT jgcomp DOT com
 JG Computing
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)

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