Using Volume Shadow Copy Service (VSS) from .NET - best method / project?

I would like to add VSS support to the application I'm developing, and the only good package method available is AlphaVSS , although it was not actively developed after almost two years. Are there other projects that I just can't find, or is there an easier way to access the "API" (if you can call it)?

+5
source share
1 answer

Could you use the Win32_ShadowCopy WMI class . I don't have a C # sample, but working with WMI is usually better in PowerShell anyway:


function global:CREATE-SHADOW ( $Drive ) { 
  (Get-WmiObject -list win32_shadowcopy).Create($Drive,"ClientAccessible") 
}

: http://www.energizedtech.com/2010/04/powershell-creation-of-a-shado.html

+1

All Articles