Click here to Skip to main content
15,881,380 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have 4 HyperV virtual operating systems running on Windows Server 2008 R2 and 2012 Server R2. I am looking for developing a C# Console Application to back up these machines (Exporting as VHD) every week automatically. Is there any way how I can do this?

What I have tried:

Tried Google but couldn't find any ways to do this.
Posted
Updated 16-Dec-17 9:13am
v2

1 solution

Hi,

instead of rolling your own solution in C#, you might have a look at this:
Full Backup of Hyper-V Virtual Machines - PowerShell Script (Update 3.7)[^]

More info also here: Backing Up and Restoring Virtual Machines[^]
and here: Exporting a Snapshot of a Virtual Machine (C#)[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900