How to use Volume Shadows Copy and Robocopy on Win7


I’d like to backup my system with Robocopy and Powershell, but Robocopy is not able to copy open files. Volume Shadows Copy seems a solution but I can’t find any clear and simple explanation on how to use it. Is there any documentation out there that is clear and simple?

I’m running on Windows 7 x64 Enterprise. Thanks for your help. Franck

Best Answer

  • Check out the WMI Win32_ShadowCopy class. It has a Create method:

    (Get-WmiObject -list win32_shadowcopy).Create("C:\","ClientAccessible")

    I like DriveImage XML as a fully built VSS backup solution. It's free.

  • Related Question