question

richealnull-9842 avatar image
0 Votes"
richealnull-9842 asked YuhanDeng-MSFT edited

root\virtualization\v2 ExportSystemDefinition AVHDX

I use root\virtualization\v2 ExportSystemDefinition , I only want to export the disk configuration file, if I do not choose to export the disk, it will generate AVHDX files, I cannot delete them
https://docs.microsoft.com/zh-cn/windows/win32/hyperv_v2/exporting-the-configuration-of-a-virtual-machine
That's my choice
exportSettingData["CopySnapshotConfiguration"] = 1;
exportSettingData["CopyVmRuntimeInformation"] = false;
exportSettingData["CopyVmStorage"] = false;
exportSettingData["CreateVmExportSubdirectory"] = true;
exportSettingData["CaptureLiveState"] = 0;
I can get the configuration file for it, but it will have an AVHDX file in the disk directory

i need help,What should I do

windows-server-hyper-v
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

YuhanDeng-MSFT avatar image
0 Votes"
YuhanDeng-MSFT answered richealnull-9842 commented

Hi Richeal,
Generally speaking,to export the vmcx file is like to take a snapshot of the vm at the moment you took the action. The vmcx file you get would be the configuration information at that certain point. Thus,there would be data difference,so that the avhdx file would be created in case you want to restore the vm to that certain point.

Thanks for your understanding.
Best Regards,
Danny


If the Answer is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

how do i merge avhdx ,What interfaces can merge AVHDX?

0 Votes 0 ·
YuhanDeng-MSFT avatar image
0 Votes"
YuhanDeng-MSFT answered YuhanDeng-MSFT edited

Hi Richeal,
To merge the avhdx files manually you can refer to this article:
https://www.nakivo.com/hyper-v-backup/merge-hyper-v-snapshots-step-step-guide/
Please note: Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.

Thanks for your time,
Best regards,
Danny

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you for your answer

0 Votes 0 ·

Hi Richeal,
Thanks for your feedback. If you have any other concern,please feel free to let us know.

Have a nice day.
Best regards,
Danny

0 Votes 0 ·