- About Veeam Backup & Replication REST API
- Overview
- How To
- Changelog
- Login
- Service
- Services
- Credentials
- getGet All Credentials
- postAdd Credentials Record
- getGet Credentials Record
- putEdit Credentials Record
- delRemove Credentials Record
- postChange Password
- postChange Linux Private Key
- postChange Linux Root Password
- getGet All Cloud Credentials
- postAdd Cloud Credentials Record
- postGet Microsoft Azure Verification Code
- postRegister Azure AD Application
- postGet Google Authentication Information
- getGet Cloud Credentials Record
- putEdit Cloud Credentials Record
- delRemove Cloud Credentials Record
- postChange Secret Key
- postChange Google Service Account
- postChange Certificate
- getGet All Helper Appliances
- postAdd or Edit Helper Appliance
- getGet Helper Appliance
- delRemove Helper Appliance
- Encryption
- Connection
- Cloud Browser
- Inventory Browser
- Traffic Rules
- General Options
- Malware Detection
- Configuration Backup
- Managed Servers
- Repositories
- getGet All Repositories
- postAdd Repository
- getGet All Repository States
- getGet Repository
- putEdit Repository
- delRemove Repository
- getGet All Scale-Out Backup Repositories
- postAdd Scale-Out Backup Repository
- getGet Scale-Out Backup Repository
- putEdit Scale-Out Backup Repository
- delRemove Scale-Out Backup Repository
- postEnable Sealed Mode
- postDisable Sealed Mode
- postEnable Maintenance Mode
- postDisable Maintenance Mode
- Proxies
- WAN Accelerators
- Jobs
- Backups
- Backup Objects
- Restore Points
- Restore
- getGet All VM Mounts
- postStart Instant Recovery
- getGet VM Mount
- postStop VM Publishing
- postStart VM Migration
- postRestore Entire VMware vSphere VM
- postRestore Entire VMware Cloud Director VM
- getGet All FCD Mounts
- postStart Instant FCD Recovery
- getGet FCD Mount
- postStop FCD Publishing
- postStart FCD Migration
- postStart File Restore
- postUnmount File System
- Backup Browsers
- getGet All File Restore Mounts
- getGet File Restore Mount
- postBrowse File System
- postCompare Attributes
- postCompare Files and Folders
- postSearch for Files and Folders
- postBrowse Search Results
- postRestore Files and Folders to Original Location
- postRestore Files and Folders to Another Location
- postPrepare Files and Folders for Download
- postDownload Files and Folders
- Tasks
- Replicas
- Replica Restore Points
- Failover
- Failback
- Sessions
- Agents
- Automation
- postImport Jobs
- postExport Jobs
- postImport Credentials
- postExport Credentials
- postImport Cloud Credentials
- postExport Cloud Credentials
- postImport Proxies
- postExport Proxies
- postImport Servers
- postExport Servers
- postImport Repositories
- postExport Repositories
- postImport Encryption Passwords
- postExport Encryption Passwords
- getGet All Automation Sessions
- getGet Automation Session
- getGet Automation Session Logs
- postStop Automation Session
The Restore section defines paths and operations for performing restore.
In this version, the REST API supports the following recovery operations:
- Instant Recovery of a VMware vSphere VM to VMware vSphere
- Entire VM restore of a VMware vSphere VM to VMware vSphere
- Entire VM restore of a VMware Cloud Director VM to VMware Cloud Director
- Restore of disks that will be registered as First Class Disks (FCD) — a type of virtual disks that can be managed independent of any VM
- File restore from a backup or replica of a Microsoft Windows or Linux machine
Get All VM Mounts
The HTTP GET request to the /api/v1/restore/instantRecovery/vSphere/vm
path allows you to get an array of VM mounts.
Available to: Veeam Backup Administrator, Veeam Restore Operator.
query Parameters
skip | integer <int32> Number of mounts to skip. |
limit | integer <int32> Maximum number of mounts to return. |
orderColumn | string (EInstantViVMRecoveryMountsFiltersOrderColumn) Sorts mounts by one of the mount parameters. |
orderAsc | boolean Sorts mounts in the ascending order by the |
stateFilter | string (EInstantRecoveryMountState) Filters mounts by mount state. |
header Parameters
x-api-version required | string Default: 1.1-rev2 Version and revision of the client REST API. Must be in the following format: |
OK
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 401
- 403
- 404
- 500
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "sessionId": "f6567dd8-e069-418e-8893-7d22fcf12459",
- "state": "Failed",
- "spec": {
- "restorePointId": "8c843d10-6d0f-4abe-b898-e1ba18b94f68",
- "type": "OriginalLocation",
- "vmTagsRestoreEnabled": true,
- "secureRestore": {
- "antivirusScanEnabled": true,
- "virusDetectionAction": "DisableNetwork",
- "entireVolumeScanEnabled": true
}, - "nicsEnabled": true,
- "powerUp": true,
- "reason": "string"
}, - "vmName": "string",
- "errorMessage": "string"
}
], - "pagination": {
- "total": 0,
- "count": 0,
- "skip": 0,
- "limit": 0
}
}
Start Instant Recovery
The HTTP POST request to the /api/v1/restore/instantRecovery/vmware/vm/
path allows you to start Instant Recovery of a VMware vSphere VM to VMware vSphere. You can recover a VM from the specified restore point to the original location with initial VM settings, or to any location but with different settings.
Available to: Veeam Backup Administrator, Veeam Restore Operator.
header Parameters
x-api-version required | string Default: 1.1-rev2 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonrequired
restorePointId required | string <uuid> ID of the restore point. |
type required | string (EInstantVMRecoveryModeType) Restore mode. |
required | object (SecureRestoreSpec) Secure restore settings. |
vmTagsRestoreEnabled | boolean If |
nicsEnabled | boolean If |
powerUp | boolean If |
reason | string Reason for restoring the VM. |
Instant Recovery to VMware vSphere has been started.
Bad request. This error is related to POST/PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "restorePointId": "8c843d10-6d0f-4abe-b898-e1ba18b94f68",
- "type": "OriginalLocation",
- "vmTagsRestoreEnabled": true,
- "secureRestore": {
- "antivirusScanEnabled": true,
- "virusDetectionAction": "DisableNetwork",
- "entireVolumeScanEnabled": true
}, - "nicsEnabled": true,
- "powerUp": true,
- "reason": "string"
}
- 201
- 400
- 401
- 403
- 404
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39",
- "sessionType": "Infrastructure",
- "creationTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "state": "Stopped",
- "progressPercent": 0,
- "result": {
- "result": "None",
- "message": "string",
- "isCanceled": true
}, - "resourceId": "026d60bb-63a8-407e-bf67-01dcfc6022e6",
- "resourceReference": "string",
- "parentSessionId": "b1d7834e-fe2f-4cad-b0e5-ff5c5615f344",
- "usn": 0
}
Get VM Mount
The HTTP GET request to the /api/v1/restore/instantRecovery/vSphere/vm/{mountId}
path allows you to get a VM mount that has the specified mountID
.
Available to: Veeam Backup Administrator, Veeam Restore Operator.
path Parameters
mountId required | string <uuid> Mount ID. |
header Parameters
x-api-version required | string Default: 1.1-rev2 Version and revision of the client REST API. Must be in the following format: |
OK
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 401
- 403
- 404
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "sessionId": "f6567dd8-e069-418e-8893-7d22fcf12459",
- "state": "Failed",
- "spec": {
- "restorePointId": "8c843d10-6d0f-4abe-b898-e1ba18b94f68",
- "type": "OriginalLocation",
- "vmTagsRestoreEnabled": true,
- "secureRestore": {
- "antivirusScanEnabled": true,
- "virusDetectionAction": "DisableNetwork",
- "entireVolumeScanEnabled": true
}, - "nicsEnabled": true,
- "powerUp": true,
- "reason": "string"
}, - "vmName": "string",
- "errorMessage": "string"
}
Stop VM Publishing
The HTTP POST request to the /api/v1/restore/instantRecovery/vSphere/vm/{mountId}/unmount
path allows you to stop publishing the recovered VM and remove it from the destination host.
Available to: Veeam Backup Administrator, Veeam Restore Operator.
path Parameters
mountId required | string <uuid> Mount ID. |
header Parameters
x-api-version required | string Default: 1.1-rev2 Version and revision of the client REST API. Must be in the following format: |
VM has been unpublished.
Bad request. This error is related to POST/PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 400
- 401
- 403
- 404
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39",
- "sessionType": "Infrastructure",
- "creationTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "state": "Stopped",
- "progressPercent": 0,
- "result": {
- "result": "None",
- "message": "string",
- "isCanceled": true
}, - "resourceId": "026d60bb-63a8-407e-bf67-01dcfc6022e6",
- "resourceReference": "string",
- "parentSessionId": "b1d7834e-fe2f-4cad-b0e5-ff5c5615f344",
- "usn": 0
}
Start VM Migration
The HTTP POST request to the /api/v1/restore/instantRecovery/vSphere/vm/{mountId}/migrate
path allows you to start VM migration from the specified mount.
Available to: Veeam Backup Administrator, Veeam Restore Operator.
path Parameters
mountId required | string <uuid> Mount ID. |
header Parameters
x-api-version required | string Default: 1.1-rev2 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonrequired
required | object (InventoryObjectModel) Inventory object properties. |
object (InventoryObjectModel) Inventory object properties. | |
object (InventoryObjectModel) Inventory object properties. | |
object (InventoryObjectModel) Inventory object properties. | |
sourceProxyIds | Array of strings <uuid> Array of source backup proxies. |
targetProxyIds | Array of strings <uuid> Array of target backup proxies. |
VeeamQMEnabled | boolean If |
DeleteSourceVmsFiles | boolean If |
VM Migration has been started. To check the progress, track the session state
.
Bad request. This error is related to POST/PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "destinationHost": {
- "platform": "VMware",
- "size": "string",
- "hostName": "string",
- "name": "string",
- "type": "Unknown",
- "objectId": "string",
- "urn": "string"
}, - "resourcePool": {
- "platform": "VMware",
- "size": "string",
- "hostName": "string",
- "name": "string",
- "type": "Unknown",
- "objectId": "string",
- "urn": "string"
}, - "folder": {
- "platform": "VMware",
- "size": "string",
- "hostName": "string",
- "name": "string",
- "type": "Unknown",
- "objectId": "string",
- "urn": "string"
}, - "datastore": {
- "platform": "VMware",
- "size": "string",
- "hostName": "string",
- "name": "string",
- "type": "Unknown",
- "objectId": "string",
- "urn": "string"
}, - "sourceProxyIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "targetProxyIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "VeeamQMEnabled": true,
- "DeleteSourceVmsFiles": true
}
- 200
- 400
- 401
- 403
- 404
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39",
- "sessionType": "Infrastructure",
- "creationTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "state": "Stopped",
- "progressPercent": 0,
- "result": {
- "result": "None",
- "message": "string",
- "isCanceled": true
}, - "resourceId": "026d60bb-63a8-407e-bf67-01dcfc6022e6",
- "resourceReference": "string",
- "parentSessionId": "b1d7834e-fe2f-4cad-b0e5-ff5c5615f344",
- "usn": 0
}
Restore Entire VMware vSphere VM
The HTTP POST request to the /api/v1/restore/vmRestore/vSphere/
path allows you to perform entire VM restore of a VMware vSphere VM to VMware vSphere. You can restore a VM from the specified restore point to the original location with initial VM settings, or to any location but with different settings.
Available to: Veeam Backup Administrator, Veeam Restore Operator.
header Parameters
x-api-version required | string Default: 1.1-rev2 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonrequired
restorePointId required | string <uuid> ID of the restore point. |
type required | string (EEntireVMRestoreModeType) Restore mode. |
object (RestoreProxySpec) Backup proxies for VM data transport. | |
object (SecureRestoreSpec) Secure restore settings. | |
powerUp | boolean If |
reason | string Reason for restoring the VM. |
quickRollback | boolean If |
Restore session has been created. To check the progress, track the session state
.
Bad request. This error is related to POST/PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "restorePointId": "8c843d10-6d0f-4abe-b898-e1ba18b94f68",
- "type": "OriginalLocation",
- "restoreProxies": {
- "autoSelectEnabled": true,
- "proxyIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "secureRestore": {
- "antivirusScanEnabled": true,
- "virusDetectionAction": "DisableNetwork",
- "entireVolumeScanEnabled": true
}, - "powerUp": true,
- "reason": "string",
- "quickRollback": true
}
- 201
- 400
- 401
- 403
- 404
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39",
- "sessionType": "Infrastructure",
- "creationTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "state": "Stopped",
- "progressPercent": 0,
- "result": {
- "result": "None",
- "message": "string",
- "isCanceled": true
}, - "resourceId": "026d60bb-63a8-407e-bf67-01dcfc6022e6",
- "resourceReference": "string",
- "parentSessionId": "b1d7834e-fe2f-4cad-b0e5-ff5c5615f344",
- "usn": 0
}
Restore Entire VMware Cloud Director VM
The HTTP POST request to the /api/v1/restore/vmRestore/cloudDirector
path allows you to perform entire VM restore of a VMware Cloud Director VM to VMware Cloud Director. You can restore a VM from the specified restore point to the original location with initial VM settings, or to any location but with different settings.
Available to: Veeam Backup Administrator, Veeam Restore Operator.
header Parameters
x-api-version required | string Default: 1.1-rev2 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonrequired
restorePointId required | string <uuid> ID of the restore point. |
type required | string (EEntireVMRestoreModeType) Restore mode. |
object (RestoreProxySpec) Backup proxies for VM data transport. | |
object (SecureRestoreSpec) Secure restore settings. | |
powerUp | boolean If |
reason | string Reason for restoring the VM. |
quickRollback | boolean If |
A RestoreVm
session has been created. To check the progress, track the session state
.
Bad request. This error is related to POST/PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "restorePointId": "8c843d10-6d0f-4abe-b898-e1ba18b94f68",
- "type": "OriginalLocation",
- "restoreProxies": {
- "autoSelectEnabled": true,
- "proxyIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "secureRestore": {
- "antivirusScanEnabled": true,
- "virusDetectionAction": "DisableNetwork",
- "entireVolumeScanEnabled": true
}, - "powerUp": true,
- "reason": "string",
- "quickRollback": true
}
- 201
- 400
- 401
- 403
- 404
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39",
- "sessionType": "Infrastructure",
- "creationTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "state": "Stopped",
- "progressPercent": 0,
- "result": {
- "result": "None",
- "message": "string",
- "isCanceled": true
}, - "resourceId": "026d60bb-63a8-407e-bf67-01dcfc6022e6",
- "resourceReference": "string",
- "parentSessionId": "b1d7834e-fe2f-4cad-b0e5-ff5c5615f344",
- "usn": 0
}
Get All FCD Mounts
The HTTP GET request to the /api/v1/restore/instantRecovery/vSphere/fcd
path allows you to get an array of FCD mounts.
Available to: Veeam Backup Administrator, Veeam Restore Operator.
query Parameters
skip | integer <int32> Number of mounts to skip. |
limit | integer <int32> Maximum number of mounts to return. |
orderColumn | string (EVmwareFcdInstantRecoveryMountsFiltersOrderColumn) Sorts mounts by one of the mount parameters. |
orderAsc | boolean Sorts mounts in the ascending order by the |
stateFilter | string (EInstantRecoveryMountState) Filters mounts by mount state. |
header Parameters
x-api-version required | string Default: 1.1-rev2 Version and revision of the client REST API. Must be in the following format: |
OK
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 401
- 403
- 404
- 500
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "sessionId": "f6567dd8-e069-418e-8893-7d22fcf12459",
- "state": "Failed",
- "spec": {
- "restorePointId": "8c843d10-6d0f-4abe-b898-e1ba18b94f68",
- "destinationCluster": {
- "platform": "VMware",
- "size": "string",
- "hostName": "string",
- "name": "string",
- "type": "Unknown",
- "objectId": "string",
- "urn": "string"
}, - "disksMapping": [
- {
- "nameInBackup": "string",
- "mountedDiskName": "string",
- "registeredFcdName": "string"
}
], - "writeCache": {
- "redirectIsEnabled": true,
- "cacheDatastore": {
- "platform": "VMware",
- "size": "string",
- "hostName": "string",
- "name": "string",
- "type": "Unknown",
- "objectId": "string",
- "urn": "string"
}, - "storagePolicy": {
- "platform": "VMware",
- "size": "string",
- "hostName": "string",
- "name": "string",
- "type": "Unknown",
- "objectId": "string",
- "urn": "string"
}
}
}, - "errorMessage": "string",
- "mountedDisks": [
- {
- "nameInBackup": "string",
- "mountedDiskName": "string",
- "registeredFcdName": "string",
- "objectId": "string"
}
]
}
], - "pagination": {
- "total": 0,
- "count": 0,
- "skip": 0,
- "limit": 0
}
}
Start Instant FCD Recovery
The HTTP POST request to the /api/v1/restore/instantRecovery/vmware/fcd/
path allows you to start Instant FCD Recovery from the restore point to the destination cluster.
Specify the destination cluster in the destinationCluster
parameter of the request body as a model of the VMware vSphere object. For details on how to get the cluster model, see Get Inventory Objects.
Available to: Veeam Backup Administrator, Veeam Restore Operator.
header Parameters
x-api-version required | string Default: 1.1-rev2 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonrequired
restorePointId required | string <uuid> ID of the restore point. |
required | object (InventoryObjectModel) Inventory object properties. |
required | Array of objects (VmwareFcdInstantRecoveryDiskSpec) Array of disks for restore. |
object (VmwareFcdWriteCacheSpec) Write cache for recovered disks. |
Instant FCD Recovery has been started. To check the progress, track the session state
.
Bad request. This error is related to POST/PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "restorePointId": "8c843d10-6d0f-4abe-b898-e1ba18b94f68",
- "destinationCluster": {
- "platform": "VMware",
- "size": "string",
- "hostName": "string",
- "name": "string",
- "type": "Unknown",
- "objectId": "string",
- "urn": "string"
}, - "disksMapping": [
- {
- "nameInBackup": "string",
- "mountedDiskName": "string",
- "registeredFcdName": "string"
}
], - "writeCache": {
- "redirectIsEnabled": true,
- "cacheDatastore": {
- "platform": "VMware",
- "size": "string",
- "hostName": "string",
- "name": "string",
- "type": "Unknown",
- "objectId": "string",
- "urn": "string"
}, - "storagePolicy": {
- "platform": "VMware",
- "size": "string",
- "hostName": "string",
- "name": "string",
- "type": "Unknown",
- "objectId": "string",
- "urn": "string"
}
}
}
- 201
- 400
- 401
- 403
- 404
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39",
- "sessionType": "Infrastructure",
- "creationTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "state": "Stopped",
- "progressPercent": 0,
- "result": {
- "result": "None",
- "message": "string",
- "isCanceled": true
}, - "resourceId": "026d60bb-63a8-407e-bf67-01dcfc6022e6",
- "resourceReference": "string",
- "parentSessionId": "b1d7834e-fe2f-4cad-b0e5-ff5c5615f344",
- "usn": 0
}
Get FCD Mount
The HTTP GET request to the /api/v1/restore/instantRecovery/vSphere/fcd/{mountId}
path allows you to get information about the mounted vPower NFS datastore, such as restore session ID, mount state, instant FCD recovery settings and disks that will be recovered.
Available to: Veeam Backup Administrator, Veeam Restore Operator.
path Parameters
mountId required | string <uuid> Mount ID. |
header Parameters
x-api-version required | string Default: 1.1-rev2 Version and revision of the client REST API. Must be in the following format: |
OK
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 401
- 403
- 404
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "sessionId": "f6567dd8-e069-418e-8893-7d22fcf12459",
- "state": "Failed",
- "spec": {
- "restorePointId": "8c843d10-6d0f-4abe-b898-e1ba18b94f68",
- "destinationCluster": {
- "platform": "VMware",
- "size": "string",
- "hostName": "string",
- "name": "string",
- "type": "Unknown",
- "objectId": "string",
- "urn": "string"
}, - "disksMapping": [
- {
- "nameInBackup": "string",
- "mountedDiskName": "string",
- "registeredFcdName": "string"
}
], - "writeCache": {
- "redirectIsEnabled": true,
- "cacheDatastore": {
- "platform": "VMware",
- "size": "string",
- "hostName": "string",
- "name": "string",
- "type": "Unknown",
- "objectId": "string",
- "urn": "string"
}, - "storagePolicy": {
- "platform": "VMware",
- "size": "string",
- "hostName": "string",
- "name": "string",
- "type": "Unknown",
- "objectId": "string",
- "urn": "string"
}
}
}, - "errorMessage": "string",
- "mountedDisks": [
- {
- "nameInBackup": "string",
- "mountedDiskName": "string",
- "registeredFcdName": "string",
- "objectId": "string"
}
]
}
Stop FCD Publishing
The HTTP POST request to the /api/v1/restore/instantRecovery/vSphere/fcd/{mountId}/dismount
path allows you to stop publishing the recovered FCDs and remove the disks from the datastore.
Available to: Veeam Backup Administrator, Veeam Restore Operator.
path Parameters
mountId required | string <uuid> Mount ID. |
header Parameters
x-api-version required | string Default: 1.1-rev2 Version and revision of the client REST API. Must be in the following format: |
The disks have been unmounted. To check the progress, track the session state
.
Bad request. This error is related to POST/PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 400
- 401
- 403
- 404
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39",
- "sessionType": "Infrastructure",
- "creationTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "state": "Stopped",
- "progressPercent": 0,
- "result": {
- "result": "None",
- "message": "string",
- "isCanceled": true
}, - "resourceId": "026d60bb-63a8-407e-bf67-01dcfc6022e6",
- "resourceReference": "string",
- "parentSessionId": "b1d7834e-fe2f-4cad-b0e5-ff5c5615f344",
- "usn": 0
}
Start FCD Migration
The HTTP POST request to the /api/v1/restore/instantRecovery/vSphere/fcd/{mountId}/migrate
path allows you to start migration of FCDs from the specified mount.
In the request body specify FCD migration configuration:
- Disks for migration
- Target datastore
- Storage policy that will be applied to the migrated disks
Available to: Veeam Backup Administrator, Veeam Restore Operator.
path Parameters
mountId required | string <uuid> Mount ID. |
header Parameters
x-api-version required | string Default: 1.1-rev2 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonrequired
required | object (InventoryObjectModel) Inventory object properties. |
mountedDiskNames | Array of strings Array of disks that will be migrated to the |
object (InventoryObjectModel) Inventory object properties. |
FCD Migration has been started. To check the progress, track the session state
.
Bad request. This error is related to POST/PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "mountedDiskNames": [
- "string"
], - "targetDatastore": {
- "platform": "VMware",
- "size": "string",
- "hostName": "string",
- "name": "string",
- "type": "Unknown",
- "objectId": "string",
- "urn": "string"
}, - "storagePolicy": {
- "platform": "VMware",
- "size": "string",
- "hostName": "string",
- "name": "string",
- "type": "Unknown",
- "objectId": "string",
- "urn": "string"
}
}
- 200
- 400
- 401
- 403
- 404
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39",
- "sessionType": "Infrastructure",
- "creationTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "state": "Stopped",
- "progressPercent": 0,
- "result": {
- "result": "None",
- "message": "string",
- "isCanceled": true
}, - "resourceId": "026d60bb-63a8-407e-bf67-01dcfc6022e6",
- "resourceReference": "string",
- "parentSessionId": "b1d7834e-fe2f-4cad-b0e5-ff5c5615f344",
- "usn": 0
}
Start File Restore
The HTTP POST request to the /api/v1/restore/flr
path allows you to start file restore from a backup or replica of a Microsoft Windows or Linux machine. The operation starts a file restore session and mounts the machine file system to a mount point.
Available to: Veeam Backup Administrator, Veeam Restore Operator.
header Parameters
x-api-version required | string Default: 1.1-rev2 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonrequired
restorePointId required | string <uuid> ID of the restore point that you want to restore files from. |
type required | string (EFlrType) Restore type. |
required | object (FlrAutoUnmountModel) Settings for automatic unmount of the file system. |
reason | string Reason for restoring files. |
credentialsId | string <uuid> ID of the credentials record used to connect to the source machine. The credentials will be used to compare files from backup and the source machine. |
File system has been mounted.
Bad request. This error is related to POST/PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "restorePointId": "5777a78d-62f6-40a3-a7e3-8b56a56e58c0",
- "type": "Linux",
- "autoUnmount": {
- "isEnabled": true,
- "noActivityPeriodInMinutes": 10
}, - "reason": "File restore",
- "helperHost": {
- "hostId": "ea7dc5d3-0daa-442a-adfe-ab9f5fd9d482"
}
}
- 201
- 400
- 401
- 403
- 500
{- "type": "Linux",
- "sessionId": "1dc723e8-12a0-4480-bc34-6cb117d3d4a1",
- "properties": {
- "pathSeparator": "/"
}, - "sourceProperties": {
- "machineName": "ubuntu88",
- "restorePointName": "ubuntu88"
}
}
Unmount File System
The HTTP POST request to the /api/v1/restore/flr/{sessionId}/unmount
path allows you to unmount the file system from a mount point and stop a file restore session that has the specified sessionId
.
Available to: Veeam Backup Administrator, Veeam Restore Operator.
path Parameters
sessionId required | string <uuid> ID of the restore session. |
header Parameters
x-api-version required | string Default: 1.1-rev2 Version and revision of the client REST API. Must be in the following format: |
Restore session has been stopped.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 201
- 401
- 403
- 404
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39",
- "sessionType": "Infrastructure",
- "creationTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "state": "Stopped",
- "progressPercent": 0,
- "result": {
- "result": "None",
- "message": "string",
- "isCanceled": true
}, - "resourceId": "026d60bb-63a8-407e-bf67-01dcfc6022e6",
- "resourceReference": "string",
- "parentSessionId": "b1d7834e-fe2f-4cad-b0e5-ff5c5615f344",
- "usn": 0
}