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)
/
Registering a Remote Hyper-V Host
Published May 04, 2022

Registering a Remote Hyper-V Host

May 04, 2022
Subscribe

This means that the agent is installed on the Hyper-V host which is being registered.

This section includes the following topics:

  • Input Parameters

  • Output Parameters

Input Parameters

The following table provides the parameters and descriptions.

Parameter

Description

sessionId

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

hostName

Name of the remote computer where Hyper-V is running. The agent will attempt to connect to this host.

authenticationMode

String. Allowed values are Sspi or Credentials.

credentials

Allows entering a username and password when authenticationMode = Credentials.

 Example

Example for credential based auth on a remote host:

{

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

 "hostName": "TestComputer1",

 "authenticationMode": "credentials",

 "credentials": {

    "userName": "user1",

    "password": "password1"

 }

)

Output Parameters

The following table provides the parameters and descriptions.

Parameter

Description

identifier

id

Integer. Store this value as needed by the final restore as virtual machine API call.

hostName

String. Store this value in case you want to use it as the virtual machine name part of the restore as VM API call.

hostUnsupported

Boolean. When false, means the host is not supported, and the reason can be found via the hostUnsupportedReason parameter. When true, hostUnsupportedReason is value 0.

hostUnsupportedReason

Integer. Showing the reason why the host is unsupported. Value is 0 when hostUnsupported = false. The following values are possible:

  • 0 = None - this means all is ok.

  • 1 = VhdUefiNotSupported, , this value cannot be obtained in case of Disk image standard restore. However, it is applicable for Disk Image QuickSpin rapid recovery restores, for recovery media stored in VHD format. When this value is returned, and Uefi volumes are being restored in the restore API call, a warning message can be displayed: "Cannot restore an UEFI boot volume stored in VHD format."

  • 2 = Gen1UefiNotSupported, when this value is returned, and Efi boot volumes are being restored in the restore API, a warning message can be displayed: "Cannot restore an EFI boot volume to Hyper-V 2008, 2008 R2, or 2012."

  • 3 = BackupMediaFormatNotSupported, this value cannot be obtained in case of Disk image standard restore. However, it is applicable for Disk Image QuickSpin rapid recovery restores, for recovery media stored in VHDX format. Explanation: "Cannot restore to host. One or more volumes are stored in VHDX format and cannot be restored to Hyper-V 2008/R2. Backups are stored in VHDX format if the storage location was 4K native or if the source volumes are over 2TB in size or were on a system running Windows 8 or later."

  • 4 = VirtualizationScopeNotFound, if this value is returned, the following error needs to be displayed "The restore destination host needs to be Windows Server 2008 R2 or above."

 

Example

{

    "identifier": {

        "id": 2

    },

    "hostName": "TestComputer1",

    "hostUnsupportedReason": 0,

    "hostUnsupported": false

}

Example POST

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

Input Parameters

 

{

    "sessionId": "e0b73795-9c48-429f-8a29-ec43831ca157",

    "hostName": "WIN-3BUJ2MBR3RE",

    "authenticationMode": "sspi"

}

Output Parameters

Response status: 200 Accepted (for online operation)

 

Example Response

{

 "data": {

  "identifier": {

  "id": 2

  },

  "hostName": "win-3buj2mbr3re",

  "serverState": 0,

  "serverStateReason": 0,

  "hostUnsupportedReason": 0,

  "hostUnsupported": false

  }

 }

}




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.

🔍 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.
    {"serverDuration": 32, "requestCorrelationId": "fd4f436d43ff42b48b9752222de1dc98"}