- 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 Verification Code
- postRegister Azure AD Application
- getGet Cloud Credentials Record
- putEdit Cloud Credentials Record
- delRemove Cloud Credentials Record
- postChange Secret Key
- 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
- 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
- Jobs
- Backups
- Backup Objects
- Object Restore Points
- Restore
- 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 Backups section defines paths and operations for managing backups that are created on or imported to the backup server.
Get All Backups
The HTTP GET request to the /api/v1/backups
path allows you to get an array of all backups that are created on or imported to the backup server.
query Parameters
skip | integer <int32> Number of backups to skip. |
limit | integer <int32> Maximum number of backups to return. |
orderColumn | string (EBackupsFiltersOrderColumn) Sorts backups by one of the backup parameters. |
orderAsc | boolean Sorts backups in the ascending order by the |
nameFilter | string Filters backups by the |
createdAfterFilter | string <date-time> Returns backups that are created after the specified date and time. |
createdBeforeFilter | string <date-time> Returns backups that are created before the specified date and time. |
platformIdFilter | string <uuid> Filters backups by ID of the backup object platform. |
jobIdFilter | string <uuid> Filters backups by ID of the parent job. |
policyTagFilter | string Filters backups by retention policy tag. |
header Parameters
x-api-version required | string Default: 1.1-rev0 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.
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
- 500
{- "data": [
- {
- "platformName": "VMware",
- "id": "f3b0fbc5-01cf-4464-976a-4881e6eda067",
- "jobId": "53b87378-7958-477d-8def-fbe6740d4b6f",
- "policyTag": "",
- "name": "Oracle Backup",
- "platformId": "00000000-0000-0000-0000-000000000000",
- "creationTime": "2022-02-12T04:24:16.2+03:00",
- "repositoryId": "88788f9e-d8f5-4eb4-bc4f-9b3f5403bcec"
}, - {
- "platformName": "CustomPlatform",
- "id": "b2f9f40f-7944-498f-baff-175e18558829",
- "jobId": "00000000-0000-0000-0000-000000000000",
- "policyTag": "",
- "name": "Oracle Backup",
- "platformId": "c8098b32-9700-459b-b27c-4dceaf4ea932",
- "creationTime": "2019-11-13T16:34:21+03:00",
- "repositoryId": "49607f55-4cc4-4ea5-a2c9-e750318d0f34"
}
], - "pagination": {
- "total": 2,
- "count": 2,
- "skip": 0,
- "limit": 200
}
}
Get Backup
The HTTP GET request to the /api/v1/backups/{id}
path allows you to get a backup that has the specified id
.
path Parameters
id required | string <uuid> ID of the backup. |
header Parameters
x-api-version required | string Default: 1.1-rev0 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
{- "platformName": "VMware",
- "id": "9d4c348d-284a-480d-9340-6454998fa227",
- "jobId": "301450bc-34cd-4d2c-bfc3-8d269bb471be",
- "policyTag": "",
- "name": "AD Backup",
- "platformId": "00000000-0000-0000-0000-000000000000",
- "creationTime": "2021-02-12T04:24:32.087+03:00",
- "repositoryId": "88788f9e-d8f5-4eb4-bc4f-9b3f5403bcec"
}
Get Backup Objects
The HTTP GET request to the /api/v1/backups/{id}/objects
path allows you to get an array of virtual infrastructure objects (VMs and VM containers) that are included in a backup that has the specified ID.
path Parameters
id required | string <uuid> ID of the backup. |
header Parameters
x-api-version required | string Default: 1.1-rev0 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": [
- {
- "viType": "VirtualMachine",
- "objectId": "503",
- "path": "172.17.42.92\\DLDC",
- "platformName": "VMware",
- "id": "2a192b21-4d32-4b94-829e-231e8f0c0355",
- "name": "DLDC",
- "type": "VM",
- "platformId": "00000000-0000-0000-0000-000000000000",
- "restorePointsCount": 3
}
], - "pagination": {
- "total": 1,
- "count": 1,
- "skip": 0,
- "limit": 1
}
}