6

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

Raystafarian
  • 21,963
  • 12
  • 64
  • 91
Franck
  • 61
  • 1
  • 1
  • 2

2 Answers2

2

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.

Oliver Salzburg
  • 89,072
  • 65
  • 269
  • 311
2

There is a open source project called HoboCopy which is a bit of a clone of RoboCopy but it will natively use the Volume Shadow Copy Service when trying to create it's backups.