Mark Minasi's Tech Forum
Register Calendar Latest Topics
 
 
 


Reply
  Author   Comment  
Protech

Avatar / Picture

New Friend (or an Old Friend who Built a New Account)
Registered:
Posts: 41
Reply with quote  #1 

Hi guys,

I am looking to find a the best way to "copy" VHD's / VM's to an external hard drives, in order to take them of site as a last resort DR backup.
I know there are many ways to take back-ups, but this is the method I have been tasked with finding a solution for.

We have a HyperV host and a HyperV replica Servers. Both Servers are running HyperV core so there is no GUI.

In simple terms ideally I am looking for a batch file / script or app that can do this.

1: Stop or pause a VM
2: Copy it to USB
3: Restart the VM

Pretty straight forward? But it raisies a few initial thoughts...

- Stopping the main running VM's would be disruptive, so I am thinking that the method should run on the replica server?
- Is it enough just to copy the VHD's and any checkpoint files etc?
- Would it be better to do an acutal "export" rather than a copy?
- Is it safe to export a running VM?

Any thought on this appreicated.

Cheers

PT

0
cj_berlin

Avatar / Picture

Senior Member
Registered:
Posts: 288
Reply with quote  #2 
Hi,

just a couple of thoughts, in no particular order:

  1. You can safely export a running VM. The only real drawback is that you'll be exporting the memory as well.
  2. Export is better than a VHD copy because this way you have the VM config in the backup along with the disk data.
  3. Checkpoint files? You don't want any lingering checkpoints in production.
  4. If I were to script this, I would always export a primary VM and suspend the replication until the export is completed.
  5. An even better way would be the Windows Server Backup wich coordinates VSS snapshots and VM exports.

FWIW

__________________
Evgenij Smirnov

My personal blog (German): http://www.it-pro-berlin.de/
My stuff on PSGallery: https://www.powershellgallery.com/profiles/it-pro-berlin.de/
0
Protech

Avatar / Picture

New Friend (or an Old Friend who Built a New Account)
Registered:
Posts: 41
Reply with quote  #3 
Thanks for the advice [smile]

PT
0
Wes

Senior Member
Registered:
Posts: 232
Reply with quote  #4 
Just get the free version of Altaro VM backup.  It'll provide you full featured backup for 2 VMs per host for free forever.

Not quite as slick as Veeam but great for no/low budget.
0
Protech

Avatar / Picture

New Friend (or an Old Friend who Built a New Account)
Registered:
Posts: 41
Reply with quote  #5 
Thanks guys,

Apart for the obvious (slight time delay 15 Mins), is there any difference in doing an export from the main Hyper-V host or a replica Hyper-V host?

Thanks
0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.