I, too, have received file-in-use errors while attempting to use VSS on two different WinXP machines with the VSS FD. I will gladly post my configs and messages if it will be helpful. I am running 1.37.30 SD & Dir and the 1.37.30 VSS FD and I do have "Enable VSS = yes" in the FileSet defination.

Dana


At 10:23 PM 7/20/2005, [EMAIL PROTECTED] wrote:
Date: Wed, 20 Jul 2005 00:13:33 +0000
From: Thomas Simmons <[EMAIL PROTECTED]>
To:  [EMAIL PROTECTED]
CC: Kern Sibbald <[EMAIL PROTECTED]>,  bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Config error: Keyword EnableVSS not  permitted
 in this resource

Ok, I set everything up here at home and I'm getting the same thing. I
first tried backing up my laptop, which was the client I was testing
with at work, the "cannot open file" errors persisted. I then set up the
FD on another XP system I have here. Unfortunately it has the same
issue. Here's some output that I think should show everything is setup
correctly for VSS to work. Other than using a VSS enabled FD, and adding
"Enable VSS = yes" to the fileset, is there anything else required to
use VSS? I noticed there was a "Volume Shadow Copy" windows service. I
don't know if it would matter but I tried running backups with this
stopped(default) and started, with the same results.

Thanks,
Thomas

typhoon:/etc/bacula# grep -m 1 -A 9 FileSet /etc/bacula/bacula-dir.conf
  FileSet {
     Name = "default-winxp"
     Enable VSS = yes
     Include {
       Options {
         signature = MD5
       }
       File = "c:/"
     }
  }
typhoon:/etc/bacula# bconsole
Connecting to Director typhoon:9101
1000 OK: typhoon-dir Version: 1.37.30 (14 July 2005)
Enter a period to cancel a command.
*status client=odin-fd
Using default Catalog name=MyCatalog DB=bacula
Connecting to Client odin-fd at odin:9102

odin-fd Version: 1.37.30 (14 July 2005) VSS Windows XP MVS NT 5.1.2600
Daemon started 19-Jul-05 23:21, 0 Jobs run since started.
  Priv 0x22f
  APIs=OPT,ATP,LPV,CFA,CFW,
  WUL,WMKD,WOP,GFAA,GFAW,GFAEA,GFAEW,SFAA,SFAW,BR,BW,SPSP,
  WC2MB,MB2WC,FFFA,FFFW,FNFA,FNFW,SCDA,SCDW,
  GCDA,GCDW
No Terminated Jobs.
Running Jobs:
Director connected at: 19-Jul-05 23:22
No Jobs running.
====
*run job=Odin
Run Backup job
JobName:  Odin
FileSet:  default-winxp
Level:    Incremental
Client:   odin-fd
Storage:  file
Pool:     default
When:     2005-07-20 19:43:42
Priority: 10
OK to run? (yes/mod/no): yes
Job started. JobId=1
*
You have messages.
*messages
20-Jul 19:43 typhoon-dir: No prior Full backup Job record found.
20-Jul 19:43 typhoon-dir: No prior or suitable Full backup found. Doing
FULL backup.
20-Jul 19:43 typhoon-dir: Start Backup JobId 1, Job=Odin.2005-07-20_19.43.55
20-Jul 19:44 typhoon-dir: Created new Volume "inc-0001" in catalog.
20-Jul 19:44 typhoon-sd: Labeled new Volume "inc-0001" on device
"filestorage" (/backup/).
20-Jul 19:44 typhoon-sd: Wrote label to prelabeled Volume "inc-0001" on
device "filestorage" (/backup/)
19-Jul 23:24 odin-fd:      Cannot open c:/Documents and
Settings/LocalService/Local Settings/Application
Data/Microsoft/Windows/UsrClass.dat: ERR=The process cannot access the
file because it is being used by another process.
19-Jul 23:24 odin-fd:      Cannot open c:/Documents and
Settings/LocalService/Local Settings/Application
Data/Microsoft/Windows/UsrClass.dat.LOG: ERR=The process cannot access
the file because it is being used by another process.
.
19-Jul 23:24 odin-fd:      Cannot open c:/Documents and
Settings/LocalService/NTUSER.DAT: ERR=The process cannot access the file
because it is being used by another process.
.
19-Jul 23:24 odin-fd:      Cannot open c:/Documents and
Settings/LocalService/ntuser.dat.LOG: ERR=The process cannot access the
file because it is being used by another process.
.
19-Jul 23:24 odin-fd:      Cannot open c:/Documents and
Settings/NetworkService/Local Settings/Application
Data/Microsoft/Windows/UsrClass.dat: ERR=The process cannot access the
file because it is being used by another process.
.
19-Jul 23:24 odin-fd:      Cannot open c:/Documents and
Settings/NetworkService/Local Settings/Application
Data/Microsoft/Windows/UsrClass.dat.LOG: ERR=The process cannot access
the file because it is being used by another process.
.
19-Jul 23:24 odin-fd:      Cannot open c:/Documents and
Settings/NetworkService/NTUSER.DAT: ERR=The process cannot access the
file because it is being used by another process.
.
19-Jul 23:24 odin-fd:      Cannot open c:/Documents and
Settings/NetworkService/ntuser.dat.LOG: ERR=The process cannot access
the file because it is being used by another process.
.

[EMAIL PROTECTED] wrote:
> Kern,
> I did reboot the client. A test backup that I ran between the last email and this one shows up in the fd. When I get home tonight, I'll set everything up on a server there and see if I have the same issue.
>
> Thanks,
> Thomas
>
>>From: Kern Sibbald <[EMAIL PROTECTED]>
>>Date: 2005/07/20 Wed PM 04:25:28 EDT
>>To: [EMAIL PROTECTED]
>>CC: bacula-users@lists.sourceforge.net,
>>        Frederic PIERROT <[EMAIL PROTECTED]>
>>Subject: Re: [Bacula-users] Config error: Keyword EnableVSS not permitted in this re
>>
>>On Wednesday 20 July 2005 21:59, [EMAIL PROTECTED] wrote:
>>
>>>Kern,
>>>Thanks for your reply. I am using the VSS enabled FD. Here is the output
>>>from status client.
>>
>>Well, something is obviously wrong because the FD reports that 0 jobs have run >>since it was started. I recommend you run again, then check that the number
>>of jobs increments.  It appears you might be using the wrong client.
>>
>>If you rebooted since this morning when you ran the backup, it would explain >>the 0, but then I don't know what is going on -- perhaps Thorsten will have
>>something to say.
>>
>>
>>>lightning:~# echo "status client=nemo-fd" | bconsole
>>>Connecting to Director lightning:9101
>>>1000 OK: lightning-dir Version: 1.37.30 (14 July 2005)
>>>Enter a period to cancel a command.
>>>status client=nemo-fd
>>>Using default Catalog name=MyCatalog DB=bacula
>>>Connecting to Client nemo-fd at nemo:9102
>>>
>>>nemo-fd Version: 1.37.30 (14 July 2005) VSS Windows XP MVS NT 5.1.2600
>>>Daemon started 20-Jul-05 15:34, 0 Jobs run since started.
>>> Priv 0x37f
>>> APIs=OPT,ATP,LPV,CFA,CFW,
>>> WUL,WMKD,WOP,GFAA,GFAW,GFAEA,GFAEW,SFAA,SFAW,BR,BW,SPSP,
>>> WC2MB,MB2WC,FFFA,FFFW,FNFA,FNFW,SCDA,SCDW,
>>> GCDA,GCDW
>>>No Terminated Jobs.
>>>Running Jobs:
>>>Director connected at: 20-Jul-05 15:39
>>>No Jobs running.
>>>====
>>>
>>>Here's the FileSet that I'm using.
>>>
>>> FileSet {
>>>    Name = "default-winxp"
>>>    Enable VSS = yes
>>>    Include {
>>>      Options {
>>>        signature = MD5
>>>      }
>>>      File = "c:/"
>>>    }
>>> }
>>>
>>>Thanks,
>>>Thomas
>>>
>>>
>>>>From: Kern Sibbald <[EMAIL PROTECTED]>
>>>>Date: 2005/07/20 Wed PM 03:07:52 EDT
>>>>To: bacula-users@lists.sourceforge.net
>>>>CC: [EMAIL PROTECTED],  Frederic PIERROT <[EMAIL PROTECTED]>
>>>>Subject: Re: [Bacula-users] Config error: Keyword EnableVSS not
>>>>permitted in this resource
>>>>
>>>>On Wednesday 20 July 2005 19:33, [EMAIL PROTECTED] wrote:
>>>>
>>>>>When backing up using VSS, is it normal to receive "cannot open file"
>>>>>messages?
>>>>
>>>>No, you are probably not using the VSS enabled FD.  Did you load
>>>>winbacula-vss-...?  You can also tell by doing a status client=xxx
>>>>in the console.  The signon id of the FD should contain "VSS" after
>>>>the Bacula version.
>>>>
>>>>In addition, when VSS is working, it will print several lines in the job
>>>>output, which will be rather obvious.
>>>>
>>>>
>>>>>Thanks,
>>>>>Thomas
>>>>>
>>>>>Connecting to Director lightning:9101
>>>>>1000 OK: lightning-dir Version: 1.37.30 (14 July 2005)
>>>>>Enter a period to cancel a command.
>>>>>messages
>>>>>20-Jul 23:50 lightning-dir: No prior Full backup Job record found.
>>>>>20-Jul 23:50 lightning-dir: No prior or suitable Full backup found.
>>>>>Doing FULL backup. 20-Jul 23:50 lightning-dir: Start Backup JobId 6,
>>>>>Job=nemo-backup.2005-07-20_23.50.04 20-Jul 23:50 lightning-sd: Volume
>>>>>"inc-0001" previously written, moving to end of data. 20-Jul 11:50
>>>>>nemo-fd: Cannot open c:/Documents and Settings/LocalService/Local
>>>>>Settings/Application Data/Microsoft/Windows/UsrClass.dat: ERR=The
>>>>>process cannot access the file because it is being used by another
>>>>>process. . 20-Jul 11:50 nemo-fd:      Cannot open c:/Documents and
>>>>>Settings/LocalService/Local Settings/Application
>>>>>Data/Microsoft/Windows/UsrClass.dat.LOG: ERR=The process cannot access
>>>>>the file because it is being used by another process. .
>>>>>20-Jul 11:50 nemo-fd:      Cannot open c:/Documents and
>>>>>Settings/LocalService/NTUSER.DAT: ERR=The process cannot access the
>>>>>file because it is being used by another process. .
>>>>>20-Jul 11:50 nemo-fd:      Cannot open c:/Documents and
>>>>>Settings/LocalService/ntuser.dat.LOG: ERR=The process cannot access the
>>>>>file because it is being used by another process. .
>>>>>20-Jul 11:50 nemo-fd:      Cannot open c:/Documents and
>>>>>Settings/NetworkService/Local Settings/Application
>>>>>Data/Microsoft/Windows/UsrClass.dat: ERR=The process cannot access the
>>>>>file because it is being used by another process. .
>>>>>20-Jul 11:50 nemo-fd:      Cannot open c:/Documents and
>>>>>Settings/NetworkService/Local Settings/Application
>>>>>Data/Microsoft/Windows/UsrClass.dat.LOG: ERR=The process cannot access
>>>>>the file because it is being used by another process. .
>>>>>20-Jul 11:50 nemo-fd:      Cannot open c:/Documents and
>>>>>Settings/NetworkService/NTUSER.DAT: ERR=The process cannot access the
>>>>>file because it is being used by another process. .
>>>>>20-Jul 11:50 nemo-fd:      Cannot open c:/Documents and
>>>>>Settings/NetworkService/ntuser.dat.LOG: ERR=The process cannot access
>>>>>the file because it is being used by another process. .
>>>>>20-Jul 11:50 nemo-fd:      Cannot open c:/Documents and
>>>>>Settings/simmons/Local Settings/Application
>>>>>Data/Microsoft/Windows/UsrClass.dat: ERR=The process cannot access the
>>>>>file because it is being used by another process. .
>>>>>20-Jul 11:50 nemo-fd:      Cannot open c:/Documents and
>>>>>Settings/simmons/Local Settings/Application
>>>>>Data/Microsoft/Windows/UsrClass.dat.LOG: ERR=The process cannot access
>>>>>the file because it is being used by another process. .
>>>>>20-Jul 11:52 nemo-fd:      Cannot open c:/Documents and
>>>>>Settings/simmons/NTUSER.DAT: ERR=The process cannot access the file
>>>>>because it is being used by another process. .
>>>>>20-Jul 11:52 nemo-fd:      Cannot open c:/Documents and
>>>>>Settings/simmons/ntuser.dat.LOG: ERR=The process cannot access the file
>>>>>because it is being used by another process. .
>>>>>20-Jul 11:52 nemo-fd:      Could not stat c:/pagefile.sys: ERR=The
>>>>>process cannot access the file because it is being used by another
>>>>>process.
>>>>>
>>>>>20-Jul 11:54 nemo-fd:      Cannot open c:/Program Files/Sophos SWEEP
>>>>>for NT/INTERCHK.CHK: ERR=The process cannot access the file because it
>>>>>is being used by another process. .
>>>>>20-Jul 12:05 nemo-fd:      Cannot open
>>>>>c:/WINDOWS/system32/CatRoot2/edb.log: ERR=The process cannot access the
>>>>>file because it is being used by another process. .
>>>>>20-Jul 12:05 nemo-fd:      Cannot open
>>>>>c:/WINDOWS/system32/CatRoot2/tmp.edb: ERR=The process cannot access the
>>>>>file because it is being used by another process. .
>>>>>20-Jul 12:05 nemo-fd:      Cannot open
>>>>>c:/WINDOWS/system32/config/default: ERR=The process cannot access the
>>>>>file because it is being used by another process. .
>>>>>20-Jul 12:05 nemo-fd:      Cannot open
>>>>>c:/WINDOWS/system32/config/default.LOG: ERR=The process cannot access
>>>>>the file because it is being used by another process. .
>>>>>20-Jul 12:05 nemo-fd:      Cannot open c:/WINDOWS/system32/config/SAM:
>>>>>ERR=The process cannot access the file because it is being used by
>>>>>another process. .
>>>>>20-Jul 12:05 nemo-fd:      Cannot open
>>>>>c:/WINDOWS/system32/config/SAM.LOG: ERR=The process cannot access the
>>>>>file because it is being used by another process. .
>>>>>20-Jul 12:05 nemo-fd:      Cannot open
>>>>>c:/WINDOWS/system32/config/SECURITY: ERR=The process cannot access the
>>>>>file because it is being used by another process. .
>>>>>20-Jul 12:05 nemo-fd:      Cannot open
>>>>>c:/WINDOWS/system32/config/SECURITY.LOG: ERR=The process cannot access
>>>>>the file because it is being used by another process. .
>>>>>20-Jul 12:05 nemo-fd:      Cannot open
>>>>>c:/WINDOWS/system32/config/software: ERR=The process cannot access the
>>>>>file because it is being used by another process. .
>>>>>20-Jul 12:05 nemo-fd:      Cannot open
>>>>>c:/WINDOWS/system32/config/software.LOG: ERR=The process cannot access
>>>>>the file because it is being used by another process. .
>>>>>20-Jul 12:05 nemo-fd:      Cannot open
>>>>>c:/WINDOWS/system32/config/system: ERR=The process cannot access the
>>>>>file because it is being used by another process. .
>>>>>20-Jul 12:05 nemo-fd:      Cannot open
>>>>>c:/WINDOWS/system32/config/system.LOG: ERR=The process cannot access
>>>>>the file because it is being used by another process. .
>>>>>21-Jul 00:08 lightning-dir: Max Volume jobs exceeded. Marking Volume
>>>>>"inc-0001" as Used. 21-Jul 00:08 lightning-dir: Bacula 1.37.30
>>>>>(14Jul05): 21-Jul-2005 00:08:27 JobId:                  6
>>>>>  Job:                    nemo-backup.2005-07-20_23.50.04
>>>>>  Backup Level:           Full (upgraded from Incremental)
>>>>>  Client:                 "nemo-fd" Windows XP,MVS,NT 5.1.2600
>>>>>  FileSet:                "default-winxp" 2005-07-20 23:43:56
>>>>>  Pool:                   "inc-pool"
>>>>>  Storage:                "file"
>>>>>  Scheduled time:         20-Jul-2005 23:50:03
>>>>>  Start time:             20-Jul-2005 23:50:06
>>>>>  End time:               21-Jul-2005 00:08:27
>>>>>  Priority:               10
>>>>>  FD Files Written:       33,551
>>>>>  SD Files Written:       33,551
>>>>>  FD Bytes Written:       4,648,197,019
>>>>>  SD Bytes Written:       4,654,149,032
>>>>>  Rate:                   4221.8 KB/s
>>>>>  Software Compression:   None
>>>>>  Volume name(s):         inc-0001
>>>>>  Volume Session Id:      2
>>>>>  Volume Session Time:    1121917404
>>>>>  Last Volume Bytes:      5,766,715,567
>>>>>  Non-fatal FD errors:    26
>>>>>  SD Errors:              0
>>>>>  FD termination status:  OK
>>>>>  SD termination status:  OK
>>>>>  Termination:            Backup OK -- with warnings
>>>>>
>>>>>21-Jul 00:08 lightning-dir: Begin pruning Jobs.
>>>>>21-Jul 00:08 lightning-dir: No Jobs found to prune.
>>>>>21-Jul 00:08 lightning-dir: Begin pruning Files.
>>>>>21-Jul 00:08 lightning-dir: No Files found to prune.
>>>>>21-Jul 00:08 lightning-dir: End auto prune.
>>>>>
>>>>>
>>>>>>From: Frederic PIERROT <[EMAIL PROTECTED]>
>>>>>>Date: 2005/07/20 Wed AM 10:46:19 EDT
>>>>>>To: <[EMAIL PROTECTED]>
>>>>>>CC: bacula-users@lists.sourceforge.net
>>>>>>Subject: Re: [Bacula-users] Config error: Keyword EnableVSS not
>>>>>>  permitted in this resource
>>>>>>
>>>>>>At 16:33 20/07/2005, you wrote:
>>>>>>
>>>>>>>Hello everyone...again. I finally got bacula 1.37.30 compiled and
>>>>>>>running, and I've successfully run a test backup of the server.
>>>>>>>After adding "Enable VSS = yes" to a fileset resource, bacula-dir
>>>>>>>will no longer start and I receive the error above. I was under the
>>>>>>>impression that 1.37.30 had full VSS support if used with a
>>>>>>>vss-enabled fd, is this incorrect? Should I be using a special flag
>>>>>>>when running ./configure? Here's some output and my fileset
>>>>>>>resource.
>>>>>>>
>>>>>>>Thanks,
>>>>>>>Thomas
>>>>>>>
>>>>>>>FileSet {
>>>>>>> Name = "default-winxp"
>>>>>>> Include {
>>>>>>>  Options {
>>>>>>>   signature = MD5
>>>>>>>   compression = GZIP
>>>>>>>   Enable VSS = yes
>>>>>>>   Exclude = yes
>>>>>>>   IgnoreCase = yes
>>>>>>>   WildDir = "[A-Z]:/Documents and Settings/*/Cookies"
>>>>>>>   WildDir = "[A-Z]:/Documents and Settings/*/Recent"
>>>>>>>   WildDir = "[A-Z]:/Documents and Settings/*/Local
>>>>>>>Settings/History" WildDir = "[A-Z]:/Documents and Settings/*/Local
>>>>>>>Settings/Temp" WildDir = "[A-Z]:/Documents and Settings/*/Local
>>>>>>>Settings/Temporary Internet Files"
>>>>>>>   WildDir = "[A-Z]:/WINNT/Temp"
>>>>>>>   WildDir = "[A-Z]:/temp"
>>>>>>>   WildFile = "*.tmp"
>>>>>>>   WildDir = "[A-Z]:/tmp"
>>>>>>>   WildDir = "[A-Z]:/var/tmp"
>>>>>>>   WildDir = "[A-Z]:/RECYCLER"
>>>>>>>   WildFile = "[A-Z]:/pagefile.sys"
>>>>>>>   WildFile = "[A-Z]:/hiberfil.sys"
>>>>>>>  }
>>>>>>>  File = "C:/"
>>>>>>> }
>>>>>>>}
>>>>>>
>>>>>>Enable VSS sjould be in FileSet, not in include / options
>>>>>>there is my working fileset (with vss) :
>>>>>>
>>>>>>FileSet {
>>>>>>   Name = "fileset-fred"
>>>>>>   Enable VSS = yes
>>>>>>   Include {
>>>>>>     Options { signature = MD5 }
>>>>>>     File = "c:/Documents and Settings"
>>>>>>     File = "d:/projects"
>>>>>>   }
>>>>>>}
>>>>>>
>>>>>>Regards,
>>>>>>F.
>>>>>>
>>>>>>
>>>>>>
>>>>>>-------------------------------------------------------



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.9.2/52 - Release Date: 7/19/2005




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to