Bacula-users

Re: [Bacula-users] Win32 client incremental backup fails: Permission denied / IS DIRECTORY ??

2008-11-18 13:58:32
Subject: Re: [Bacula-users] Win32 client incremental backup fails: Permission denied / IS DIRECTORY ??
From: Martin Simmons <martin AT lispworks DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 18 Nov 2008 18:55:13 GMT
>>>>> On Tue, 18 Nov 2008 12:39:33 +0100, Tilman Schmidt said:
> 
> A Linux backup server running Bacula 2.2.8 on openSUSE 10.3 should
> back up a single directory D:\SQL-Backup on a Windows client
> running the WinBacula 2.4.3 file daemon on Windows Server 2003,
> incrementally on weekdays and fully on weekends.
> ...
> runs fine with level=Full, but with level=Incremental does not back
> up anything, instead writing this to the log (including the
> extraneous newline):
> 
> --------8<--------8<--------8<--------8<--------8<--------8<--------
> 18-Nov 12:10 tms-server-fd JobId 2272: Generate VSS snapshots. Driver=" VSS 
> Win 2003", Drive(s)="D"
> 18-Nov 12:10 tms-server-fd JobId 2272:      Could not stat D:/SQL-Backup: 
> ERR=Access is denied.
> 
> 18-Nov 12:11 tms-server-fd JobId 2272: VSS Writer (BackupComplete): "System 
> Writer", State: 0x1 (VSS_WS_STABLE)
> 18-Nov 12:11 vm-backup-sd JobId 2272: Job write elapsed time = 00:00:19, 
> Transfer rate = 0  bytes/second
> -------->8-------->8-------->8-------->8-------->8-------->8--------
> 
> SysInternals Process Monitor on the client machine tells me that at
> the time of the error, bacula-fd.exe does this:
> 
> --------8<--------8<--------8<--------8<--------8<--------8<--------
> Date & Time:  11/18/2008 12:10:52 PM
> Event Class:  File System
> Operation:    CreateFile
> Result:       IS DIRECTORY
> Path: \Device\HarddiskVolumeShadowCopy3\SQL-Backup
> TID:  3464
> Duration:     0.0000111
> Desired Access:       Generic Read
> Disposition:  Open
> Options:      Synchronous IO Non-Alert, Non-Directory File
> Attributes:   n/a
> ShareMode:    Read
> AllocationSize:       n/a
> -------->8-------->8-------->8-------->8-------->8-------->8--------
> 
> Somehow I fail to understand what the Storage Deamon is trying to do
> here, let alone how to convince it to do instead what I want.

That use of CreateFile looks wrong to me.  Do you have more the SysInternals
Process Monitor log from before that call?

Also, is D:/SQL-Backup a real directory or some kind of junction or link?

__Martin

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