Open Welberg opened 11 years ago
One possibility is that the Volume Shadow Service is skipping those files by design. The registry keys HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\BackupRestore\FilesNotToBackup
and HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\BackupRestore\FilesNotToSnapshot
specify files that VSS - and therefore shadowspawn - will not put in a snapshot set. Does anything in there look like it's the problem?
The idea is to get a copy of the windows.edb file and copy it via robocopy. As robocopy does not copy any files I created a "DIR001".cmd. I start via Startup.cmd
Startup.cmd:
ShadowSpawn /verbosity=4 "C:\ProgramData\Microsoft\Search\Data\Applications\Windows" Q: DIR001.cmd > c:\vvh.txt 2>&1
DIR001.cmd dir C:\ProgramData\Microsoft\Search\Data\Applications\Windows dir Q:\ echo started Q:\vvh.txt echo started >Q:\vvh.txt
dir Q:\
OUTPUT vvh.txt ShadowSpawn (c) 2011 Craig Andera. shadowspawn@wangdera.com
Argument 0: ShadowSpawn Argument 1: /verbosity=4 Argument 2: C:\ProgramData\Microsoft\Search\Data\Applications\Windows Argument 3: Q: Argument 4: DIR001.cmd Calling CoInitialize ......... Calling SetBackupState Calling PrepareForBackup Waiting for call to PrepareForBackup to finish... Call to PrepareForBackup finished. Calling DoSnapshotSet Waiting for call to DoSnapshotSet to finish... Call to DoSnapshotSet finished. Calling GetSnapshotProperties Calling CalculateSourcePath Calling DefineDosDevice to mount device. Launching command: DIR001.cmd
I:\tools21>dir C:\ProgramData\Microsoft\Search\Data\Applications\Windows Het volume in station C heeft geen naam. Het volumenummer is 0ADF-2A7A
Map van C:\ProgramData\Microsoft\Search\Data\Applications\Windows
14/09/2013 21:11
I:\tools21>dir Q:\ Het volume in station Q heeft geen naam. Het volumenummer is 0ADF-2A7A
Map van Q:\
14/09/2013 21:55
I:\tools21>echo started Q:\vvh.txt started Q:\vvh.txt
I:\tools21>echo started 1>Q:\vvh.txt Het medium is tegen schrijven beveiligd.
I:\tools21>dir Q:\ Het volume in station Q heeft geen naam. Het volumenummer is 0ADF-2A7A
Map van Q:\
14/09/2013 21:55
What am I doing wrong/is going wrong?
Vincent