RecoveryLocations

The /RecoveryLocations resource collection represents all recovery locations configured in Orchestrator. The collection includes resources which represent individual recovery locations and have specific system IDs.

NOTE
A range of data available to a client in the Orchestrator REST API depends on permissions of the account under which the client is currently logged in.

Get Collection of Recovery Locations

The HTTP GET request to the /RecoveryLocations endpoint retrieves a list of all configured recovery locations in Orchestrator.

SecurityuserAuth
Request
query Parameters
start
integer <int32>

Excludes the first N items of a resource collection from the response.

limit
integer <int32>

Specifies the maximum number of items of a resource collection to return in a response.

Array of objects (Expression)
Deprecated

Obsolete parameter. Use the actionFilters parameter instead.

Array of objects (SortQuery)

Specifies the order of items of a resource collection in the response. To learn how to use the sort parameter, see the Veeam Recovery Orchestrator REST API Reference, section Sort Parameter.

Array of objects (Expression)

Returns only specific items of a resource collection in the response. To learn how to use the actionFilters parameter, see the Veeam Recovery Orchestrator REST API Reference, section ActionFilters Parameter.

Responses
200

OK

401

Unauthorized request. The authorization header has been expected but not found (or found but expired).

500

Internal server error.

get/api/v13.1/RecoveryLocations
Request samples
Response samples
application/json
{
  • "total": 1,
  • "data": [
    ]
}

Get VMware vSphere Recovery Location Data

The HTTP GET request to the /RecoveryLocations/Restore/{id} endpoint retrieves a representation of a VMware vSphere recovery location with the specified ID.

SecurityuserAuth
Request
path Parameters
id
required
string <uuid>

System ID assigned to a recovery location.

Responses
200

OK

401

Unauthorized request. The authorization header has been expected but not found (or found but expired).

500

Internal server error.

get/api/v13.1/RecoveryLocations/Restore/{id}
Request samples
Response samples
application/json
{
  • "computeGroups": [
    ],
  • "reIpRules": [
    ],
  • "vCenterNetworkMappingRules": [
    ],
  • "cpuPressureThreshold": 1,
  • "storagePressureThreshold": 1,
  • "instantVmRecovery": true,
  • "vbrServerId": "df630c31-4780-4e73-b434-6cf202d154be",
  • "repositoryRules": [
    ],
  • "backupLocation": "Any",
  • "enforceDataSovereignty": true,
  • "storageGroups": [
    ],
  • "physicalNetworkMappingRules": [
    ],
  • "id": "4862e7c9-2125-463a-b095-f87857cbcdd8",
  • "type": "Restore",
  • "name": "Dept01 RL",
  • "description": "Recovery location for dept01 VMs",
  • "isOriginal": false
}

Get Storage Recovery Location Data

The HTTP GET request to the /RecoveryLocations/Storage/{id} endpoint retrieves a representation of a storage recovery location with the specified ID.

SecurityuserAuth
Request
path Parameters
id
required
string <uuid>

System ID assigned to a recovery location.

Responses
200

OK

401

Unauthorized request. The authorization header has been expected but not found (or found but expired).

500

Internal server error.

get/api/v13.1/RecoveryLocations/Storage/{id}
Request samples
Response samples
application/json
{
  • "computeGroups": [
    ],
  • "reIpRules": [
    ],
  • "networkMappingRules": [
    ],
  • "vendor": "NetApp",
  • "vCenterId": "a1b2c3d4-e5f6-4780-1234-56789abcdef0",
  • "vCenterName": "vcenter1.test.local",
  • "datacenterId": "12345678-90ab-cdef-1234-567890abcdef",
  • "datacenterName": "Datacenter1",
  • "storageSystems": [
    ],
  • "id": "4862e7c9-2125-463a-b095-f87857cbcdd8",
  • "type": "Storage",
  • "name": "Dept01 RL",
  • "description": "Recovery location for dept01 VMs",
  • "isOriginal": false
}

Get Microsoft Azure Recovery Location Data

The HTTP GET request to the /RecoveryLocations/Azure/{id} endpoint retrieves a representation of a Microsoft Azure recovery location with the specified ID.

SecurityuserAuth
Request
path Parameters
id
required
string <uuid>

System ID assigned to a recovery location.

Responses
200

OK

401

Unauthorized request. The authorization header has been expected but not found (or found but expired).

500

Internal server error.

get/api/v13.1/RecoveryLocations/Azure/{id}
Request samples
Response samples
application/json
{
  • "backupLocation": "Any",
  • "vbrServerId": "df630c31-4780-4e73-b434-6cf202d154be",
  • "computeAccountId": "aabbccdd-eeff-0011-2233-445566778899",
  • "subscriptionId": "11223344-5566-7788-99aa-bbccddeeff00",
  • "regionType": "Global",
  • "regionId": "99887766-5544-3322-1100-ffeeddccbbaa",
  • "resourceGroupId": "66778899-aabb-ccdd-eeff-001122334455",
  • "hardwareRules": [
    ],
  • "repositoryRules": [
    ],
  • "proxyIds": [
    ],
  • "virtualNetworkMappingRules": [
    ],
  • "physicalNetworkMappingRules": [
    ],
  • "hyperVNetworkMappingRules": [
    ],
  • "isolatedNetworkId": "12344321-4321-4321-4321-123443211234",
  • "isolatedSubnetId": "abcddcba-dcba-dcba-dcba-abcddcbaabcd",
  • "id": "4862e7c9-2125-463a-b095-f87857cbcdd8",
  • "type": "Cloud",
  • "name": "Dept01 RL",
  • "description": "Recovery location for dept01 VMs",
  • "isOriginal": false
}

Get Microsoft Hyper-V Recovery Location Data

The HTTP GET request to the /RecoveryLocations/HyperV/{id} endpoint retrieves a representation of a Microsoft Hyper-V recovery location with the specified ID.

SecurityuserAuth
Request
path Parameters
id
required
string <uuid>

System ID assigned to a recovery location.

Responses
200

OK

401

Unauthorized request. The authorization header has been expected but not found (or found but expired).

500

Internal server error.

get/api/v13.1/RecoveryLocations/HyperV/{id}
Request samples
Response samples
application/json
{
  • "backupLocation": "Any",
  • "enforceDataSovereignty": true,
  • "instantVmRecovery": true,
  • "scVmmId": "a1b2c3d4-5678-90ab-cdef-1234567890ab",
  • "scVmmName": "scvmm1.test.local",
  • "clusterId": "b1c2d3e4-6789-0abc-def1-234567890abc",
  • "clusterName": "cluster1",
  • "storages": [
    ],
  • "vmNetworkMappingRules": [
    ],
  • "hyperVNetworkMappingRules": [
    ],
  • "hvConnectionType": "ScVmm",
  • "vbrServerId": "df630c31-4780-4e73-b434-6cf202d154be",
  • "repositoryRules": [
    ],
  • "id": "4862e7c9-2125-463a-b095-f87857cbcdd8",
  • "type": "HyperV",
  • "name": "Dept01 RL",
  • "description": "Recovery location for dept01 VMs",
  • "isOriginal": false
}

Create Recovery Location for Standalone Hyper-V Host

The HTTP POST request to the /RecoveryLocations/HyperV/DirectHost endpoint creates a new Microsoft Hyper-V recovery location for restoring VMware VMs to a standalone Hyper-V host.

SecurityuserAuth
Request
Request Body schema: application/json
directHostId
required
string <uuid>

System ID assigned to the Microsoft Hyper-V host that is used as a recovery location.

name
required
string or null

Name of the recovery location.

required
object (DirectHostVmNetworkMappingRuleInfo)
description
string or null

Description of the recovery location.

backupLocation
string

Restore point source.

Enum: "Any" "Primary" "BackupCopies" "SobrCapacityTier" "Unknown"
enforceDataSovereignty
boolean

Defines whether VMs will be recovered across different locations in the Veeam Backup & Replication server when running recovery plans.

instantVmRecovery
boolean

Defines whether all processed VMs will be restored using the Instant VM Recovery feature.

Responses
204

No Content

401

Unauthorized request. The authorization header has been expected but not found (or found but expired).

500

Internal server error.

post/api/v13.1/RecoveryLocations/HyperV/DirectHost
Request samples
application/json
{
  • "name": "string",
  • "description": "string",
  • "directHostId": "7f7162b6-a88b-4262-a0ca-d5554c9dfaaa",
  • "vmNetworkMappingRule": {
    },
  • "backupLocation": "Any",
  • "enforceDataSovereignty": true,
  • "instantVmRecovery": true
}

Delete Recovery Location

The HTTP DELETE request to the /RecoveryLocations/{id} endpoint deletes a recovery location with the specified ID.

SecurityuserAuth
Request
path Parameters
id
required
string <uuid>

System ID assigned to a recovery location.

Responses
204

No Content

401

Unauthorized request. The authorization header has been expected but not found (or found but expired).

500

Internal server error.

delete/api/v13.1/RecoveryLocations/{id}
Request samples