Bacula-users

Re: [Bacula-users] Could not stat - Windows permission problems

2008-07-15 05:33:12
Subject: Re: [Bacula-users] Could not stat - Windows permission problems
From: Arno Lehmann <al AT its-lehmann DOT de>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 15 Jul 2008 11:32:41 +0200
Hi,

15.07.2008 10:51, Nils Blanck-Wehde wrote:
> Hello list,
> 
> looks like I need some help here.
> I am backing up our Exchange server by first exporting all mailboxes 
> with ExMerge to separate .pst-files and then backing those files up with 
> bacula. The exported pst files are also being copied to our fileserver 
> where they are included in our weekly backup to tape.
> bacula-fd is running as domain-admin on our Windows 2003 SBS. This is 
> proven by calling "whoami" in the Client -Run-Before-script.
> All Mailboxes get exported and copied quite fine, still the actual 
> backup crashes with:
> 
> Could not stat D://Backup/Exchange Backup//: ERR=Zugriff verweigert (Access 
> denied)
...
> 14-Jul 21:41 wefis-server1-fd JobId 71: Generate VSS snapshots. Driver="VSS 
> Win 2003", Drive(s)="D"
> 14-Jul 21:41 wefis-server1-fd JobId 71:      Could not stat 
> D://Backup/Exchange Backup//: ERR=Zugriff verweigert
> 
> 14-Jul 21:43 WEFIS_bacula-sd JobId 71: Job write elapsed time = 00:00:18, 
> Transfer rate = 0  bytes/second
> 14-Jul 21:41 wefis-server1-fd JobId 71: VSS Writer (BackupComplete): "System 
> Writer", State: 0x1 (VSS_WS_STABLE)
> 14-Jul 21:41 wefis-server1-fd JobId 71: VSS Writer (BackupComplete): 
> "MSDEWriter", State: 0x1 (VSS_WS_STABLE)
> 14-Jul 21:41 wefis-server1-fd JobId 71: VSS Writer (BackupComplete): "FRS 
> Writer", State: 0x1 (VSS_WS_STABLE)
> 14-Jul 21:41 wefis-server1-fd JobId 71: VSS Writer (BackupComplete): 
> "Registry Writer", State: 0x1 (VSS_WS_STABLE)
> 14-Jul 21:41 wefis-server1-fd JobId 71: VSS Writer (BackupComplete): "Dhcp 
> Jet Writer", State: 0x1 (VSS_WS_STABLE)
> 14-Jul 21:41 wefis-server1-fd JobId 71: VSS Writer (BackupComplete): 
> "TermServLicensing", State: 0x1 (VSS_WS_STABLE)
> 14-Jul 21:41 wefis-server1-fd JobId 71: VSS Writer (BackupComplete): "Event 
> Log Writer", State: 0x1 (VSS_WS_STABLE)
> 14-Jul 21:41 wefis-server1-fd JobId 71: VSS Writer (BackupComplete): "COM+ 
> REGDB Writer", State: 0x1 (VSS_WS_STABLE)
> 14-Jul 21:41 wefis-server1-fd JobId 71: VSS Writer (BackupComplete): "NTDS", 
> State: 0x1 (VSS_WS_STABLE)
> 14-Jul 21:41 wefis-server1-fd JobId 71: VSS Writer (BackupComplete): "WINS 
> Jet Writer", State: 0x1 (VSS_WS_STABLE)
> 14-Jul 21:41 wefis-server1-fd JobId 71: VSS Writer (BackupComplete): "IIS 
> Metabase Writer", State: 0x1 (VSS_WS_STABLE)
> 14-Jul 21:41 wefis-server1-fd JobId 71: VSS Writer (BackupComplete): "WMI 
> Writer", State: 0x1 (VSS_WS_STABLE)
> 14-Jul 21:43 WEFIS_bacula-dir JobId 71: Bacula WEFIS_bacula-dir 2.4.1 
> (07Jul08): 14-Jul-2008 21:43:32

This looks funny... the VSS snapshot is started and either that 
creates the error message (which I dount) or your run before script 
does (which is possible, but the script should be terminated by that 
time), or Bacula ceates that message (which it shouldn't, because it 
still has to wait for the snapshot to be finished...)

In short, I believe there seems to be something broken, but I don't 
know what that would be.

Can you verify your script terminates and doesn't leave any other 
process running in the background? (This is unlikely, I believe...)

Other than that, I believe running the FD with debug tracing might 
reveal some details why Bacula tries to access a file before the 
snapshot is done.

'setdebug level=100 trace=1 client=wefis-server1-fd' should create a 
trace file in the FD's working directory.

Arno

-- 
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users