Unable to convert existing snapshot to ReferencePoint. RRS feed

  • Question

  • Hello!

    I'm trying to implement fast backup tool for Windows Server 2016+ Hyper-V (configuration 8+). I am using  C++ COM WMI. I was able to successfully create a snapshot and wait for Job is done but get in trouble to convert it to ReferencePoint. For this purpose I use  ROOT\virtualization\v2 namespace, ConvertToReferencePoint method of the Msvm_VirtualSystemSnapshotService class. Incoming parameters field with: AffectedSnapshot contains __PATH of Msvm_VirtualSystemSettingData (Checkpoint settings for the virtual machine.), ReferencePointSettings left empty because it noted in docs as optional. After method executing new Job not created (Job out param) is null and ReturnValue  is 32770 (vendor specific range). 

    What am I doing wrong?

    • Edited by lukash256 Friday, April 12, 2019 4:13 PM
    Friday, April 12, 2019 4:12 PM

All replies