- 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 Configuration Backup section defines paths and operations for managing backup of the configuration database that Veeam Backup & Replication uses.
Get Configuration Backup
The HTTP GET request to the /api/v1/configBackup
path allows you to get configuration backup of the backup server.
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
{- "isEnabled": true,
- "backupRepositoryId": "d4b5e196-f3ad-474c-99bc-dfef051dae07",
- "restorePointsToKeep": 10,
- "notifications": {
- "SNMPEnabled": true,
- "SMTPSettings": {
- "settingsType": "Custom",
- "isEnabled": false,
- "recipients": [ ],
- "subject": "[%JobResult%] %JobName% (%Time%)",
- "notifyOnSuccess": true,
- "notifyOnWarning": true,
- "notifyOnError": true
}
}, - "schedule": {
- "isEnabled": true,
- "daily": {
- "dailyKind": "Everyday",
- "isEnabled": true,
- "localTime": "10:00 AM",
- "days": [
- "monday",
- "tuesday",
- "wednesday",
- "thursday",
- "friday",
- "saturday",
- "sunday"
]
}, - "monthly": {
- "dayOfWeek": "saturday",
- "dayNumberInMonth": "Fourth",
- "isEnabled": false,
- "localTime": "10:00 PM",
- "dayOfMonth": 1,
- "months": [
- "January",
- "February",
- "March",
- "April",
- "May",
- "June",
- "July",
- "August",
- "September",
- "October",
- "November",
- "December"
]
}
}, - "lastSuccessfulBackup": {
- "lastSuccessfulTime": "2022-01-21T10:00:35.033+01:00",
- "sessionId": "a8f1b5ba-a6dc-416d-9b17-95e92c0d7e76"
}, - "encryption": {
- "isEnabled": true,
- "passwordId": "ebf6c20f-7126-4186-a1b8-24e6c541161c"
}
}
Edit Configuration Backup
The HTTP PUT request to the /api/v1/configBackup
path allows you to edit configuration backup of the backup server.
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: |
Request Body schema: application/jsonrequired
isEnabled required | boolean If true, configuration backup is enabled. |
backupRepositoryId required | string <uuid> ID of the backup repository on which the configuration backup is stored. |
restorePointsToKeep required | integer <int32> Number of restore points to keep in the backup repository. |
required | object (ConfigBackupNotificationsModel) Notification settings. |
required | object (ConfigBackupScheduleModel) Scheduling settings. |
required | object (ConfigBackupLastSuccessfulModel) Last successful backup. |
required | object (ConfigBackupEncryptionModel) Encryption settings. |
Configuration backup settings have been updated.
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
{- "isEnabled": true,
- "backupRepositoryId": "d4b5e196-f3ad-474c-99bc-dfef051dae07",
- "restorePointsToKeep": 10,
- "notifications": {
- "SNMPEnabled": true,
- "SMTPSettings": {
- "settingsType": "Custom",
- "isEnabled": false,
- "recipients": [ ],
- "subject": "[%JobResult%] %JobName% (%Time%)",
- "notifyOnSuccess": true,
- "notifyOnWarning": true,
- "notifyOnError": true
}
}, - "schedule": {
- "isEnabled": true,
- "daily": {
- "dailyKind": "Everyday",
- "isEnabled": true,
- "localTime": "10:00 AM",
- "days": [
- "monday",
- "tuesday",
- "wednesday",
- "thursday",
- "friday",
- "saturday",
- "sunday"
]
}, - "monthly": {
- "dayOfWeek": "saturday",
- "dayNumberInMonth": "Fourth",
- "isEnabled": false,
- "localTime": "10:00 PM",
- "dayOfMonth": 1,
- "months": [
- "January",
- "February",
- "March",
- "April",
- "May",
- "June",
- "July",
- "August",
- "September",
- "October",
- "November",
- "December"
]
}
}, - "lastSuccessfulBackup": {
- "lastSuccessfulTime": "2022-01-21T10:00:35.033+01:00",
- "sessionId": "a8f1b5ba-a6dc-416d-9b17-95e92c0d7e76"
}, - "encryption": {
- "isEnabled": false,
- "passwordId": "ebf6c20f-7126-4186-a1b8-24e6c541161c"
}
}
- 200
- 400
- 401
- 403
- 404
- 500
{- "isEnabled": true,
- "backupRepositoryId": "d4b5e196-f3ad-474c-99bc-dfef051dae07",
- "restorePointsToKeep": 10,
- "notifications": {
- "SNMPEnabled": true,
- "SMTPSettings": {
- "settingsType": "Custom",
- "isEnabled": false,
- "recipients": [ ],
- "subject": "[%JobResult%] %JobName% (%Time%)",
- "notifyOnSuccess": true,
- "notifyOnWarning": true,
- "notifyOnError": true
}
}, - "schedule": {
- "isEnabled": true,
- "daily": {
- "dailyKind": "Everyday",
- "isEnabled": true,
- "localTime": "10:00 AM",
- "days": [
- "monday",
- "tuesday",
- "wednesday",
- "thursday",
- "friday",
- "saturday",
- "sunday"
]
}, - "monthly": {
- "dayOfWeek": "saturday",
- "dayNumberInMonth": "Fourth",
- "isEnabled": false,
- "localTime": "10:00 PM",
- "dayOfMonth": 1,
- "months": [
- "January",
- "February",
- "March",
- "April",
- "May",
- "June",
- "July",
- "August",
- "September",
- "October",
- "November",
- "December"
]
}
}, - "lastSuccessfulBackup": {
- "lastSuccessfulTime": "2022-01-21T10:00:35.033+01:00",
- "sessionId": "a8f1b5ba-a6dc-416d-9b17-95e92c0d7e76"
}, - "encryption": {
- "isEnabled": false,
- "passwordId": "ebf6c20f-7126-4186-a1b8-24e6c541161c"
}
}
Start Configuration Backup
The HTTP POST request to the /api/v1/configBackup
path allows you to start configuration 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: |
Configuration backup 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.
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
- 500
{- "sessionType": "ConfigurationBackup",
- "state": "Starting",
- "id": "d20f79d1-962d-4cb1-809b-0364c5b90696",
- "name": "Backup Configuration Job",
- "activityId": "99d1bf3d-e2e0-4bec-b2b3-820c0b87d212",
- "creationTime": "2022-01-26T17:13:29.097+01:00",
- "endTime": null,
- "progressPercent": 0,
- "result": null,
- "resourceId": null,
- "resourceReference": null,
- "parentSessionId": null,
- "usn": 0
}