Closed candera closed 13 years ago
Closing as “can’t repro”. It looks like this error is probably due to the fact that the robocopy command line has mismatched quotes. The changes we made for #6 should mean that this results in a usage error, making the mistake more clear.
After further investigation, it looks like this is due to backup software being installed (see the email thread here ). It's possible that the issue is that it's picking up one of the other providers, which is not well-behaved. We need to figure out if we can specify which provider to use.
Looks like IVssBackupComponents::AddToSnapshotSet has a place to select the backup provider. The OP provided this output of vssadmin list providers
:
vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool (C) Copyright 2001-2005 Microsoft Corp. Provider name: 'StorageCraft Volume Snapshot Software Provider' Provider type: Software Provider Id: {24602736-bed9-4619-91b0-243447c6409c} Version: 1.0.0.0 Provider name: 'Microsoft Software Shadow Copy provider 1.0' Provider type: System Provider Id: {b5946137-7b9f-4925-af80-51abd60b20d5} Version: 1.0.0.7
And some research on the Internet suggests that the StorageCraft provider can be problematic.
Currently, we're passing GUID_NULL to AddToSnapshot set, which may select the StorageCraft provider. By explicitly specifying the Microsoft provider, we may be able to avoid this problem.
Background
A user reports here that launching Robocopy via ShadowSpawn results in the error
Since using Robocopy is the primary use case for ShadowSpawn, we need to figure out why it is failing.
Expected Behavior
When launched via ShadowSpawn, Robocopy should work the same as when launched without.