Simple Shadow Copy Creation for Backup
There are a number of different types of shadow copy a requester can create. However, for most backup applications, you would do the following:
- Call IVssBackupComponents::SetContext with a context of VSS_CTX_BACKUP.
- Call IVssBackupComponents::GatherWriterMetadata to initialize communication with writers.
- Call IVssBackupComponents::AddComponent to add file and database components to the backup.
- Call IVssBackupComponents::StartSnapshotSet to initialize the shadow copy mechanism.
- Call IVssBackupComponents::AddToSnapshotSet to include volumes in the shadow copy.
- Call IVssBackupComponents::PrepareForBackup to notify writers of backup operations.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for