Digressive / HyperV-Backup-Utility

Flexible Hyper-V Backup Utility
https://gal.vin/posts/vm-backup-for-hyper-v/
MIT License
125 stars 40 forks source link

why only copying is used? Isn't it better for backups to use VM Export? #3

Closed mrPsycho closed 4 years ago

mrPsycho commented 5 years ago

Hello,

as i understand how it works - you just copy and paste all the stuff. also, it is needed that VM will be stopped.

drawbacks are obvious:

but, as i know exporting allows to get exact copy of VM in one file, which can be easily restored...

or i'm totally wrong?

Digressive commented 4 years ago

Hi,

Exporting doesn't give you an exact copy of a VM in one file, it just performs a copy of all the files needed for the VM.

Normally you would and should just use VM export, but in situations where you can't this script will enable you to still perform a VM Export type function. The VM needs to be shutdown because otherwise the files are locked.

Restoring is simple, you point Hyper-V to a folder of a good backup and perform an import.