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.
Questions tagged [volume-shadow-service]
97 questions
21
votes
4 answers
Accessing Volume Shadow Copy (VSS) Snapshots from powershell
I am attempting to create and access a Volume Shadow Copy snapshot using the Windows Power Shell in Windows 7. I found that I can create snapshots using the following via a previous superuser question:
(Get-WmiObject -list…

jordanm
- 33,009
- 7
- 61
- 76
8
votes
3 answers
Consistent backups in python
I'm working on a remote backup solution in python. The server part will run on Unix/Linux because it will use hard links for efficient incremental backups.
The client part, however, will have to run on Windows too, and file locking can be a…

julianjm
- 677
- 6
- 12
8
votes
4 answers
How to get the 'NextUSN' journal entry for a VSS snapshot?
after creating a VSS snapshot I'd like to be able to query the USN journal. Is this possible or is the USN journal not accessible from a VSS snapshot?
my goal is to be able to use the USN journal in an incremental backup between two VSS snapshots. …

stuck
- 2,264
- 2
- 28
- 62
7
votes
2 answers
Unexposing a snapshot in XP (Volume Shadow Copy)
Microsoft provides a way of mounting a read-only snapshot as a volume using their vshadow program. However, it does not provide a way to unmount the snapshot (I wonder what would happen if I deleted the snapshot?). Going through the documentation on…

Malfist
- 31,179
- 61
- 182
- 269
6
votes
3 answers
Volume Shadow Copy using Java
I am currently creating a backup application where we need a way to read files that are in use by other applications and we also want to minimize the locking the we incur on the users' files. Using Window's Volume Shadow Copy Service seems to be…

Yrlec
- 3,401
- 6
- 39
- 75
6
votes
4 answers
How to list all the modified files in a shadow-volume?
When a Restore Point is created, Windows starts monitoring the volume and any changes are recorded in a proprietory diff file inside System Volume Information folder.
Thorough VSS-SDK api, we can expose the volume, but it shows us the whole volume…

lalli
- 6,083
- 7
- 42
- 55
6
votes
6 answers
Windows Volume shadow copy error: 2155348129
Developing a VSS writer app:
see this error during backup, initiated by windows backup tool,
is there defined error codes for 2155348129 from Microsoft?
The backup operation that started at '2010-07-20T02:54:19.354000000Z' has failed because…

JMS77
- 558
- 2
- 5
- 13
5
votes
1 answer
How to use volume shadow copy using C# in vs2008
I'd like to make a C# application that uses Volume Shadow Copy Service for backup/restore.
How do I access the VSS API from C#?

Niranjan
- 813
- 2
- 12
- 33
5
votes
2 answers
Volume Shadow Copy (VSS) - Catastrophic failure
I have an issue with Volume Shadow Copies (VSS). This issue started a few days ago. I’ve tried MANY things from Google but cannot find a solution.
What’s frustrating (and surprising) is that even after I restored the computer to a sector-by-sector…

Zvi Twersky
- 399
- 1
- 5
- 25
5
votes
1 answer
Windows 10 how to create shadow storage on another drive without vssadmin create
I want to create shadow storage for one drive on another using Windows 10.
For server windows editions, there is:
vssadmin add shadowstorage /for= /on= [/maxsize=]
The add command is missing in Windows 10,…

is_this_taken
- 311
- 1
- 3
- 8
5
votes
1 answer
Using Volume Shadow Copy Service (VSS) from .NET - best method/project available?
I'd like to add VSS support to an application I'm developing and the only good packaged method available seems to be AlphaVSS, though it hasn't been actively developed in almost two years. Are there other projects out there that I just can't find,…

SqlRyan
- 33,116
- 33
- 114
- 199
4
votes
1 answer
Volume Shadow Copy in C++
I'm developing an application which will need to copy files that are locked. I intend on using the Volume Shadow Copy service in Windows XP+ but I'm running into a problem with the implementation.
I am currently getting E_ACCESSDENIED when…

JWood
- 2,804
- 2
- 39
- 64
4
votes
1 answer
Volume Shadow Copy (VSS) sample in C#?
I've seen the question here, but I'm having difficulty understanding how to implement a system to read existing shadow copies from my system.
Can someone provide a short sample of code that lets me browse existing shadow copies using either the MS…

Larry G. Wapnitsky
- 1,216
- 2
- 16
- 35
3
votes
1 answer
How to create a system restore point?
Installing paint.net, I found a string Creating system restore point...
I guess it is creating a restore point for Volume Shadow Service. -Isn't it? I'm not sure.
If I'm right, how do I do this in my app?
Let me know please if there are proper…

Benjamin
- 10,085
- 19
- 80
- 130
3
votes
1 answer
Using Volume Shadow Copy Service OK for backing up SQL Server Compact?
Would one expect a backup of a SQL Server Compact database file created with Volume Shadow Copy Service expected to be consistent? I know the big SQL Server has a VSS writer to ensure consistency. If a connection is writing out to a SQL Server…

Troy
- 1,237
- 2
- 13
- 27