- About Veeam Backup for AWS REST API
- Overview
- How To
- Changelog
- Authorization
- Authorization (Single Sign-On)
- Appliance Connection Test
- Appliance Configuration Overview
- Appliance Statistics
- Appliance System Info
- Amazon Connections
- getGet Collection of Amazon Connections
- postAdd Amazon Connection
- getGet Amazon Connection Data
- delRemove Amazon Connection
- getGet Collection of Availability Zones
- postCheck Permissions for Performing Restore
- postVerify EC2 Instance Details
- postVerify RDS Resource Details
- getGet Collection of Encryption Keys
- getGet Collection of VPCs
- getGet Collection of Security Groups
- getGet Collection of Route Tables
- getGet Collection of Amazon Machine Images
- postVerify EC2 Instance AMI
- getGet Collection of Subnets
- getGet Collection of AWS Outposts
- getGet Collection of Option Groups
- getGet Collection of Parameter Groups
- getGet Collection of Cluster Parameter Groups
- getGet Collection of DB Subnet Groups
- getGet Collection of VPC Security Groups
- getGet Collection of RDS Licenses
- getGet Collection of DB Instance Classes
- getValidate S3 Endpoint
- postValidate Worker Settings
- getGet Collection of AWS Managed Microsoft Active Directories (ADs)
- getGet Collection of Redshift Subnet Groups
- getGet Collection of Redshift Parameter Groups
- getGet Collection of Redshift Node Configurations
- getGet Collection of IAM roles
- getGet Collection of Instance Profiles
- Amazon S3 Buckets
- AWS Regions
- AWS Tags
- Backup Vaults
- Backup Repositories
- Configuration Backup and Restore
- getGet Configuration Backup Settings
- putModify Configuration Backup Settings
- postEnable Configuration Backup Schedule
- postDisable Configuration Backup Schedule
- getGet Configuration Backup Restore Points
- getGet Configuration Backup Restore Point Data
- delRemove Configuration Backup Restore Point
- postCreate Configuration Backup
- postRestore Backup Appliance Configuration
- postCheck Configuration
- getGet Configuration Check Results
- postComplete Configuration Restore
- postStart Configuration Backup Export
- getCheck Status of Configuration Backup Export
- postDownload Configuration Backup File
- postImport Configuration Backup File
- delRemove Imported Configuration Backup File
- postCheck Imported Backup File
- getGet List of Uploaded Configuration Backup Files
- getGet Configuration Backup and Restore Session Data
- Database Accounts
- DynamoDB Backup Policies
- getGet Collection of DynamoDB Backup Policies
- postCreate Backup Policy
- getGet Backup Policy Data
- putModify Backup Policy
- delDelete Backup Policy
- getGet Resources Protected by Backup Policy
- getGet Resources Excluded from Backup Policy
- getGet Resources Protected by DynamoDB Backup Policy
- getGet AWS Regions Selected for Backup Policy
- postEnable Backup Policy
- postDisable Backup Policy
- postStart Backup Policy
- postStop Backup Policy
- postValidate Backup Policy Settings
- postSet Backup Policy Priority
- getExport Backup Policy Settings
- postImport Backup Policy Settings
- postExport Collection of Backup Policies
- postCalculate Estimated Cost for Backup Policy
- getGet Backup Policy Estimated Cost
- DynamoDB Restore Points
- DynamoDB Tables
- EC2 Backup Policies
- getGet Collection of EC2 Backup Policies
- postCreate Backup Policy
- getGet Backup Policy Data
- putModify Backup Policy
- delDelete Backup Policy
- getGet Resources Protected by Backup Policy
- getGet AWS Regions Selected for Backup Policy
- getGet Resources Excluded from Backup Policy
- getGet Resources Protected by EC2 Backup Policy
- postEnable Backup Policy
- postDisable Backup Policy
- postStart Backup Policy
- postStop Backup Policy
- getExport Backup Policy Settings
- postImport Backup Policy Settings
- postValidate Backup Policy Settings
- postSet Backup Policy Priority
- postExport Collection of Backup Policies
- postCalculate Estimated Cost for Backup Policy
- getGet Backup Policy Estimated Cost
- EC2 Instances
- getGet Collection of EC2 Instances
- postPerform Infrastructure Rescan for EC2 Instances
- getGet EC2 Instance Data
- postCreate Snapshot of EC2 Instance
- postRemove Snapshots of EC2 Instance
- postRemove Backups of EC2 Instance
- delRemove Restore Points of EC2 Instance
- getGet EBS Volumes
- postExport Collection of EC2 Instances
- EC2 Restore Points
- getGet EC2 Instance Restore Points
- getGet EC2 Instance Restore Point Data
- postPerform Volume-Level Restore
- postValidate Volume-Level Restore
- postPerform EC2 Instance Restore
- postValidate EC2 Instance Restore
- postPerform EC2 File-Level Restore
- getGet Default Network Settings of Restore Point
- getGet Collection of Data Retrieval Sessions
- getGet Data Retrieval Session Data
- postRetrieve Data From Archive
- postExtend Data Availability Period
- postGet Data Retrieval Sessions for Restore Point
- EFS Backup Policies
- getGet Collection of EFS Backup Policies
- postCreate Backup Policy
- getGet Backup Policy Data
- putModify Backup Policy
- delDelete Backup Policy
- getGet Resources Protected by Backup Policy
- getGet Resources Excluded from Backup Policy
- getGet Resources Protected by EFS Backup Policy
- getGet AWS Regions Selected for Backup Policy
- postEnable Backup Policy
- postDisable Backup Policy
- postStart Backup Policy
- postStop Backup Policy
- postCalculate Estimated Cost for Backup Policy
- getGet Backup Policy Estimated Cost
- postValidate Backup Policy Settings
- postSet Backup Policy Priority
- getExport Backup Policy Settings
- postImport Backup Policy Settings
- postExport Collection of Backup Policies
- EFS File Systems
- EFS Restore Points
- File-Level Recovery
- FSx Backup Policies
- getGet Collection of FSx Backup Policies
- postCreate Backup Policy
- getGet Backup Policy Data
- putModify Backup Policy
- delDelete Backup Policy
- getGet Resources Protected by Backup Policy
- getGet Resources Excluded from Backup Policy
- getGet AWS Regions Selected for Backup Policy
- postEnable Backup Policy
- postDisable Backup Policy
- postStart Backup Policy
- postStop Backup Policy
- postValidate Backup Policy Settings
- postSet Backup Policy Priority
- getExport Backup Policy Settings
- postImport Backup Policy Settings
- postExport Collection of Backup Policies
- postCalculate Estimated Cost for Backup Policy
- getGet Backup Policy Estimated Cost
- FSx File Systems
- FSx Restore Points
- Redshift Backup Policies
- getGet Collection of Redshift Backup Policies
- postCreate Backup Policy
- getGet Backup Policy Data
- putModify Backup Policy
- delDelete Backup Policy
- getGet Resources Protected by Backup Policy
- getGet Resources Excluded from Backup Policy
- getGet AWS Regions Selected for Backup Policy
- postEnable Backup Policy
- postDisable Backup Policy
- postStart Backup Policy
- postStop Backup Policy
- postValidate Backup Policy Settings
- postSet Backup Policy Priority
- getExport Backup Policy Settings
- postImport Backup Policy Settings
- postExport Collection of Backup Policies
- postCalculate Estimated Cost for Backup Policy
- getGet Backup Policy Estimated Cost
- Redshift Restore Points
- Redshift Clusters
- Redshift Serverless Namespaces
- Redshift Serverless Backup Policies
- getGet Collection of Redshift Serverless Backup Policies
- postCreate Backup Policy
- getGet Backup Policy Data
- putModify Backup Policy
- delDelete Backup Policy
- getGet Resources Protected by Backup Policy
- getGet Resources Excluded from Backup Policy
- getGet AWS Regions Selected for Backup Policy
- postEnable Backup Policy
- postDisable Backup Policy
- postStart Backup Policy
- postStop Backup Policy
- postValidate Backup Policy Settings
- postSet Backup Policy Priority
- getExport Backup Policy Settings
- postImport Backup Policy Settings
- postExport Collection of Backup Policies
- Redshift Serverless Restore Points
- Global Retention Settings
- IAM Roles
- Organizations
- postPerform Rescan of AWS Organization Structure
- getGet Collection of AWS Organizations
- postAdd AWS Organization
- getGet AWS Organization Data
- putModify AWS Organization
- delRemove AWS Organization
- postGet AWS Organization Structure Rescan Results
- postGet Structure of AWS Organization Added to Veeam Backup for AWS
- postValidate Removing of AWS Organization
- postValidate Removing of Multiple AWS Organizations
- postCheck AWS Organization Configuration
- postExport Collection of AWS Organizations
- postCheck Adding AWS Organization
- postValidate AWS Organization Name
- postValidate AWS Organization Settings
- Infrastructure
- Identity Provider
- Immutability Settings
- Initial Configuration
- License Agreements
- Licensing
- RDS Backup Policies
- getGet Collection of RDS Backup Policies
- postCreate Backup Policy
- getGet Backup Policy Data
- putModify Backup Policy
- delDelete Backup Policy
- getGet Resources Protected by Backup Policy
- getGet AWS Regions Selected for Backup Policy
- getGet Resources Excluded from Backup Policy
- getGet Resources Protected by RDS Backup Policy
- postEnable Backup Policy
- postDisable Backup Policy
- postStart Backup Policy
- postStop Backup Policy
- getExport Backup Policy Settings
- postImport Backup Policy Settings
- postValidate Backup Policy Settings
- postSet Backup Policy Priority
- postExport Collection of Backup Policies
- postCalculate Estimated Cost for Backup Policy
- getGet Backup Policy Estimated Cost
- RDS Resources
- RDS Restore Points
- getGet RDS Resource Restore Points
- getGet RDS Resource Restore Point Data
- delRemove RDS Resource Restore Point
- postPerform RDS Resource Restore
- postPerform DB Instance Database Restore
- postValidate the RDS Resource Restore from Backup
- postValidate RDS Resource Restore from Snapshot
- getGet RDS Resource Restore Point Databases List
- Security Certificates
- Sessions
- SMTP Accounts
- Time Zone
- User Accounts
- getGet Collection of Users
- postAdd User Account
- getGet Collection of User Roles
- getGet User Data
- putModify User Account
- delRemove User Account
- postValidate User Name
- postValidate User Description
- postValidate User Password
- postGet MFA Secret Key
- postEnable MFA for User
- postDisable MFA for User
- getVerify First Login
- postValidate Backup Appliance Instance ID
- postCreate Default User
- postExport Collection of Users
- Veeam Backup for AWS Version
- VPC Configuration Backup Policy
- VPC Configuration Restore Points
- getGet VPC Configuration Restore Points
- getGet VPC Configuration Restore Point Data
- getGet Backed-Up VPC Configuration Items
- getGet Collection of Backed-Up VPCs
- postCheck IAM Role Permissions
- postCompare VPC Configuration
- postPerform VPC Configuration Restore
- postValidate VPC Configuration Restore
- postExport Backed-Up VPC Configuration
- postRemove VPC Configuration Backups
- Workers
- getGet Collection of Worker Profiles
- postAdd Worker Profiles
- getGet Worker Profiles for Region
- putModify Worker Profiles
- delRemove Worker Profiles
- getGet IAM Role Used to Launch Worker Instances
- putChange IAM Role Used to Launch Worker Instances
- getGet Collection of Worker Configurations
- postAdd Worker Configuration
- getGet Worker Configuration Data
- putModify Worker Configuration
- delRemove Worker Configuration
- getGet Worker Configurations for Production Accounts
- postAdd Worker Configuration for Production Account
- getGet Worker Configuration for Production Account Data
- putModify Worker Configuration for Production Account
- delRemove Worker Configuration for Production Account
- getGet Worker Custom Tags
- putModify Worker Custom Tags
The /configurationBackup
resource collection allows you to back up and restore the configuration database of the backup appliance.
Get Configuration Backup Settings
The HTTP GET request to the /configurationBackup/settings
endpoint retrieves settings configured to perform backup of the Veeam Backup for AWS configuration database.
header Parameters
x-api-version required | string Default: 1.7-rev0 Specifies the current version and revision of the Veeam Backup for AWS REST API. |
OK
Bad Request. 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 a request does not have adequate privileges to access one or more objects specified in the request.
Not Found. One or more resources specified in the request could not be found in the specified resource collection.
Internal Server Error. The request has been received but could not be completed because of an internal error on the server side.
Service Unavailable
Gateway Timeout
- curl
- Python
- JavaScript
- C#
- Go
curl -i -X GET \ https://helpcenter.veeam.com/api/v1/configurationBackup/settings \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'x-api-version: 1.7-rev0'
- 200
- 400
- 401
- 403
- 404
{- "isEnabled": true,
- "modifiedBy": "string",
- "modificationTime": "2019-08-24T14:15:22Z",
- "backupOptions": {
- "targetRepositoryId": "e5e3201d-c04e-4805-9432-f1a711ddba9f",
- "useProductionWorkers": true,
- "workerRoleId": "64df62f7-ea74-4b40-a93f-13fb342a45e2"
}, - "scheduleOptions": {
- "retention": {
- "daysCount": 1
}, - "schedule": {
- "timeLocal": "2019-08-24T14:15:22Z",
- "days": [
- "Sunday"
]
}
}, - "includeSessionHistory": true
}
Modify Configuration Backup Settings
The HTTP PUT request to the /configurationBackup/settings
endpoint changes settings configured to perform backup of the Veeam Backup for AWS configuration database.
header Parameters
x-api-version required | string Default: 1.7-rev0 Specifies the current version and revision of the Veeam Backup for AWS REST API. |
Request Body schema: application/jsonrequired
required | object (ConfigurationBackupPolicyBackupSpecification) Specifies a location where the backup files will be stored. |
required | object (ConfigurationBackupScheduleSettings) Specifies schedule and retention settings for automatic configuration backup. |
isEnabled | boolean Defines whether to enable automatic backup according to the configured schedule. |
includeSessionHistory | boolean Defines whether to back up all session history. By default, Veeam Backup for AWS saves only restore session records. |
OK
Bad Request. 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 a request does not have adequate privileges to access one or more objects specified in the request.
Not Found. One or more resources specified in the request could not be found in the specified resource collection.
Internal Server Error. The request has been received but could not be completed because of an internal error on the server side.
Service Unavailable
Gateway Timeout
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "isEnabled": true,
- "scheduleOptions": {
- "retention": {
- "daysCount": 1
}, - "schedule": {
- "timeLocal": "2019-08-24T14:15:22Z",
- "days": [
- "Sunday"
]
}
}, - "includeSessionHistory": true,
- "backupOptions": {
- "targetRepositoryId": "e5e3201d-c04e-4805-9432-f1a711ddba9f"
}
}
- 200
- 400
- 401
- 403
- 404
{- "isEnabled": true,
- "modifiedBy": "string",
- "modificationTime": "2019-08-24T14:15:22Z",
- "backupOptions": {
- "targetRepositoryId": "e5e3201d-c04e-4805-9432-f1a711ddba9f",
- "useProductionWorkers": true,
- "workerRoleId": "64df62f7-ea74-4b40-a93f-13fb342a45e2"
}, - "scheduleOptions": {
- "retention": {
- "daysCount": 1
}, - "schedule": {
- "timeLocal": "2019-08-24T14:15:22Z",
- "days": [
- "Sunday"
]
}
}, - "includeSessionHistory": true
}
Enable Configuration Backup Schedule
The HTTP POST request to the /configurationBackup/enable
endpoint enables the disabled configuration backup schedule.
header Parameters
x-api-version required | string Default: 1.7-rev0 Specifies the current version and revision of the Veeam Backup for AWS REST API. |
OK
Bad Request. The request body is malformed, incomplete or invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Not Found. One or more resources specified in the request could not be found in the specified resource collection.
Internal Server Error. The request has been received but could not be completed because of an internal error on the server side.
Service Unavailable
Gateway Timeout
- curl
- Python
- JavaScript
- C#
- Go
curl -i -X POST \ https://helpcenter.veeam.com/api/v1/configurationBackup/enable \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'x-api-version: 1.7-rev0'
- 200
- 400
- 401
- 404
{ }
Disable Configuration Backup Schedule
The HTTP POST request to the /configurationBackup/disable
endpoint disables the enabled configuration backup schedule.
header Parameters
x-api-version required | string Default: 1.7-rev0 Specifies the current version and revision of the Veeam Backup for AWS REST API. |
OK
Bad Request. The request body is malformed, incomplete or invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Not Found. One or more resources specified in the request could not be found in the specified resource collection.
Internal Server Error. The request has been received but could not be completed because of an internal error on the server side.
Service Unavailable
Gateway Timeout
- curl
- Python
- JavaScript
- C#
- Go
curl -i -X POST \ https://helpcenter.veeam.com/api/v1/configurationBackup/disable \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'x-api-version: 1.7-rev0'
- 200
- 400
- 401
- 404
{ }
Get Configuration Backup Restore Points
The HTTP GET request to the /configurationBackup/restorePoints
endpoint retrieves a list of all restore points created for the Veeam Backup for AWS configuration database.
query Parameters
Offset | integer <int32> >= 0 Excludes from a response the first N items of a resource collection. |
Limit | integer <int32> >= -1 Specifies the maximum number of items of a resource collection to return in a response. |
Sort | Array of strings Specifies the order of items in the response. For more information, see the Veeam Backup for AWS REST API Reference Overview, section Sort Parameter. |
header Parameters
x-api-version required | string Default: 1.7-rev0 Specifies the current version and revision of the Veeam Backup for AWS REST API. |
OK
Bad Request. 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 a request does not have adequate privileges to access one or more objects specified in the request.
Not Found. One or more resources specified in the request could not be found in the specified resource collection.
Internal Server Error. The request has been received but could not be completed because of an internal error on the server side.
Service Unavailable
Gateway Timeout
- curl
- Python
- JavaScript
- C#
- Go
curl -i -X GET \ 'https://helpcenter.veeam.com/api/v1/configurationBackup/restorePoints?Offset=0&Limit=-1&Sort=creationTimeUtcAsc' \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'x-api-version: 1.7-rev0'
- 200
- 400
- 401
- 403
- 404
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creationTimeUtc": "2019-08-24T14:15:22Z",
- "jobType": "ManualBackup",
- "repositoryId": "5aa3e9fa-2d0a-4c21-ad54-43217e2bc9c0",
- "instanceId": "string",
- "size": 0,
- "product": {
- "installationId": "string",
- "productName": "string",
- "productVersion": "string",
- "flrVersion": "string"
}, - "counters": {
- "ec2PoliciesCount": 0,
- "rdsPoliciesCount": 0,
- "vpcPoliciesCount": 0,
- "efsPoliciesCount": 0,
- "fsxPoliciesCount": 0,
- "dynamodbPoliciesCount": 0,
- "redshiftPoliciesCount": 0,
- "sessionsCount": 0,
- "IAMRolesCount": 0,
- "standartRepositoriesCount": 0,
- "archiveRepositoriesCount": 0
}, - "immutabilityInfo": {
- "immutabilityEnabled": true,
- "immutableTillUtc": "2019-08-24T14:15:22Z"
}
}
], - "totalCount": 0
}
Get Configuration Backup Restore Point Data
The HTTP GET request to the /configurationBackup/restorePoints/{restorePointId}
endpoint retrieves information on a specific restore point created for the Veeam Backup for AWS configuration database.
path Parameters
restorePointId required | string <uuid> Specifies the system ID assigned to a restore point in the Veeam Backup for AWS REST API. |
header Parameters
x-api-version required | string Default: 1.7-rev0 Specifies the current version and revision of the Veeam Backup for AWS REST API. |
OK
Bad Request. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Not Found. One or more resources specified in the request could not be found in the specified resource collection.
Internal Server Error. The request has been received but could not be completed because of an internal error on the server side.
Service Unavailable
Gateway Timeout
- curl
- Python
- JavaScript
- C#
- Go
curl -i -X GET \ 'https://helpcenter.veeam.com/api/v1/configurationBackup/restorePoints/{restorePointId}' \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'x-api-version: 1.7-rev0'
- 200
- 400
- 401
- 404
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creationTimeUtc": "2019-08-24T14:15:22Z",
- "jobType": "ManualBackup",
- "repositoryId": "5aa3e9fa-2d0a-4c21-ad54-43217e2bc9c0",
- "instanceId": "string",
- "size": 0,
- "product": {
- "installationId": "string",
- "productName": "string",
- "productVersion": "string",
- "flrVersion": "string"
}, - "counters": {
- "ec2PoliciesCount": 0,
- "rdsPoliciesCount": 0,
- "vpcPoliciesCount": 0,
- "efsPoliciesCount": 0,
- "fsxPoliciesCount": 0,
- "dynamodbPoliciesCount": 0,
- "redshiftPoliciesCount": 0,
- "sessionsCount": 0,
- "IAMRolesCount": 0,
- "standartRepositoriesCount": 0,
- "archiveRepositoriesCount": 0
}, - "immutabilityInfo": {
- "immutabilityEnabled": true,
- "immutableTillUtc": "2019-08-24T14:15:22Z"
}
}
Remove Configuration Backup Restore Point
The HTTP DELETE request to the /configurationBackup/restorePoints/{restorePointId}
endpoint deletes a specific restore point created for the Veeam Backup for AWS configuration database.
path Parameters
restorePointId required | string <uuid> Specifies the system ID assigned to a restore point in the Veeam Backup for AWS REST API. |
header Parameters
x-api-version required | string Default: 1.7-rev0 Specifies the current version and revision of the Veeam Backup for AWS REST API. |
Accepted
Bad Request. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Not Found. One or more resources specified in the request could not be found in the specified resource collection.
Internal Server Error. The request has been received but could not be completed because of an internal error on the server side.
Service Unavailable
Gateway Timeout
- curl
- Python
- JavaScript
- C#
- Go
curl -i -X DELETE \ 'https://helpcenter.veeam.com/api/v1/configurationBackup/restorePoints/{restorePointId}' \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'x-api-version: 1.7-rev0'
- 202
- 400
- 401
- 404
{- "sessionId": "f6567dd8-e069-418e-8893-7d22fcf12459"
}
Create Configuration Backup
The HTTP POST request to the configurationBackup/backup
endpoint creates a manual backup of the Veeam Backup for AWS configuration database.
header Parameters
x-api-version required | string Default: 1.7-rev0 Specifies the current version and revision of the Veeam Backup for AWS REST API. |
Request Body schema: application/jsonrequired
repositoryId required | string <uuid> Specifies the system ID assigned in the Veeam Backup for AWS REST API to a repository where the configuration backup will be stored. |
backupSession | boolean Defines whether all session history will be backed up. By default, only restore session records are saved. |
Accepted
Bad Request. The request body is malformed, incomplete or invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Not Found. One or more resources specified in the request could not be found in the specified resource collection.
The policy has already started.
Internal Server Error. The request has been received but could not be completed because of an internal error on the server side.
Service Unavailable
Gateway Timeout
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "repositoryId": "5aa3e9fa-2d0a-4c21-ad54-43217e2bc9c0",
- "backupSession": true
}
- 202
- 400
- 401
- 404
- 409
{- "sessionId": "1b1a25b9-1131-469a-914c-5318b0aa1b07",
- "_links": [
- {
- "method": "GET",
- "rel": "self",
}
]
}
Restore Backup Appliance Configuration
The HTTP POST request to the configurationBackup/restore
endpoint launches restore of the backup appliance configuration using a specific restore point or an imported backup file.
To perform configuration restore from an imported backup file, first import the file as described in section Import Configuration Backup File.
header Parameters
x-api-version required | string Default: 1.7-rev0 Specifies the current version and revision of the Veeam Backup for AWS REST API. |
Request Body schema: application/jsonrequired
restoreSource required | string (EConfigurationRestoreSourceType) Specifies whether to resore configuration from an imported backup file or using a restore point. |
required | object (StartConfigurationRestoreOptions) Specifies additional restore options. |
object (ConfigurationRestoreRestorePointSource) [Applies if the RestorePoint value is specified for the | |
object (ConfigurationRestoreBackupFileSource) [Applies if the File value is specified for the | |
rollbackAfterFail | boolean Defines whether to perform the rollback operation in case of restore fails. |
Accepted
Bad Request. The request body is malformed, incomplete or invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Not Found. One or more resources specified in the request could not be found in the specified resource collection.
The policy has already started.
Internal Server Error. The request has been received but could not be completed because of an internal error on the server side.
Service Unavailable
Gateway Timeout
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "restoreSource": "RestorePoint",
- "restorePointSource": {
- "restorePointId": "8c843d10-6d0f-4abe-b898-e1ba18b94f68"
}, - "backupFileSource": {
- "backupFileId": "fc558cdd-e3c5-4b6d-8c88-537b046efe35",
- "backupFilePassword": "string"
}, - "restoreOptions": {
- "restoreSessionHistory": true,
- "restoreUsers": true,
- "restoreVpc": true
}, - "rollbackAfterFail": true
}
- 202
- 400
- 401
- 404
- 409
{- "sessionId": "1b1a25b9-1131-469a-914c-5318b0aa1b07",
- "_links": [
- {
- "method": "GET",
- "rel": "self",
}
]
}
Check Configuration
The HTTP POST request to the configurationBackup/restore/check
endpoint launches checks for the restored configuration. This request must be performed to verify whether the backup appliance is ready to work properly after the restore operation.
header Parameters
x-api-version required | string Default: 1.7-rev0 Specifies the current version and revision of the Veeam Backup for AWS REST API. |
OK
Bad Request. The request body is malformed, incomplete or invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Not Found. One or more resources specified in the request could not be found in the specified resource collection.
The policy has already started.
Internal Server Error. The request has been received but could not be completed because of an internal error on the server side.
Service Unavailable
Gateway Timeout
- curl
- Python
- JavaScript
- C#
- Go
curl -i -X POST \ https://helpcenter.veeam.com/api/v1/configurationBackup/restore/check \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'x-api-version: 1.7-rev0'
- 200
- 400
- 401
- 404
- 409
{ }
Get Configuration Check Results
The HTTP GET request to the configurationBackup/restore/check/status
endpoint retrieves information on performed configuration checks.
header Parameters
x-api-version required | string Default: 1.7-rev0 Specifies the current version and revision of the Veeam Backup for AWS REST API. |
OK
Bad Request. The request body is malformed, incomplete or invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Not Found. One or more resources specified in the request could not be found in the specified resource collection.
The policy has already started.
Internal Server Error. The request has been received but could not be completed because of an internal error on the server side.
Service Unavailable
Gateway Timeout
- curl
- Python
- JavaScript
- C#
- Go
curl -i -X GET \ https://helpcenter.veeam.com/api/v1/configurationBackup/restore/check/status \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'x-api-version: 1.7-rev0'
- 200
- 400
- 401
- 404
- 409
{- "overallStatus": "Success",
- "logLines": [
- {
- "title": "string",
- "type": "MissingRoles",
- "status": "Success",
- "result": "string"
}
]
}
Complete Configuration Restore
The HTTP POST request to the configurationBackup/restore/complete
endpoint completes the restore operation of the backup appliance configuration.
Before you complete the restore operation, it is recommended that you perform Configuration Check.
header Parameters
x-api-version required | string Default: 1.7-rev0 Specifies the current version and revision of the Veeam Backup for AWS REST API. |
OK
Bad Request. The request body is malformed, incomplete or invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Not Found. One or more resources specified in the request could not be found in the specified resource collection.
The policy has already started.
Internal Server Error. The request has been received but could not be completed because of an internal error on the server side.
Service Unavailable
Gateway Timeout
- curl
- Python
- JavaScript
- C#
- Go
curl -i -X POST \ https://helpcenter.veeam.com/api/v1/configurationBackup/restore/complete \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'x-api-version: 1.7-rev0'
- 200
- 400
- 401
- 404
- 409
{- "message": "string"
}
Start Configuration Backup Export
The HTTP POST request to the configurationBackup/export/start
endpoint launches an export operation for a specific configuration backup file.
header Parameters
x-api-version required | string Default: 1.7-rev0 Specifies the current version and revision of the Veeam Backup for AWS REST API. |
Request Body schema: application/jsonrequired
Specifies the backup file that will be exported.
restorePointId required | string <uuid> Specifies the system ID assigned in Veeam Backup for AWS to a restore point assosiated with the configuration backup that will be exported. |
password required | string Specifies a password that will be used to encrypt the exported backup file. |
passwordHint required | string Specifies a hint to the password. |
Accepted
Bad Request. The request body is malformed, incomplete or invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Not Found. One or more resources specified in the request could not be found in the specified resource collection.
The policy has already started.
Internal Server Error. The request has been received but could not be completed because of an internal error on the server side.
Service Unavailable
Gateway Timeout
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "restorePointId": "8c843d10-6d0f-4abe-b898-e1ba18b94f68",
- "password": "string",
- "passwordHint": "string"
}
- 202
- 400
- 401
- 404
- 409
{- "sessionId": "f6567dd8-e069-418e-8893-7d22fcf12459"
}
Check Status of Configuration Backup Export
The HTTP GET request to the configurationBackup/export/status/{sessionId}
endpoint allows to check whether the exported configuration backup file is ready for download.
path Parameters
sessionId required | string <uuid> Specifies the system ID assigned to an export session in the Veeam Backup for AWS REST API. |
header Parameters
x-api-version required | string Default: 1.7-rev0 Specifies the current version and revision of the Veeam Backup for AWS REST API. |
OK
Bad Request. The request body is malformed, incomplete or invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Not Found. One or more resources specified in the request could not be found in the specified resource collection.
Internal Server Error. The request has been received but could not be completed because of an internal error on the server side.
Service Unavailable
Gateway Timeout
- curl
- Python
- JavaScript
- C#
- Go
curl -i -X GET \ 'https://helpcenter.veeam.com/api/v1/configurationBackup/export/status/{sessionId}' \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'x-api-version: 1.7-rev0'
- 200
- 400
- 401
- 404
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "initiator": "string",
- "createTimeUtc": "2019-08-24T14:15:22Z",
- "endTimeUtc": "2019-08-24T14:15:22Z",
- "status": "Running",
- "result": "Running",
- "reason": "string",
- "logs": [
- {
- "title": "string",
- "description": "string",
- "createTimeUtc": "2019-08-24T14:15:22Z",
- "updateTimeUtc": "2019-08-24T14:15:22Z",
- "status": "Running"
}
]
}
Download Configuration Backup File
The HTTP POST request to the configurationBackup/export/download
endpoint allows a user to download the exported configuration backup file.
header Parameters
x-api-version required | string Default: 1.7-rev0 Specifies the current version and revision of the Veeam Backup for AWS REST API. |
Request Body schema: application/jsonrequired
Specifies a session ID of a file export operation.
sessionid required | string <uuid> Specifies the system ID assigned to an export session in the Veeam Backup for AWS REST API. |
OK
Bad Request. The request body is malformed, incomplete or invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Not Found. One or more resources specified in the request could not be found in the specified resource collection.
The policy has already started.
Internal Server Error. The request has been received but could not be completed because of an internal error on the server side.
Service Unavailable
Gateway Timeout
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "sessionid": "3bbbed98-ee5f-4c05-ac40-ac8b8db8cbb6"
}
- 200
- 400
- 401
- 404
- 409
"string"
Import Configuration Backup File
The HTTP POST request to the /configurationBackup/import
endpoint allows you to upload a configuration backup file.
header Parameters
x-api-version required | string Default: 1.7-rev0 Specifies the current version and revision of the Veeam Backup for AWS REST API. |
Request Body schema: multipart/form-datarequired
backupFile required | string <binary> Specifies a configuration backup file to upload. |
OK
Bad Request. 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 a 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 on the server side.
Service Unavailable
Gateway Timeout
- curl
- Python
- JavaScript
- C#
- Go
curl -i -X POST \ https://helpcenter.veeam.com/api/v1/configurationBackup/import \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'Content-Type: multipart/form-data' \ -H 'x-api-version: 1.7-rev0' \ -F backupFile=string
- 200
- 400
- 401
- 403
{- "fileId": "a1c6a2ab-4b01-4253-b4c9-70e04b3b48fc"
}
Remove Imported Configuration Backup File
The HTTP DELETE request to the /configurationBackup/import/{fileId}
endpoint removes a specific imported configuration backup file if the file is not needed, for example if the file is corrupted or a user decided to use another file to restore the configuration.
Imported backup files that are used for restore operations are removed automatically after the operations complete.
path Parameters
fileId required | string <uuid> Specifies the system ID assigned to an imported configuration backup file in the Veeam Backup for AWS REST API. |
header Parameters
x-api-version required | string Default: 1.7-rev0 Specifies the current version and revision of the Veeam Backup for AWS REST API. |
No Content
Bad Request. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Not Found. One or more resources specified in the request could not be found in the specified resource collection.
Internal Server Error. The request has been received but could not be completed because of an internal error on the server side.
Service Unavailable
Gateway Timeout
- curl
- Python
- JavaScript
- C#
- Go
curl -i -X DELETE \ 'https://helpcenter.veeam.com/api/v1/configurationBackup/import/{fileId}' \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'x-api-version: 1.7-rev0'
- 400
- 401
- 404
{- "title": "string",
- "status": 400,
- "errorCode": "AccessDenied",
- "details": "string",
- "data": {
- "property1": { },
- "property2": { }
}
}
Check Imported Backup File
The HTTP POST request to the /configurationBackup/import/{fileId}/check
endpoint verifies whether the imported configuration backup file is not corrupted.
path Parameters
fileId required | string <uuid> Specifies the system ID assigned to an imported configuration backup file in the Veeam Backup for AWS REST API. |
header Parameters
x-api-version required | string Default: 1.7-rev0 Specifies the current version and revision of the Veeam Backup for AWS REST API. |
Request Body schema: application/jsonrequired
backupFilePassword required | string Password that was used to encrypt the configuration backup file. |
OK
Bad Request. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Not Found. One or more resources specified in the request could not be found in the specified resource collection.
Internal Server Error. The request has been received but could not be completed because of an internal error on the server side.
Service Unavailable
Gateway Timeout
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "backupFilePassword": "string"
}
- 200
- 400
- 401
- 404
{- "isValid": true,
- "errors": [
- "string"
]
}
Get List of Uploaded Configuration Backup Files
The HTTP POST request to the /configurationBackup/import/list
endpoint retrieves a list of IDs of configuration backup files that were imported to the backup appliance and were not used to restore the configuration.
header Parameters
x-api-version required | string Default: 1.7-rev0 Specifies the current version and revision of the Veeam Backup for AWS REST API. |
OK
Bad Request. 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 a 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 on the server side.
Service Unavailable
Gateway Timeout
- curl
- Python
- JavaScript
- C#
- Go
curl -i -X GET \ https://helpcenter.veeam.com/api/v1/configurationBackup/import/list \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'x-api-version: 1.7-rev0'
- 200
- 400
- 401
- 403
{- "results": [
- {
- "fileId": "a1c6a2ab-4b01-4253-b4c9-70e04b3b48fc"
}
], - "totalCount": 0
}
Get Configuration Backup and Restore Session Data
The HTTP GET request to the configurationBackup/session/{sessionId}
endpoint retrieves information on a configuration backup or restore session with the specified ID."
path Parameters
sessionId required | string <uuid> Specifies the system ID assigned to a session in the Veeam Backup for AWS REST API. |
header Parameters
x-api-version required | string Default: 1.7-rev0 Specifies the current version and revision of the Veeam Backup for AWS REST API. |
OK
Bad Request. The request body is malformed, incomplete or invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Not Found. One or more resources specified in the request could not be found in the specified resource collection.
Internal Server Error. The request has been received but could not be completed because of an internal error on the server side.
Service Unavailable
Gateway Timeout
- curl
- Python
- JavaScript
- C#
- Go
curl -i -X GET \ 'https://helpcenter.veeam.com/api/v1/configurationBackup/sessions/{sessionId}' \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'x-api-version: 1.7-rev0'
- 200
- 400
- 401
- 404
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "initiator": "string",
- "createTimeUtc": "2019-08-24T14:15:22Z",
- "endTimeUtc": "2019-08-24T14:15:22Z",
- "status": "Running",
- "result": "Running",
- "reason": "string",
- "logs": [
- {
- "title": "string",
- "description": "string",
- "createTimeUtc": "2019-08-24T14:15:22Z",
- "updateTimeUtc": "2019-08-24T14:15:22Z",
- "status": "Running"
}
]
}