Questions tagged [volume-shadow-service]

Volume Shadow Service (VSS), also called Volume Shadow Copy refers to a volume shapshot service built in to Microsoft Windows Operating Systems from XP or greater. Questions concerning the API should use this tag; you may also consider tagging your question Windows and the language of your choice.

97 questions
3
votes
3 answers

List of well known VSS Writer GUIDs

Is there a consolidated list of GUIDs for well known VSS writers available somewhere? At least the Microsoft ones like System State, Exchange, SQL, Sharepoint etc.
Hannes de Jager
  • 2,903
  • 6
  • 37
  • 57
2
votes
1 answer

Can the Volume Shadow Copy service be used in Windows 7 by a non-administrator

I'm trying to use the Volume Shadow Copy service on Windows 7, and have had a look at the MS vshadow code and AlphaVSS. These appear to provide enough detail to do what I need, but I can't make anything work unless in Administration mode - I get…
Richard Petheram
  • 805
  • 12
  • 16
2
votes
1 answer

Can C# call Volume Shadow Copy Service APIs (writer related), can how if yes?

I'd like to query backup sources from certain VSS writer in my C# project. Is this possible? And how to do this if yes? I've searched google but did not find useful answers. Any idea is appreciated.
McArthor Lee
  • 307
  • 1
  • 4
  • 12
2
votes
6 answers

C++ DLL which can inform a calling program about its progress

My boss wants me to write a DLL in C++ (MSVC++2010) which can perform a Volume Shadow Copy which he can call from VB6 (or at a later point other languages) and which can give status updates back while it is not finished. He calls it "events". I have…
Felix Dombek
  • 13,664
  • 17
  • 79
  • 131
2
votes
1 answer

Cannot access Volume Shadow Copy until it is accessed via GUI [powershell]

I'm writing a simple powershell script that would automate offsite backup from Windows file server to another remote Windows server. Files might be in use, so in order for Robocopy to sucessfully copy them I need to copy the files from last…
2
votes
0 answers

VSS Hardware Provider Get_TargetLuns copy serial number in m_rgbIdentifier

In Get_Targetluns, i cloned the ZFS volume and shared with targetGroups and get the serial number of the disk My serial number is in the form of 69 71 6e 2e 32 30 31 30 2d 30 38 2e 6f 72 67 2e In BSTR string i get the serial number in form of…
asvignesh
  • 787
  • 2
  • 6
  • 32
2
votes
1 answer

vss intializefor backup fails with return code E_UNEXPECTED

#include "vss.h" #include "vswriter.h" #include #include #define CHECK_PRINT(result) printf("%s\n",result==S_OK?"S_OK":"error") int main(int argc, char* argv[]) { BSTR xml; LPTSTR errorText; IVssBackupComponents…
suresh
  • 4,084
  • 10
  • 44
  • 59
2
votes
2 answers

How to copy a file while it's being written as fast as possible?

TL/DR: I have two machines: A and B. I make a testing program, to test the medium (interface) between them - I check for errors when copying file from A to B and then from B to A, but I must do it the fastest I can. So I have on A source file: SRC,…
Tar
  • 8,529
  • 9
  • 56
  • 127
2
votes
1 answer

Writing a volume shadow service writer in C#

Has anyone done this? I have found the AlphaVSS project on Codeplex, but is stops short of providing a way to implement a writer.
Ries
  • 2,844
  • 4
  • 32
  • 45
2
votes
2 answers

Shadow copy error using Alphavss

iI am trying to use the sample code provided on the site alphavss. I am trying to include the class VssBackup.cs and then use this in my program. Most likely I am missing a dll reference but I am not getting any errors on the using components.…
user1438082
  • 2,740
  • 10
  • 48
  • 82
2
votes
1 answer

How to implement GetTargetLUNs in vss Hardware provider?

I am implementing VSS Hardware provider for ZFS based iSCSI Target. We have implemented AreLunSupported, precommitsnapshot and commitsnapshot etc functions and till this point it is working fine. But after this it is failing with…
thar2012
  • 21
  • 2
2
votes
1 answer

Skip GetTagetLuns, LoacteLuns and FillinLunInfo in VSS HW Provider

I am writing VSS Hardware provider and am able to create snapshot.Accordingly when traced with tracing tools I notice that upto PostCommitSnapshot is all perfect .After PostCommit Snapshot for The Auto Import of Shadow copies GetTagetLuns,…
ants
  • 66
  • 6
2
votes
1 answer

Volume Snapshot Service - ignore FilesNotToSnapshot

I'm using Volume Snapshot Services (VSS) to backup a drive. By default all files listed under HKLM\SYSTEM\CurrentControlSet\Control\BackupRestore\FilesNotToSnapshot are deleted from the snapshot by VSS. How can I make VSS to keep those files? There…
Isso
  • 1,285
  • 11
  • 23
2
votes
1 answer

Selectively restore files using VSS

I want to write an application that will monitor the files that are modified by a "client" application (with all its processes) and will restore them to the original state when the client app's execution is finished. Can this be achieved using…
Byakkun
  • 97
  • 10
2
votes
0 answers

VSS failure due to shadow storage size

I have used VSS API to make snapshot of C:. The program fails with VSS exception. But when I try to create snapshot of same volume using VSS Admin it completes successfully. I found the shadow storage space is less then 300 mb and hence it caused…
user1071321
  • 61
  • 2
  • 10