I've also tested the same with another program called restic. With restic
iam able to backup the data from the vss-snapshot.
I also tried to run the bareos-fd as different user (local-administrator)
Any ideas?
Best,
Timo
Vorname Nachname schrieb am Montag, 7. Februar 2022 um 08:20:01 UTC+1:
> Hello,
>
> iam struggeling setting up the VSS-Support. Keep telling me, that the file
> is used by another process.
>
> Fileset:
> ```bash
> FileSet {
> Name = "client01-FileSet-2"
> Enable VSS = yes
> Include {
> Options {
> Signature = MD5
> Drive Type = fixed
> IgnoreCase = yes
> WildFile = "[A-Z]:/hiberfil.sys"
> WildFile = "[A-Z]:/pagefile.sys"
> WildFile = "[A-Z]:/swapfile.sys"
> WildDir = "[A-Z]:/RECYCLER"
> WildDir = "[A-Z]:/$RECYCLE.BIN"
> WildDir = "[A-Z]:/System Volume Information"
> Exclude = yes
> }
> File = "C:/Users/User/NTUSER.dat"
> File = "C:/ProgramData/Veeam/EndpointData"
> }
> }
> ```
>
> Log:
> ```bash
> ...
> 07-Feb 08:16 bareos-dir JobId 93: Start Backup JobId 93,
> Job=client01-Job.2022-02-07_08.16.56_00
> 07-Feb 08:16 bareos-dir JobId 93: Connected Storage daemon at
> xxxxxxxxx.de:9103, encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
> 07-Feb 08:16 bareos-dir JobId 93: Using Device "S3_ObjectStorage" to write.
> 07-Feb 08:16 bareos-dir JobId 93: Probing client protocol... (result will
> be saved until config reload)
> 07-Feb 08:16 bareos-dir JobId 93: Using Client Initiated Connection
> (client01).
> 07-Feb 08:16 bareos-dir JobId 93: Handshake: Immediate TLS
> 07-Feb 08:16 bareos-sd JobId 93: Volume "client01-full-0013" previously
> written, moving to end of data.
> 07-Feb 08:17 bareos-sd JobId 93: Ready to append to end of Volume
> "client01-full-0013" size=593072728
> 07-Feb 08:16 client01 JobId 93: Created 27 wildcard excludes from
> FilesNotToBackup Registry key
> 07-Feb 08:16 client01 JobId 93: Connected Storage daemon at
> xxxxxxxxx.de:9103, encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
> 07-Feb 08:17 client01 JobId 93: Generate VSS snapshots. Driver="Win64
> VSS", Drive(s)="C"
> 07-Feb 08:17 client01 JobId 93: VolumeMountpoints are not processed as
> onefs = yes.
> 07-Feb 08:17 client01 JobId 93: Cannot open
> "C:/Users/User/NTUSER.dat": ERR=The process cannot access the file because
> it is being used by another process.
> 07-Feb 08:17 client01 JobId 93: Cannot open
> "C:/ProgramData/Veeam/EndpointData/VeeamBackup.mdf": ERR=The process cannot
> access the file because it is being used by another process.
> 07-Feb 08:17 client01 JobId 93: Cannot open
> "C:/ProgramData/Veeam/EndpointData/VeeamBackup_log.ldf": ERR=The process
> cannot access the file because it is being used by another process.
> 07-Feb 08:17 client01 JobId 93: VSS Writer (BackupComplete): "Task
> Scheduler Writer", State: 0x1 (VSS_WS_STABLE)
> 07-Feb 08:17 client01 JobId 93: VSS Writer (BackupComplete): "VSS Metadata
> Store Writer", State: 0x1 (VSS_WS_STABLE)
> 07-Feb 08:17 client01 JobId 93: VSS Writer (BackupComplete): "Performance
> Counters Writer", State: 0x1 (VSS_WS_STABLE)
> 07-Feb 08:17 client01 JobId 93: VSS Writer (BackupComplete): "System
> Writer", State: 0x1 (VSS_WS_STABLE)
> 07-Feb 08:17 client01 JobId 93: VSS Writer (BackupComplete):
> "SqlServerWriter", State: 0x1 (VSS_WS_STABLE)
> 07-Feb 08:17 client01 JobId 93: VSS Writer (BackupComplete): "MSSearch
> Service Writer", State: 0x1 (VSS_WS_STABLE)
> 07-Feb 08:17 client01 JobId 93: VSS Writer (BackupComplete): "WMI Writer",
> State: 0x1 (VSS_WS_STABLE)
> 07-Feb 08:17 client01 JobId 93: VSS Writer (BackupComplete): "ASR Writer",
> State: 0x1 (VSS_WS_STABLE)
> 07-Feb 08:17 client01 JobId 93: VSS Writer (BackupComplete): "BITS
> Writer", State: 0x1 (VSS_WS_STABLE)
> 07-Feb 08:17 client01 JobId 93: VSS Writer (BackupComplete): "Registry
> Writer", State: 0x1 (VSS_WS_STABLE)
> 07-Feb 08:17 client01 JobId 93: VSS Writer (BackupComplete): "Shadow Copy
> Optimization Writer", State: 0x1 (VSS_WS_STABLE)
> 07-Feb 08:17 client01 JobId 93: VSS Writer (BackupComplete): "COM+ REGDB
> Writer", State: 0x1 (VSS_WS_STABLE)
> 07-Feb 08:17 bareos-sd JobId 93: Releasing device "S3_ObjectStorage" (S3).
> 07-Feb 08:17 bareos-sd JobId 93: Elapsed time=00:00:16, Transfer rate=186
> Bytes/second
> 07-Feb 08:17 bareos-dir JobId 93: Insert of attributes batch table with 4
> entries start
> 07-Feb 08:17 bareos-dir JobId 93: Insert of attributes batch table done
> ...
> ```
>
> Any suggestions?
>
> Best,
> Timo
>
--
You received this message because you are subscribed to the Google Groups
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/bareos-users/232fa1c5-b037-4a6c-90d2-016839d3afa0n%40googlegroups.com.