Take this (certainly simplified) description from the HoboCopy tool:

HoboCopy is a backup/copy tool. (...) It uses the Volume Shadow Service (VSS) to "snapshot" the disk before copying. It then copies from the snapshot rather than the "live" disk.

Since Windows allows applications to fully lock files for read+write access I was wondering how Volume Shadow Copy Service handles locked files. (Locked as in an application does not share any access to a file it has opened, thereby essentially preventing any xcopy style backup of said file.)

Since Windows apps do their fair amount of locking, is there any chance to ever get a consistent backup this way?

link|improve this question

48% accept rate
feedback

2 Answers

Sounds like VSS will copy locked files just fine. You should get copy of the file as it was when the shadow copy was created.

link|improve this answer
feedback

Shadow Copy creates a read-only snapshot of the filesystem exactly as it looked at that time, irrespective of any file locks. (They are usually intended to prevent programs from using a file that is being modified by another program; this is not an issue with VSS as you get a static copy.)

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.