Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2007 Oct : Volume Shadow Copy - BackupComplete and VSS_E_BAD_STATE

www.cryer.info
Managed Newsgroup Archive

Volume Shadow Copy - BackupComplete and VSS_E_BAD_STATE

Subject:Volume Shadow Copy - BackupComplete and VSS_E_BAD_STATE
Posted by:"Roger Green" (rgreen_nospam@kemi.umu.se)
Date:Tue, 23 Oct 2007 11:55:04

Hello!

I'm using and testing VSS both on Xp and 2003. I use

CreateVSSBackupComponents();
InitializeForBackup();
SetBackupState();
GatherWriterMetadata();
StartSnapshotSet();
AddToSnapshotSet();
PrepareForBackup();
DoSnapshotSet();
GetSnapshotProperties();
VssFreeSnapshotProperties();
BackupComplete();

Every function works well on 2003. On XP all funcions work OK but
BackupComplete returns always VSS_E_BAD_STATE even when the files are
succesfully copied. (using every posible installed writer). This has been
tested on different XP machines and differents Service packs / patchs to
exclude some bad VSS installation or something.... Anybody experimenting the
same problem?

Replies:

www.cryer.info
Managed Newsgroup Archive