3

We are running a test install of Hyper-V Server 2008 (Stand Alone Free Version).

I was wondering if there is anyway to backup the VHD's using the command line as this is all you have. I know you can use System Center Data Protection Manager but this costs a fortune. We don't mind if they pause the VM's for a few minutes. :)

Any help would be great. Thanks Al

1 Answers1

2

If you have Hyper-V Server 2008 R2 you can enable PowerShell (Link) and then use the PowerShell Management Library for Hyper-V available on codeplex.

The PowerShell library will allow you to script the pausing/shutdown of virtual machines before backing up the VHD files and restarting them automatically. There are several commands in the library listed under, Backing up, exporting and snapshotting VMs.

Glorfindel
  • 1,213