Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device.
Atlassian cookies and tracking notice, (opens new window)
Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
🔍 Discover Our Product Documentation

Intronis Backup
Results will update as you type.
  • Intronis Backup Release Notes
  • Initial Seed/Restore Drive for IBU
  • Getting Started with Intronis Backup (ECHOplatform)
  • Managing Intronis Backup (IBU)
    • Intronis Backup Agent
    • Managing IBU Branding
    • Using the Home Dashboard
    • Managing Multi-Factor Authentication
    • Managing Accounts
    • Manage Accounts/Packages
    • Managing Account Billing
    • Managing Partner Pricing
    • Viewing Reports and Logs
    • Managing Alert, Notification and Preference Templates
    • Software User Interface
    • Managing Backups and Restores
    • Intronis Backup Reference Articles
    • Managing Legacy IBU Integrations
    • Barracuda REST APIs for the Echoplatform Portal
    • Barracuda REST APIs for IBU
      • Authentication and Installation
      • Backup Set Operations APIs
      • Computer Settings APIs
      • Computer Software APIs
      • Operations And Backup Set Subaccount Creation APIs
      • Files and Folders Backup Set Creation APIs
      • Disk Image Standard Backup Set Creation APIs
      • Partner API Calls
      • Restore Files and Folders APIs
      • Restore Images APIs
        • Browsing Disk Image Standard for Volume Restoration API
        • Restore Disk Image Standard as Virtual Disks API
        • Restore Disk Image Standard as Virtual Machine API
          • Obtaining a Revision's Hardware Configuration
          • Registering a Remote Hyper-V Host
          • Create Hyper-V Host Browsing Session
          • Registering a Local Hyper-V Host
          • Get registered Hyper-V hosts
          • Connecting to a Registered Hyper-V Host
          • GET Virtual Switches of a Registered Hyper-V Host
          • Obtaining Capabilities of a Hyper-V Host
          • Obtaining Settings of a Registered Hyper-V Host
        • Restore Disk Image Standard as VM Validations API
        • Restore as Virtual Machine API
    • IBU Best Practices
  • Contacting Partner Support
  • Troubleshooting Volume Shadow Copy Problems
  • Allocating Shadow Copy Storage Space
  • VSS Error Message: Snapshots were found, but they were outside of your allowed context
  • The VSS Writer Is in a Bad State
  • Fixing Problems with Volume Shadow Copy
  • Creating a VSS Shadow Copy Independently

    You‘re viewing this with anonymous access, so some content might be blocked.
    /
    Obtaining Capabilities of a Hyper-V Host
    Published May 04, 2022

    Obtaining Capabilities of a Hyper-V Host

    May 04, 2022
    Subscribe

    This API can be used for manual validation purposes when a user wishes to choose a Hyper-V host for restoring the selected volumes on specific host.

    Alternately, one can use the Host Capabilities Validation API.

    The volumes selected for restore belong to a specified OS firmware type. The selected host must be compatible with the original backed up host.

    The role of this API is to allow a user to find out if the selected revisions and host are compatible, before actually performing the restore operation.

    Note: the selected volume's hardware configuration can be obtained via the "Obtaining a revision's hardware configuration" call.

    This section includes the following topics:

    • Input Parameters

    • Output Parameters

    Input Parameters

    The following table provides the parameters and descriptions.

    Parameter

    Description

    id

    Integer. Numeric host id, id of the host, either obtained when it was registered the first time, or via the Get registered hosts API call.

    sessionId

    String. Containing a GUID, obtained via a call to API Hyper-V Create Host Browsing Session.

     

    Example

    {

     "id": 2,

      "sessionId": "5d05495f-39e5-4e4e-ad0c-e351cc2c78f3"

    }

    Output Parameters

    The following table provides the parameters and descriptions.

    Parameter

    Description

    supportsVmGenerations

    Boolean.

    If …

    Then…

    false

    it is either a 2008 R2 or 2012 Hyper-V host so certain validations are necessary, in the form below:

    UEFI cannot be used, Message: "When restoring to a 2008 R2 or 2012 server you cannot select UEFI firmware."

    supportsVhdxFormat  is also false

    this is actually a 2008 R2 hypervisor).

    the OS version of the restored revision is Windows 10 or Windows 2016 Server

    "Restoring to a Windows Server 2008 R2 host is not supported on VMs running Windows 10 or Windows Server 2016 with the latest updates installed."

    selected boot volumes size is greater than 2 TB

    the revision cannot be selected for restore. Message: "Cannot restore an EFI boot volume to Hyper-V 2008, 2008 R2, or 2012."

    selected boot volume is greater than 2 TB, supportsVhdxFormat  is true (which means that the selected host is Windows 2012, by exclusion, since supportsVmGenerations  = false which excludes Windows 2008 R2 )

    that host is incompatible with the selected volumes. Message: "Windows Server 2012 does not support boot volumes over 2TB in size. Please select another destination host to continue."

    when true

    if supportsVhdxFormat  is false

     

    selected volume size is greater than 2 TB

    host cannot be selected for restore. Message: "Due to a limitation of the VHD file type, volumes greater than 2040 GB can only be restored on 2012/R2 host."

    supportsVmDynamicMemory

    Boolean. Denotes whether dynamic memory allocation is supported. Parameter is not currently used.

    supportsVhdxFormat

    Boolean. Use this result during the restore to restrict usage of VHD format in case the host doesn't support VHDX. Also, use in conjunction with supportsVmGenerations.

    Error Codes

    ErrorCode.HostNotInCatalog - if the provided id integer from Input section does not point to a valid Hyper-V server (the correct ids can be obtained via get list of hosts).

    Example POST

    POST /v2/accounts/test_acc/computers/0000/restore/hyperv/host/capabilities

    Input Parameters

    {

        "id": 1,

        "sessionId": "string"

    }

    Output parameters

     

    Response status: 200 Accepted (for online operation)

     

    Response body:

     

    {

      "data": {

        "supportsVmGenerations":true,

        "supportsVmDynamicMemory":true,

     

            "supportsVhdxFormat":true

     }

    }

    Output Parameters

    Response status: 200 Accepted (for online operation).

    Example Response

    {

      "data": {

        "supportsVmGenerations":true,

        "supportsVmDynamicMemory":true,

     

            "supportsVhdxFormat":true

     }

    }




    We value your feedback.
    If you have questions, suggestions, or feedback on our documentation, contact the Campus Product Documentation team.
    For general product inquiries or technical support, please contact the global Barracuda Support team.

    {"serverDuration": 28, "requestCorrelationId": "0a1d3a01353a46bd8018e84f57b25d6b"}