In place VM restore | API

Last post 07-19-2019, 8:43 AM by KrisCross. 0 replies.
Sort Posts: Previous Next
  • In place VM restore | API
    Posted: 07-19-2019, 8:43 AM



    I want to perform an inplace restore using the postman collection.

    First I search for the GUID of the VM by using the call

    GET {{ServerUrl}}/VM.



    When I find the VM I take strGUID.

    This is the GUID I use in the call

    POST {{ServerURL}}/v2/vsa/vm/{{vmGuid}}/recover with strGUID as vmGUID.


    When I send this I get the following error: 

    "errorMessage": "Object reference not set to an instance of an object.",
    "errorCode": 102
    Am I using the wrong UID, if yes how do I find the correct one?


    Attachment: Capture.PNG
The content of the forums, threads and posts reflects the thoughts and opinions of each author, and does not represent the thoughts, opinions, plans or strategies of Commvault Systems, Inc. ("Commvault") and Commvault undertakes no obligation to update, correct or modify any statements made in this forum. Any and all third party links, statements, comments, or feedback posted to, or otherwise provided by this forum, thread or post are not affiliated with, nor endorsed by, Commvault.
Commvault, Commvault and logo, the “CV” logo, Commvault Systems, Solving Forward, SIM, Singular Information Management, Simpana, Commvault Galaxy, Unified Data Management, QiNetix, Quick Recovery, QR, CommNet, GridStor, Vault Tracker, InnerVault, QuickSnap, QSnap, Recovery Director, CommServe, CommCell, SnapProtect, ROMS, and CommValue, are trademarks or registered trademarks of Commvault Systems, Inc. All other third party brands, products, service names, trademarks, or registered service marks are the property of and used to identify the products or services of their respective owners. All specifications are subject to change without notice.
Copyright © 2020 Commvault | All Rights Reserved. | Legal | Privacy Policy