Hi all.
I assume that this is not the correct place to post this question. If so, please point me to the correct place.
Here is my question:
I want to create an application that will backup files. I want to prevent locking the files during the backup. So, I want to use Volume Shadow Copy service.
This is what I need to do (I think so):
- implement a requestor that will tell VSS to create a shadow copy of the specified files
- get the location of the shadow copy of the files from VSS
- backup the files from the shadow copy location.
Can I make direct calls to the VSS API from c# (using PInvoke)? Or I need to create a C++ library that will implement the requestor?
Any examples that can guide me?
Or maybe another approach?
Thank you very much.