- 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 /repositories
resource collection represents all backup repositories added to the Veeam Backup for AWS configuration database.
Get Collection of Repositories
The HTTP GET request to the /repositories
endpoint retrieves a list of all backup repositories added to the Veeam Backup for AWS configuration database.
query Parameters
SearchPattern | string Returns only those items of a resource collection whose names match the specified search pattern in the parameter value. |
Offset | integer <int32> >= 0 Excludes from a response the first N items of a resource collection. |
Sort | Array of strings (RepositoriesSortColumns) Specifies the order of items in the response. For more information, see the Veeam Backup for AWS REST API Reference Overview, section Sort Parameter. |
Limit | integer <int32> >= -1 Specifies the maximum number of items of a resource collection to return in a response. |
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/repositories?SearchPattern=string&Offset=0&Sort=nameAsc&Limit=-1' \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'x-api-version: 1.7-rev0'
- 200
- 400
- 401
- 404
{- "totalCount": 2,
- "results": [
- {
- "id": "a7bcabe6-91f7-40ca-ad73-915d43a8e86b",
- "name": "Repository 01",
- "description": "Repository for Dept-01",
- "identity": {
- "id": "757efdd7-128e-470c-90b6-1b274dbf502f",
- "type": "Account",
- "awsId": "997757113576",
- "name": "Repository IAM role",
- "regionType": "Global"
}, - "amazonStorageFolder": "dept-1-rs",
- "amazonBucketId": "0dab1d93-ac17-482b-88a7-a56bebbb2b2e",
- "hint": "775",
- "enableEncryption": true,
- "_embedded": {
- "amazonAccount": "S3 Access Role",
- "amazonAccountLink": {
- "method": "GET",
- "rel": "AmazonAccount",
}, - "region": "us-east-1",
- "regionLink": {
- "method": "GET",
- "rel": "Region",
}, - "bucket": "dept-1-1",
- "bucketLink": {
- "method": "GET",
- "rel": "Bucket",
}
}, - "_links": [
- {
- "method": "GET",
- "rel": "self",
}, - {
- "method": "PUT",
- "rel": "update",
}, - {
- "method": "DELETE",
- "rel": "delete",
}, - {
- "method": "POST",
- "rel": "rescan",
}
]
}, - {
- "id": "34ea638c-242f-4c8f-8015-f6f7824cbdc3",
- "name": "Repository 02",
- "description": "Repository for Dept-01",
- "identity": {
- "id": "757efdd7-128e-470c-90b6-1b274dbf502f",
- "type": "Account",
- "awsId": "997757113576",
- "name": "Repository IAM role",
- "regionType": "Global"
}, - "amazonStorageFolder": "dept-1-js",
- "amazonBucketId": "0dab1d93-ac17-482b-88a7-a56bebbb2b2e",
- "enableEncryption": false,
- "_embedded": {
- "amazonAccount": "S3 Access Role",
- "amazonAccountLink": {
- "method": "GET",
- "rel": "AmazonAccount",
}, - "region": "us-east-1",
- "regionLink": {
- "method": "GET",
- "rel": "Region",
}, - "bucket": "dept-1-1",
- "bucketLink": {
- "method": "GET",
- "rel": "Bucket",
}
}, - "_links": [
- {
- "method": "GET",
- "rel": "self",
}, - {
- "method": "PUT",
- "rel": "update",
}, - {
- "method": "DELETE",
- "rel": "delete",
}, - {
- "method": "POST",
- "rel": "rescan",
}
]
}
], - "_links": [
]
}
Add Backup Repository
The HTTP POST request to the /repositories
endpoint adds a backup repository to the Veeam Backup for AWS configuration database.
Before you add a backup repository, you can check whether the settings you plan to specify for the repository are valid. For more information, see Validate Backup Repository Settings.
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: required
name required | string [ 1 .. 255 ] characters Specifies a name for a backup repository. |
amazonBucketId required | string <uuid> Specifies the system ID assigned to an Amazon S3 bucket where the backup repository will be located. |
identityId required | string <uuid> Specifies the system ID assigned in the Veeam Backup for AWS REST API to an IAM role that will be used to connect to the backup repository. |
amazonStorageFolder required | string Specifies the folder name in the selected Amazon S3 bucket that will be used to store backups. |
storageClass required | string (RepositoryStorageClass) Specifies a storage class of the backup repository. |
enableEncryption required | boolean Defines whether to encrypt backup files stored in the created repository. Note that once encryption settings are enabled for the repository, they cannot be disabled. |
required | object (RepositoryImmutabilitySettings) Specifies the immutability settings to configure for the repository. |
overrideOwner required | boolean Defines whether to override the repository owner. |
description | string Specifies a description for the backup repository. |
password | string [Applies only if the repository will be encrypted using a password] Specifies a password that will be used for data encryption. |
hint | string [Applies only if the repository will be encrypted using a password] Specifies a hint for the specified password. |
customerMasterKeyId | string [Applies only if the repository will be encrypted using a KMS key] Specifies the system ID assigned in the Veeam Backup for AWS REST API to a KMS key that will be used for data encryption. |
customEndpointId | string [Applies only for backup appliances deployed in private environments] Specifies the AWS ID of a VPC endpoint used by the repository. |
Created
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).
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
{- "name": "Repository 03",
- "description": "Repository for Dept-02",
- "identityId": "757efdd7-128e-470c-90b6-1b274dbf502f",
- "amazonBucketId": "0dab1d93-ac17-482b-88a7-a56bebbb2b2e",
- "amazonStorageFolder": "dept-2-ls",
- "storageClass": "S3",
- "password": "password123",
- "hint": "TWA",
- "customerMasterKeyId": "string",
- "enableEncryption": true,
- "immutabilitySettings": {
- "enableImmutability": true
}, - "overrideOwner": true,
- "customEndpointId": "vpce-1234567"
}
- 201
- 400
- 401
[- {
- "id": "c7aef911-cd83-4e9a-924a-e9635b0a8983",
- "name": "Repository 03",
- "description": "Repository for Dept-02",
- "identity": {
- "id": "757efdd7-128e-470c-90b6-1b274dbf502f",
- "type": "Account",
- "awsId": "997757113576",
- "name": "Repository IAM role",
- "regionType": "Global"
}, - "amazonStorageFolder": "dept-2-ls",
- "amazonBucketId": "0dab1d93-ac17-482b-88a7-a56bebbb2b2e",
- "hint": "TWA",
- "enableEncryption": true,
- "_embedded": {
- "amazonAccount": "S3 Access Role",
- "amazonAccountLink": {
- "method": "GET",
- "rel": "AmazonAccount",
}, - "region": "us-east-1",
- "regionLink": {
- "method": "GET",
- "rel": "Region",
}, - "bucket": "dept-1-1",
- "bucketLink": {
- "method": "GET",
- "rel": "Bucket",
}
}, - "_links": [
- {
- "method": "GET",
- "rel": "self",
}, - {
- "method": "PUT",
- "rel": "update",
}, - {
- "method": "DELETE",
- "rel": "delete",
}, - {
- "method": "POST",
- "rel": "rescan",
}
]
}
]
Get Backup Repository Data
The HTTP GET request to the /repositories/{repositoryId}
endpoint retrieves information on a backup repository with the specified ID.
path Parameters
repositoryId required | string <uuid> Specifies the ID assigned to a backup repository in the Veeam Backup for AWS REST API. Example: 34ea638c-242f-4c8f-8015-f6f7824cbdc3 |
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
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/repositories/{repositoryId}' \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'x-api-version: 1.7-rev0'
- 200
- 401
- 404
[- {
- "id": "34ea638c-242f-4c8f-8015-f6f7824cbdc3",
- "name": "Repository 02",
- "description": "Repository for Dept-01",
- "identity": {
- "id": "757efdd7-128e-470c-90b6-1b274dbf502f",
- "type": "Account",
- "awsId": "997757113576",
- "name": "Repository IAM role",
- "regionType": "Global"
}, - "amazonStorageFolder": "dept-1-js",
- "amazonBucketId": "0dab1d93-ac17-482b-88a7-a56bebbb2b2e",
- "enableEncryption": false,
- "_embedded": {
- "amazonAccount": "S3 Access Role",
- "amazonAccountLink": {
- "method": "GET",
- "rel": "AmazonAccount",
}, - "region": "us-east-1",
- "regionLink": {
- "method": "GET",
- "rel": "Region",
}, - "bucket": "dept-1-1",
- "bucketLink": {
- "method": "GET",
- "rel": "Bucket",
}
}, - "_links": [
- {
- "method": "GET",
- "rel": "self",
}, - {
- "method": "PUT",
- "rel": "update",
}, - {
- "method": "DELETE",
- "rel": "delete",
}, - {
- "method": "POST",
- "rel": "rescan",
}
]
}
]
Modify Repository Settings
The HTTP PUT request to the /repositories/{repositoryId}
endpoint update settings of a backup repository with the specified ID added to the Veeam Backup for AWS configuration database.
Before you add a backup repository, you can check whether the settings you plan to specify for the repository are valid. For more information, see Validate Backup Repository Settings.
path Parameters
repositoryId required | string <uuid> Specifies the system ID assigned to a backup repository in the Veeam Backup for AWS REST API. Example: c7aef911-cd83-4e9a-924a-e9635b0a8983 |
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: required
name | string [ 1 .. 255 ] characters Specifies a new name for the backup repository. |
description | string Specifies a new description for the backup repository. |
identityId | string <uuid> Specifies the system ID assigned in the Veeam Backup for AWS REST API to an IAM role that will be used to connect to the backup repository. |
password | string [Applies only if the repository will be encrypted using a password] Specifies a new password that will be used for data encryption. |
hint | string [Applies only if the repository will be encrypted using a password] Specifies a hint for the specified password. |
customerMasterKeyId | string [Applies only if the repository will be encrypted using a KMS key] Specifies the system ID assigned in the Veeam Backup for AWS REST API to a KMS key that will be used for data encryption. |
enableEncryption | boolean Defines whether to encrypt backup files stored in the backup repository. Note that once encryption settings are enabled for the repository, they cannot be disabled. |
overrideOwner | boolean Defines whether to override the repository owner. |
customEndpointId | string [Applies only for backup appliances deployed in private environments] Specifies the AWS ID of a VPC endpoint used by the repository. |
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
{- "name": "Repository 03",
- "description": "Repository for Dept-03",
- "enableEncryption": false,
- "overrideOwner": true
}
- 200
- 400
- 401
- 404
[- {
- "id": "c7aef911-cd83-4e9a-924a-e9635b0a8983",
- "name": "Repository 03",
- "description": "Repository for Dept-03",
- "identity": {
- "id": "757efdd7-128e-470c-90b6-1b274dbf502f",
- "type": "Account",
- "awsId": "997757113576",
- "name": "Repository IAM role",
- "regionType": "Global"
}, - "amazonStorageFolder": "dept-2-ls",
- "amazonBucketId": "0dab1d93-ac17-482b-88a7-a56bebbb2b2e",
- "enableEncryption": false,
- "_embedded": {
- "amazonAccount": "S3 Access Role",
- "amazonAccountLink": {
- "method": "GET",
- "rel": "AmazonAccount",
}, - "region": "us-east-1",
- "regionLink": {
- "method": "GET",
- "rel": "Region",
}, - "bucket": "dept-1-1",
- "bucketLink": {
- "method": "GET",
- "rel": "Bucket",
}
}, - "_links": [
- {
- "method": "GET",
- "rel": "self",
}, - {
- "method": "PUT",
- "rel": "update",
}, - {
- "method": "DELETE",
- "rel": "delete",
}, - {
- "method": "POST",
- "rel": "rescan",
}
]
}
]
Remove Backup Repository
The HTTP DELETE request to the /repositories/{repositoryId}
endpoint removes a repository with the specified ID from the Veeam Backup for AWS configuration database.
path Parameters
repositoryId required | string <uuid> Specifies the system ID assigned to a backup repository in the Veeam Backup for AWS REST API. Example: c7aef911-cd83-4e9a-924a-e9635b0a8983 |
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
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 repository is in use by one or more policies.
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/repositories/{repositoryId}' \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'x-api-version: 1.7-rev0'
- 401
- 404
- 409
{- "title": "string",
- "status": 400,
- "errorCode": "AccessDenied",
- "details": "string",
- "data": {
- "property1": { },
- "property2": { }
}
}
Validate Backup Repository Settings
The HTTP POST request to the /repositories/settings/validate
endpoint checks whether the settings you plan to specify for a repository are valid.
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
name required | string [ 1 .. 255 ] characters Specifies a name for a backup repository. |
amazonBucketId required | string <uuid> Specifies the system ID assigned to an Amazon S3 bucket where the backup repository will be located. |
identityId required | string <uuid> Specifies the system ID assigned in the Veeam Backup for AWS REST API to an IAM role that will be used to connect to the backup repository. |
amazonStorageFolder required | string Specifies the folder name in the selected Amazon S3 bucket that will be used to store backups. |
storageClass required | string (RepositoryStorageClass) Specifies a storage class of the backup repository. |
enableEncryption required | boolean Defines whether to encrypt backup files stored in the created repository. Note that once encryption settings are enabled for the repository, they cannot be disabled. |
required | object (RepositoryImmutabilitySettings) Specifies the immutability settings to configure for the repository. |
overrideOwner required | boolean Defines whether to override the repository owner. |
description | string Specifies a description for the backup repository. |
password | string [Applies only if the repository will be encrypted using a password] Specifies a password that will be used for data encryption. |
hint | string [Applies only if the repository will be encrypted using a password] Specifies a hint for the specified password. |
customerMasterKeyId | string [Applies only if the repository will be encrypted using a KMS key] Specifies the system ID assigned in the Veeam Backup for AWS REST API to a KMS key that will be used for data encryption. |
customEndpointId | string [Applies only for backup appliances deployed in private environments] Specifies the AWS ID of a VPC endpoint used by the repository. |
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
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "name": "Repository 03",
- "description": "Repository for Dept-02",
- "identityId": "757efdd7-128e-470c-90b6-1b274dbf502f",
- "amazonBucketId": "0dab1d93-ac17-482b-88a7-a56bebbb2b2e",
- "amazonStorageFolder": "dept-2-ls",
- "storageClass": "S3",
- "password": "password123",
- "hint": "TWA",
- "customerMasterKeyId": "string",
- "enableEncryption": true,
- "immutabilitySettings": {
- "enableImmutability": true
}, - "overrideOwner": true,
- "customEndpointId": "vpce-1234567"
}
- 200
- 400
- 401
- 403
[- {
- "severity": "Warning",
- "message": "string",
- "contextId": "84451116-c600-49e2-9c60-5b6b34fae0d6"
}
]
Validate Password Used for Data Encryption
The HTTP POST request to the /repositories/{repositoryId}/checkPassword
endpoint verifies the password used for data encryption on a backup repository with the specified ID.
path Parameters
repositoryId required | string <uuid> Specifies an ID assigned to a backup repository in the Veeam Backup for AWS REST API. Example: a7bcabe6-91f7-40ca-ad73-915d43a8e86b |
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
password required | string non-empty Specifies the password that must be verified. |
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
{- "password": "Passwrd123"
}
- 200
- 400
- 401
- 403
- 404
{- "isSuccess": true
}
Export Collection of Repositories
The HTTP POST request to the /repositories/export
endpoint exports a list of all repositories added to the Veeam Backup for AWS configuration database to a .CSV` or an .XML file. To specify the required type of the file, use the Accept request header.
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
Unauthorized. The authorization header has been expected but not found (or found but is expired).
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/repositories/export \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'x-api-version: 1.7-rev0'