- 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 /efs/policies
resource collection represents EFS backup policies created in Veeam Backup for AWS.
Get Collection of EFS Backup Policies
The HTTP GET request to the /efs/policies
endpoint retrieves a list of all EFS backup policies created in Veeam Backup for AWS.
query Parameters
SearchPattern | string Returns only those items of a resource collection whose names match the specified search pattern in the parameter value. |
EfsId | string <uuid> Returns only backup policies that protect a file system with the specified ID. |
IsEnabled | boolean Returns only enabled or disabled backup policies. |
LastPolicySessionStatus | Array of strings Returns only backup policies with the specified most recent backup session status. |
Sort | Array of strings (PoliciesSortColumns) Specifies the order of items in the response. For more information, see the Veeam Backup for AWS REST API Reference Overview, section Sort Parameter. |
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. |
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/efs/policies?SearchPattern=string&EfsId=497f6eca-6276-4993-bfeb-53cbbbba6f08&IsEnabled=true&LastPolicySessionStatus=Running&Sort=priorityAsc&Offset=0&Limit=-1' \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'x-api-version: 1.7-rev0'
- 200
- 400
- 401
- 404
{- "totalCount": 0,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "priority": 0,
- "identity": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "Account",
- "awsId": "string",
- "name": "string",
- "regionType": "Global"
}, - "regions": [
- {
- "sourceRegionId": "3305f138-162c-4e70-807d-f5940825858d",
- "backupVaultSpec": {
- "byIdSpec": {
- "vaultId": "867f3a98-ec66-42f4-abbc-5980239e4a28"
}, - "byTagSpec": {
- "tag": {
- "key": null,
- "value": null
}
}
}
}
], - "backupType": "AllItems",
- "selectedItems": {
- "tagIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "efsIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "excludedItems": {
- "efsIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "tagIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "backupSettings": {
- "additionalTags": [
- {
- "key": "string",
- "value": "string"
}
], - "copyTagsFromEfsShare": true
}, - "backupIndexingSettings": {
- "repositoryId": "5aa3e9fa-2d0a-4c21-ad54-43217e2bc9c0",
- "indexingIAMRoleId": "d3c109cf-6f25-4ba8-9dbd-64cdf90a213e"
}, - "backupCopySettings": {
- "backupRegions": [
- {
- "sourceRegionId": "3305f138-162c-4e70-807d-f5940825858d",
- "backupVaultSpec": {
- "byIdSpec": {
- "vaultId": null
}, - "byTagSpec": {
- "tag": null,
- "targetRegionId": null
}
}
}
]
}, - "scheduleSettings": {
- "dailyScheduleEnabled": true,
- "dailySchedule": {
- "kind": "Everyday",
- "runsPerHour": 1,
- "days": [
- "Sunday"
], - "backupOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "hours": [
- null
]
}
}, - "backupCopyOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "hours": [
- null
]
}
}
}, - "weeklyScheduleEnabled": true,
- "weeklySchedule": {
- "timeLocal": "2019-08-24T14:15:22Z",
- "backupOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "days": [
- null
]
}
}, - "backupCopyOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "days": [
- null
]
}
}
}, - "monthlyScheduleEnabled": true,
- "monthlySchedule": {
- "timeLocal": "2019-08-24T14:15:22Z",
- "dayNumberInMonth": "First",
- "dayOfWeek": "Sunday",
- "dayOfMonth": 0,
- "backupOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "months": [
- null
]
}
}, - "backupCopyOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "months": [
- null
]
}
}
}, - "yearlyScheduleEnabled": true,
- "yearlySchedule": {
- "timeLocal": "2019-08-24T14:15:22Z",
- "dayNumberInMonth": "First",
- "dayOfWeek": "Sunday",
- "dayOfMonth": 0,
- "month": "January",
- "retention": {
- "count": 1,
- "type": "Years"
}
}
}, - "retrySettings": {
- "retryTimes": 0
}, - "notificationSettings": {
- "email": "user@example.com",
- "notifyOnSuccess": true,
- "notifyOnWarning": true,
- "notifyOnFailure": true,
- "supressNotificationsUntilLastRetry": true
}, - "organizationSettings": {
- "limitedScopeId": "b6545d46-ca5a-4879-bb5f-c66e76373c5d",
- "excludedMembers": [
- {
- "model": {
- "name": "string",
- "awsId": "string",
- "parentAwsId": "string",
- "type": "Unit"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "parentId": "70850378-7d3c-4f45-91b7-942d4dfbbd43",
- "limitedScopeId": "b6545d46-ca5a-4879-bb5f-c66e76373c5d"
}
]
}, - "isEnabled": true,
- "createdBy": "string",
- "modifiedBy": "string",
- "lastPolicySessionStatus": "Running",
- "warning": "string",
- "usn": 0,
- "_embeddedResources": {
- "lastBackupSession": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}, - "lastFinishedBackupSession": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}, - "protectedResources": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}, - "excludedResources": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}, - "regions": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}
}, - "_links": [
- {
- "rel": "string",
- "href": "string",
- "method": "GET"
}
]
}
], - "_links": [
- {
- "rel": "string",
- "href": "string",
- "method": "GET"
}
]
}
Create Backup Policy
The HTTP POST request to the /efs/policies
endpoint creates a new EFS backup policy.
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 Specifies a name for the backup policy. |
identityId required | string <uuid> Specifies a system ID assigned in the Veeam Backup for AWS REST API to an AWS Organization or an IAM role that belongs to an AWS account. |
required | Array of objects (EfsPolicyRegion) non-empty Specifies backup settings configured for the backup policy. |
backupType required | string (PolicySelectionTypes) Specifies the type of the backup policy. |
description | string Specifies a description for the backup policy. |
priority | integer <int64> Specifies the priority order number for the backup policy. |
isEnabled | boolean Defines whether the backup policy is enabled. |
object (EfsPolicyIncludedBackupItems) AWS resources that are protected by the backup policy. | |
object (EfsPolicyExcludedBackupItems) Specifies AWS resources that must be excluded from the backup policy. | |
object (EfsPolicyBackupSettings) Tag settings configured for the policy. | |
object (EfsPolicyBackupIndexingSettings) [Applies only if the policy must perform indexing for the processed file systems] Specifies the indexing settings configured for the policy. | |
object (EfsPolicyBackupCopySettings) Backup copy settings configured for the backup policy. | |
object (EfsScheduleSettings) Backup schedule specified for the backup policy. | |
object (RetrySettings) Specifies retry settings configured for the backup policy. | |
object (NotificationSettings) Specifies retry and notification settings for the backup policy. | |
object (OrganizationSpecification) [Applies only if you back up resources within an AWS Organization] Specifies organization settings configured for the backup policy. |
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": "string",
- "description": "string",
- "priority": 0,
- "identityId": "ebc92baa-b430-498d-b30d-132ff32a5256",
- "isEnabled": true,
- "regions": [
- {
- "sourceRegionId": "3305f138-162c-4e70-807d-f5940825858d",
- "backupVaultSpec": {
- "byIdSpec": {
- "vaultId": "867f3a98-ec66-42f4-abbc-5980239e4a28"
}, - "byTagSpec": {
- "tag": {
- "key": "string",
- "value": "string"
}
}
}
}
], - "backupType": "AllItems",
- "selectedItems": {
- "tagIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "efsIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "excludedItems": {
- "efsIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "tagIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "backupSettings": {
- "additionalTags": [
- {
- "key": "string",
- "value": "string"
}
], - "copyTagsFromEfsShare": true
}, - "backupIndexingSettings": {
- "repositoryId": "5aa3e9fa-2d0a-4c21-ad54-43217e2bc9c0",
- "indexingIAMRoleId": "d3c109cf-6f25-4ba8-9dbd-64cdf90a213e"
}, - "backupCopySettings": {
- "backupRegions": [
- {
- "sourceRegionId": "3305f138-162c-4e70-807d-f5940825858d",
- "backupVaultSpec": {
- "byIdSpec": {
- "vaultId": "867f3a98-ec66-42f4-abbc-5980239e4a28"
}, - "byTagSpec": {
- "tag": {
- "key": "string",
- "value": "string"
}, - "targetRegionId": "01b81833-7852-43e7-b316-0a1b220356db"
}
}
}
]
}, - "scheduleSettings": {
- "dailyScheduleEnabled": true,
- "dailySchedule": {
- "kind": "Everyday",
- "runsPerHour": 1,
- "days": [
- "Sunday"
], - "backupOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "hours": [
- 23
]
}
}, - "backupCopyOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "hours": [
- 23
]
}
}
}, - "weeklyScheduleEnabled": true,
- "weeklySchedule": {
- "timeLocal": "2019-08-24T14:15:22Z",
- "backupOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "days": [
- "Sunday"
]
}
}, - "backupCopyOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "days": [
- "Sunday"
]
}
}
}, - "monthlyScheduleEnabled": true,
- "monthlySchedule": {
- "timeLocal": "2019-08-24T14:15:22Z",
- "dayNumberInMonth": "First",
- "dayOfWeek": "Sunday",
- "dayOfMonth": 0,
- "backupOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "months": [
- "January"
]
}
}, - "backupCopyOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "months": [
- "January"
]
}
}
}, - "yearlyScheduleEnabled": true,
- "yearlySchedule": {
- "timeLocal": "2019-08-24T14:15:22Z",
- "dayNumberInMonth": "First",
- "dayOfWeek": "Sunday",
- "dayOfMonth": 0,
- "month": "January",
- "retention": {
- "count": 1,
- "type": "Years"
}
}
}, - "retrySettings": {
- "retryTimes": 0
}, - "notificationSettings": {
- "email": "user@example.com",
- "notifyOnSuccess": true,
- "notifyOnWarning": true,
- "notifyOnFailure": true,
- "supressNotificationsUntilLastRetry": true
}, - "organizationSettings": {
- "limitedScopeId": "b6545d46-ca5a-4879-bb5f-c66e76373c5d",
- "excludedMembers": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
}
- 201
- 400
- 401
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "priority": 0,
- "identity": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "Account",
- "awsId": "string",
- "name": "string",
- "regionType": "Global"
}, - "regions": [
- {
- "sourceRegionId": "3305f138-162c-4e70-807d-f5940825858d",
- "backupVaultSpec": {
- "byIdSpec": {
- "vaultId": "867f3a98-ec66-42f4-abbc-5980239e4a28"
}, - "byTagSpec": {
- "tag": {
- "key": "string",
- "value": "string"
}
}
}
}
], - "backupType": "AllItems",
- "selectedItems": {
- "tagIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "efsIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "excludedItems": {
- "efsIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "tagIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "backupSettings": {
- "additionalTags": [
- {
- "key": "string",
- "value": "string"
}
], - "copyTagsFromEfsShare": true
}, - "backupIndexingSettings": {
- "repositoryId": "5aa3e9fa-2d0a-4c21-ad54-43217e2bc9c0",
- "indexingIAMRoleId": "d3c109cf-6f25-4ba8-9dbd-64cdf90a213e"
}, - "backupCopySettings": {
- "backupRegions": [
- {
- "sourceRegionId": "3305f138-162c-4e70-807d-f5940825858d",
- "backupVaultSpec": {
- "byIdSpec": {
- "vaultId": "867f3a98-ec66-42f4-abbc-5980239e4a28"
}, - "byTagSpec": {
- "tag": {
- "key": "string",
- "value": "string"
}, - "targetRegionId": "01b81833-7852-43e7-b316-0a1b220356db"
}
}
}
]
}, - "scheduleSettings": {
- "dailyScheduleEnabled": true,
- "dailySchedule": {
- "kind": "Everyday",
- "runsPerHour": 1,
- "days": [
- "Sunday"
], - "backupOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "hours": [
- 23
]
}
}, - "backupCopyOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "hours": [
- 23
]
}
}
}, - "weeklyScheduleEnabled": true,
- "weeklySchedule": {
- "timeLocal": "2019-08-24T14:15:22Z",
- "backupOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "days": [
- "Sunday"
]
}
}, - "backupCopyOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "days": [
- "Sunday"
]
}
}
}, - "monthlyScheduleEnabled": true,
- "monthlySchedule": {
- "timeLocal": "2019-08-24T14:15:22Z",
- "dayNumberInMonth": "First",
- "dayOfWeek": "Sunday",
- "dayOfMonth": 0,
- "backupOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "months": [
- "January"
]
}
}, - "backupCopyOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "months": [
- "January"
]
}
}
}, - "yearlyScheduleEnabled": true,
- "yearlySchedule": {
- "timeLocal": "2019-08-24T14:15:22Z",
- "dayNumberInMonth": "First",
- "dayOfWeek": "Sunday",
- "dayOfMonth": 0,
- "month": "January",
- "retention": {
- "count": 1,
- "type": "Years"
}
}
}, - "retrySettings": {
- "retryTimes": 0
}, - "notificationSettings": {
- "email": "user@example.com",
- "notifyOnSuccess": true,
- "notifyOnWarning": true,
- "notifyOnFailure": true,
- "supressNotificationsUntilLastRetry": true
}, - "organizationSettings": {
- "limitedScopeId": "b6545d46-ca5a-4879-bb5f-c66e76373c5d",
- "excludedMembers": [
- {
- "model": {
- "name": "string",
- "awsId": "string",
- "parentAwsId": "string",
- "type": "Unit"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "parentId": "70850378-7d3c-4f45-91b7-942d4dfbbd43",
- "limitedScopeId": "b6545d46-ca5a-4879-bb5f-c66e76373c5d"
}
]
}, - "isEnabled": true,
- "createdBy": "string",
- "modifiedBy": "string",
- "lastPolicySessionStatus": "Running",
- "warning": "string",
- "usn": 0,
- "_embeddedResources": {
- "lastBackupSession": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}, - "lastFinishedBackupSession": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}, - "protectedResources": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}, - "excludedResources": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}, - "regions": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}
}, - "_links": [
- {
- "rel": "string",
- "href": "string",
- "method": "GET"
}
]
}
Get Backup Policy Data
The HTTP GET request to the /efs/policies/{policyId}
endpoint retrieves settings of an EFS backup policy with the specified ID.
path Parameters
policyId required | string <uuid> Specifies the system ID assigned to an EFS backup policy 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
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/efs/policies/{policyId}' \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'x-api-version: 1.7-rev0'
- 200
- 401
- 404
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "priority": 0,
- "identity": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "Account",
- "awsId": "string",
- "name": "string",
- "regionType": "Global"
}, - "regions": [
- {
- "sourceRegionId": "3305f138-162c-4e70-807d-f5940825858d",
- "backupVaultSpec": {
- "byIdSpec": {
- "vaultId": "867f3a98-ec66-42f4-abbc-5980239e4a28"
}, - "byTagSpec": {
- "tag": {
- "key": "string",
- "value": "string"
}
}
}
}
], - "backupType": "AllItems",
- "selectedItems": {
- "tagIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "efsIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "excludedItems": {
- "efsIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "tagIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "backupSettings": {
- "additionalTags": [
- {
- "key": "string",
- "value": "string"
}
], - "copyTagsFromEfsShare": true
}, - "backupIndexingSettings": {
- "repositoryId": "5aa3e9fa-2d0a-4c21-ad54-43217e2bc9c0",
- "indexingIAMRoleId": "d3c109cf-6f25-4ba8-9dbd-64cdf90a213e"
}, - "backupCopySettings": {
- "backupRegions": [
- {
- "sourceRegionId": "3305f138-162c-4e70-807d-f5940825858d",
- "backupVaultSpec": {
- "byIdSpec": {
- "vaultId": "867f3a98-ec66-42f4-abbc-5980239e4a28"
}, - "byTagSpec": {
- "tag": {
- "key": "string",
- "value": "string"
}, - "targetRegionId": "01b81833-7852-43e7-b316-0a1b220356db"
}
}
}
]
}, - "scheduleSettings": {
- "dailyScheduleEnabled": true,
- "dailySchedule": {
- "kind": "Everyday",
- "runsPerHour": 1,
- "days": [
- "Sunday"
], - "backupOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "hours": [
- 23
]
}
}, - "backupCopyOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "hours": [
- 23
]
}
}
}, - "weeklyScheduleEnabled": true,
- "weeklySchedule": {
- "timeLocal": "2019-08-24T14:15:22Z",
- "backupOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "days": [
- "Sunday"
]
}
}, - "backupCopyOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "days": [
- "Sunday"
]
}
}
}, - "monthlyScheduleEnabled": true,
- "monthlySchedule": {
- "timeLocal": "2019-08-24T14:15:22Z",
- "dayNumberInMonth": "First",
- "dayOfWeek": "Sunday",
- "dayOfMonth": 0,
- "backupOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "months": [
- "January"
]
}
}, - "backupCopyOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "months": [
- "January"
]
}
}
}, - "yearlyScheduleEnabled": true,
- "yearlySchedule": {
- "timeLocal": "2019-08-24T14:15:22Z",
- "dayNumberInMonth": "First",
- "dayOfWeek": "Sunday",
- "dayOfMonth": 0,
- "month": "January",
- "retention": {
- "count": 1,
- "type": "Years"
}
}
}, - "retrySettings": {
- "retryTimes": 0
}, - "notificationSettings": {
- "email": "user@example.com",
- "notifyOnSuccess": true,
- "notifyOnWarning": true,
- "notifyOnFailure": true,
- "supressNotificationsUntilLastRetry": true
}, - "organizationSettings": {
- "limitedScopeId": "b6545d46-ca5a-4879-bb5f-c66e76373c5d",
- "excludedMembers": [
- {
- "model": {
- "name": "string",
- "awsId": "string",
- "parentAwsId": "string",
- "type": "Unit"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "parentId": "70850378-7d3c-4f45-91b7-942d4dfbbd43",
- "limitedScopeId": "b6545d46-ca5a-4879-bb5f-c66e76373c5d"
}
]
}, - "isEnabled": true,
- "createdBy": "string",
- "modifiedBy": "string",
- "lastPolicySessionStatus": "Running",
- "warning": "string",
- "usn": 0,
- "_embeddedResources": {
- "lastBackupSession": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}, - "lastFinishedBackupSession": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}, - "protectedResources": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}, - "excludedResources": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}, - "regions": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}
}, - "_links": [
- {
- "rel": "string",
- "href": "string",
- "method": "GET"
}
]
}
Modify Backup Policy
The HTTP PUT request to the /efs/policies/{policyId}
endpoint updates settings of an EFS backup policy with the specified ID.
path Parameters
policyId required | string <uuid> Specifies the system ID assigned to an EFS backup policy 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: required
name required | string Specifies a name for the backup policy. |
identityId required | string <uuid> Specifies a system ID assigned in the Veeam Backup for AWS REST API to an AWS Organization or an IAM role that belongs to an AWS account. |
required | Array of objects (EfsPolicyRegion) non-empty Specifies backup settings configured for the backup policy. |
backupType required | string (PolicySelectionTypes) Specifies the type of the backup policy. |
description | string Specifies a description for the backup policy. |
priority | integer <int64> Specifies the priority order number for the backup policy. |
isEnabled | boolean Defines whether the backup policy is enabled. |
object (EfsPolicyIncludedBackupItems) AWS resources that are protected by the backup policy. | |
object (EfsPolicyExcludedBackupItems) Specifies AWS resources that must be excluded from the backup policy. | |
object (EfsPolicyBackupSettings) Tag settings configured for the policy. | |
object (EfsPolicyBackupIndexingSettings) [Applies only if the policy must perform indexing for the processed file systems] Specifies the indexing settings configured for the policy. | |
object (EfsPolicyBackupCopySettings) Backup copy settings configured for the backup policy. | |
object (EfsScheduleSettings) Backup schedule specified for the backup policy. | |
object (RetrySettings) Specifies retry settings configured for the backup policy. | |
object (NotificationSettings) Specifies retry and notification settings for the backup policy. | |
object (OrganizationSpecification) [Applies only if you back up resources within an AWS Organization] Specifies organization settings configured for the backup policy. |
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": "string",
- "description": "string",
- "priority": 0,
- "identityId": "ebc92baa-b430-498d-b30d-132ff32a5256",
- "isEnabled": true,
- "regions": [
- {
- "sourceRegionId": "3305f138-162c-4e70-807d-f5940825858d",
- "backupVaultSpec": {
- "byIdSpec": {
- "vaultId": "867f3a98-ec66-42f4-abbc-5980239e4a28"
}, - "byTagSpec": {
- "tag": {
- "key": "string",
- "value": "string"
}
}
}
}
], - "backupType": "AllItems",
- "selectedItems": {
- "tagIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "efsIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "excludedItems": {
- "efsIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "tagIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "backupSettings": {
- "additionalTags": [
- {
- "key": "string",
- "value": "string"
}
], - "copyTagsFromEfsShare": true
}, - "backupIndexingSettings": {
- "repositoryId": "5aa3e9fa-2d0a-4c21-ad54-43217e2bc9c0",
- "indexingIAMRoleId": "d3c109cf-6f25-4ba8-9dbd-64cdf90a213e"
}, - "backupCopySettings": {
- "backupRegions": [
- {
- "sourceRegionId": "3305f138-162c-4e70-807d-f5940825858d",
- "backupVaultSpec": {
- "byIdSpec": {
- "vaultId": "867f3a98-ec66-42f4-abbc-5980239e4a28"
}, - "byTagSpec": {
- "tag": {
- "key": "string",
- "value": "string"
}, - "targetRegionId": "01b81833-7852-43e7-b316-0a1b220356db"
}
}
}
]
}, - "scheduleSettings": {
- "dailyScheduleEnabled": true,
- "dailySchedule": {
- "kind": "Everyday",
- "runsPerHour": 1,
- "days": [
- "Sunday"
], - "backupOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "hours": [
- 23
]
}
}, - "backupCopyOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "hours": [
- 23
]
}
}
}, - "weeklyScheduleEnabled": true,
- "weeklySchedule": {
- "timeLocal": "2019-08-24T14:15:22Z",
- "backupOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "days": [
- "Sunday"
]
}
}, - "backupCopyOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "days": [
- "Sunday"
]
}
}
}, - "monthlyScheduleEnabled": true,
- "monthlySchedule": {
- "timeLocal": "2019-08-24T14:15:22Z",
- "dayNumberInMonth": "First",
- "dayOfWeek": "Sunday",
- "dayOfMonth": 0,
- "backupOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "months": [
- "January"
]
}
}, - "backupCopyOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "months": [
- "January"
]
}
}
}, - "yearlyScheduleEnabled": true,
- "yearlySchedule": {
- "timeLocal": "2019-08-24T14:15:22Z",
- "dayNumberInMonth": "First",
- "dayOfWeek": "Sunday",
- "dayOfMonth": 0,
- "month": "January",
- "retention": {
- "count": 1,
- "type": "Years"
}
}
}, - "retrySettings": {
- "retryTimes": 0
}, - "notificationSettings": {
- "email": "user@example.com",
- "notifyOnSuccess": true,
- "notifyOnWarning": true,
- "notifyOnFailure": true,
- "supressNotificationsUntilLastRetry": true
}, - "organizationSettings": {
- "limitedScopeId": "b6545d46-ca5a-4879-bb5f-c66e76373c5d",
- "excludedMembers": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
}
- 200
- 400
- 401
- 404
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "priority": 0,
- "identity": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "Account",
- "awsId": "string",
- "name": "string",
- "regionType": "Global"
}, - "regions": [
- {
- "sourceRegionId": "3305f138-162c-4e70-807d-f5940825858d",
- "backupVaultSpec": {
- "byIdSpec": {
- "vaultId": "867f3a98-ec66-42f4-abbc-5980239e4a28"
}, - "byTagSpec": {
- "tag": {
- "key": "string",
- "value": "string"
}
}
}
}
], - "backupType": "AllItems",
- "selectedItems": {
- "tagIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "efsIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "excludedItems": {
- "efsIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "tagIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "backupSettings": {
- "additionalTags": [
- {
- "key": "string",
- "value": "string"
}
], - "copyTagsFromEfsShare": true
}, - "backupIndexingSettings": {
- "repositoryId": "5aa3e9fa-2d0a-4c21-ad54-43217e2bc9c0",
- "indexingIAMRoleId": "d3c109cf-6f25-4ba8-9dbd-64cdf90a213e"
}, - "backupCopySettings": {
- "backupRegions": [
- {
- "sourceRegionId": "3305f138-162c-4e70-807d-f5940825858d",
- "backupVaultSpec": {
- "byIdSpec": {
- "vaultId": "867f3a98-ec66-42f4-abbc-5980239e4a28"
}, - "byTagSpec": {
- "tag": {
- "key": "string",
- "value": "string"
}, - "targetRegionId": "01b81833-7852-43e7-b316-0a1b220356db"
}
}
}
]
}, - "scheduleSettings": {
- "dailyScheduleEnabled": true,
- "dailySchedule": {
- "kind": "Everyday",
- "runsPerHour": 1,
- "days": [
- "Sunday"
], - "backupOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "hours": [
- 23
]
}
}, - "backupCopyOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "hours": [
- 23
]
}
}
}, - "weeklyScheduleEnabled": true,
- "weeklySchedule": {
- "timeLocal": "2019-08-24T14:15:22Z",
- "backupOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "days": [
- "Sunday"
]
}
}, - "backupCopyOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "days": [
- "Sunday"
]
}
}
}, - "monthlyScheduleEnabled": true,
- "monthlySchedule": {
- "timeLocal": "2019-08-24T14:15:22Z",
- "dayNumberInMonth": "First",
- "dayOfWeek": "Sunday",
- "dayOfMonth": 0,
- "backupOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "months": [
- "January"
]
}
}, - "backupCopyOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "months": [
- "January"
]
}
}
}, - "yearlyScheduleEnabled": true,
- "yearlySchedule": {
- "timeLocal": "2019-08-24T14:15:22Z",
- "dayNumberInMonth": "First",
- "dayOfWeek": "Sunday",
- "dayOfMonth": 0,
- "month": "January",
- "retention": {
- "count": 1,
- "type": "Years"
}
}
}, - "retrySettings": {
- "retryTimes": 0
}, - "notificationSettings": {
- "email": "user@example.com",
- "notifyOnSuccess": true,
- "notifyOnWarning": true,
- "notifyOnFailure": true,
- "supressNotificationsUntilLastRetry": true
}, - "organizationSettings": {
- "limitedScopeId": "b6545d46-ca5a-4879-bb5f-c66e76373c5d",
- "excludedMembers": [
- {
- "model": {
- "name": "string",
- "awsId": "string",
- "parentAwsId": "string",
- "type": "Unit"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "parentId": "70850378-7d3c-4f45-91b7-942d4dfbbd43",
- "limitedScopeId": "b6545d46-ca5a-4879-bb5f-c66e76373c5d"
}
]
}, - "isEnabled": true,
- "createdBy": "string",
- "modifiedBy": "string",
- "lastPolicySessionStatus": "Running",
- "warning": "string",
- "usn": 0,
- "_embeddedResources": {
- "lastBackupSession": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}, - "lastFinishedBackupSession": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}, - "protectedResources": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}, - "excludedResources": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}, - "regions": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}
}, - "_links": [
- {
- "rel": "string",
- "href": "string",
- "method": "GET"
}
]
}
Delete Backup Policy
The HTTP DELETE request to the /efs/policies/{policyId}
endpoint deletes an EFS backup policy with the specified ID.
When you delete a backup policy, cloud-native snapshots, and snapshot replicas or image-level backups created by this backup policy remain intact in AWS. Such snapshots, replicas and backups are not deleted from the configuration database — you can find them in the Protected Data view.
path Parameters
policyId required | string <uuid> Specifies the system ID assigned to an EFS backup policy 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
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.
Failed to delete policy, verify it is not in use and try again.
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/efs/policies/{policyId}' \ -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": { }
}
}
Get Resources Protected by Backup Policy
The HTTP GET request to the /efs/policies/{policyId}/selectedItems
endpoint retrieves information on all AWS resources protected by an EFS backup policy with the specified ID.
path Parameters
policyId required | string <uuid> Specifies the system ID assigned to an EFS backup policy in the Veeam Backup for AWS REST API. |
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. |
SearchPattern | string Returns only those items of a resource collection whose names match the specified search pattern in the parameter value. |
Sort | Array of strings (PolicyItemsSortColumns) 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).
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/efs/policies/{policyId}/selectedItems?Offset=0&Limit=-1&SearchPattern=string&Sort=nameAsc' \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'x-api-version: 1.7-rev0'
- 200
- 400
- 401
- 404
{- "totalCount": 0,
- "results": [
- {
- "name": "string",
- "tag": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}, - "virtualMachine": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}, - "rds": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}, - "efs": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}, - "dynamoDb": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}, - "fsx": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}, - "redshift": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}, - "redshiftServerless": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}, - "deletedItem": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "VirtualMachine"
}
}
], - "_links": [
- {
- "rel": "string",
- "href": "string",
- "method": "GET"
}
]
}
Get Resources Excluded from Backup Policy
The HTTP GET request to the /efs/policies/{policyId}/excludedItems
endpoint retrieves information on all AWS resources excluded from an EFS backup policy with the specified ID.
path Parameters
policyId required | string <uuid> Specifies the system ID assigned to an EFS backup policy in the Veeam Backup for AWS REST API. |
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. |
SearchPattern | string Returns only those items of a resource collection whose names match the specified search pattern in the parameter value. |
Sort | Array of strings (PolicyItemsSortColumns) 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).
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/efs/policies/{policyId}/excludedItems?Offset=0&Limit=-1&SearchPattern=string&Sort=nameAsc' \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'x-api-version: 1.7-rev0'
- 200
- 400
- 401
- 404
{- "totalCount": 0,
- "results": [
- {
- "name": "string",
- "tag": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}, - "virtualMachine": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}, - "rds": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}, - "efs": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}, - "dynamoDb": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}, - "fsx": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}, - "redshift": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}, - "redshiftServerless": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}, - "deletedItem": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "VirtualMachine"
}
}
], - "_links": [
- {
- "rel": "string",
- "href": "string",
- "method": "GET"
}
]
}
Get Resources Protected by EFS Backup Policy
The HTTP GET request to the /efs/policies/{policyId}/protectedResources
endpoint retrieves information on all AWS resources protected by an EFS backup policy with the specified ID.
path Parameters
policyId required | string <uuid> Specifies the system ID assigned to an EFS backup policy in the Veeam Backup for AWS REST API. |
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 (PolicyProtectedResourcesSortColumns) 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).
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/efs/policies/{policyId}/protectedResources?Offset=0&Limit=-1&Sort=idAsc' \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'x-api-version: 1.7-rev0'
- 200
- 400
- 401
- 404
{- "totalCount": 0,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "awsResourceId": "string",
- "virtualMachine": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}, - "rds": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}, - "efs": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}, - "dynamoDb": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}, - "deletedItem": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "VirtualMachine"
}
}
], - "_links": [
- {
- "rel": "string",
- "href": "string",
- "method": "GET"
}
]
}
Get AWS Regions Selected for Backup Policy
The HTTP GET request to the /efs/policies/{policyId}/regions
endpoint retrieves information on all AWS Regions selected for an EFS backup policy with the specified ID.
path Parameters
policyId required | string <uuid> Specifies the system ID assigned to an EFS backup policy in the Veeam Backup for AWS REST API. |
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> Excludes from a response the first N items of a resource collection. |
Limit | integer <int32> Specifies the maximum number of items of a resource collection to return in a response. |
Sort | Array of strings (RegionsSortColumns) 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).
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/efs/policies/{policyId}/regions?SearchPattern=string&Offset=0&Limit=0&Sort=nameAsc' \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'x-api-version: 1.7-rev0'
- 200
- 400
- 401
- 404
{- "totalCount": 0,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "optInStatus": "Unknown",
- "_links": [
- {
- "rel": "string",
- "href": "string",
- "method": "GET"
}
]
}
], - "_links": [
- {
- "rel": "string",
- "href": "string",
- "method": "GET"
}
]
}
Enable Backup Policy
The HTTP POST request to the efs/policies/{policyId}/enable
endpoint enables a disabled EFS backup policy with the specified ID.
path Parameters
policyId required | string <uuid> Specifies the system ID assigned to an EFS backup policy 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
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/efs/policies/{policyId}/enable' \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'x-api-version: 1.7-rev0'
- 401
- 404
{- "title": "string",
- "status": 400,
- "errorCode": "AccessDenied",
- "details": "string",
- "data": {
- "property1": { },
- "property2": { }
}
}
Disable Backup Policy
The HTTP POST request to the /efs/policies/{policyId}/disable
endpoint disables an enabled EFS backup policy with the specified ID.
path Parameters
policyId required | string <uuid> Specifies the system ID assigned to an EFS backup policy 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
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/efs/policies/{policyId}/disable' \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'x-api-version: 1.7-rev0'
- 401
- 404
{- "title": "string",
- "status": 400,
- "errorCode": "AccessDenied",
- "details": "string",
- "data": {
- "property1": { },
- "property2": { }
}
}
Start Backup Policy
The HTTP POST request to the /efs/policies/{policyId}/start
endpoint launches an EFS backup policy with the specified ID.
path Parameters
policyId required | string <uuid> Specifies the system ID assigned to an EFS backup policy 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
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/efs/policies/{policyId}/start' \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'x-api-version: 1.7-rev0'
- 202
- 401
- 404
- 409
{- "sessionId": "1b1a25b9-1131-469a-914c-5318b0aa1b07",
- "_links": [
- {
- "method": "GET",
- "rel": "self",
}
]
}
Stop Backup Policy
The HTTP POST request to the /efs/policies/{policyId}/stop
endpoint stops execution of an EFS backup policy with the specified ID.
path Parameters
policyId required | string <uuid> Specifies the system ID assigned to an EFS backup policy 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
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/efs/policies/{policyId}/stop' \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'x-api-version: 1.7-rev0'
- 401
- 404
{- "title": "string",
- "status": 400,
- "errorCode": "AccessDenied",
- "details": "string",
- "data": {
- "property1": { },
- "property2": { }
}
}
Calculate Estimated Cost for Backup Policy
The HTTP POST request to the /efs/policies/cost
endpoint allows you to calculate the estimated monthly cost for an EFS backup policy with specific 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: application/jsonrequired
name required | string Specifies a name for the backup policy. |
identityId required | string <uuid> Specifies a system ID assigned in the Veeam Backup for AWS REST API to an AWS Organization or an IAM role that belongs to an AWS account. |
required | Array of objects (EfsPolicyRegion) non-empty Specifies backup settings configured for the backup policy. |
backupType required | string (PolicySelectionTypes) Specifies the type of the backup policy. |
description | string Specifies a description for the backup policy. |
priority | integer <int64> Specifies the priority order number for the backup policy. |
isEnabled | boolean Defines whether the backup policy is enabled. |
object (EfsPolicyIncludedBackupItems) AWS resources that are protected by the backup policy. | |
object (EfsPolicyExcludedBackupItems) Specifies AWS resources that must be excluded from the backup policy. | |
object (EfsPolicyBackupSettings) Tag settings configured for the policy. | |
object (EfsPolicyBackupIndexingSettings) [Applies only if the policy must perform indexing for the processed file systems] Specifies the indexing settings configured for the policy. | |
object (EfsPolicyBackupCopySettings) Backup copy settings configured for the backup policy. | |
object (EfsScheduleSettings) Backup schedule specified for the backup policy. | |
object (RetrySettings) Specifies retry settings configured for the backup policy. | |
object (NotificationSettings) Specifies retry and notification settings for the backup policy. | |
object (OrganizationSpecification) [Applies only if you back up resources within an AWS Organization] Specifies organization settings configured for the backup policy. |
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
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "name": "string",
- "description": "string",
- "priority": 0,
- "identityId": "ebc92baa-b430-498d-b30d-132ff32a5256",
- "isEnabled": true,
- "regions": [
- {
- "sourceRegionId": "3305f138-162c-4e70-807d-f5940825858d",
- "backupVaultSpec": {
- "byIdSpec": {
- "vaultId": "867f3a98-ec66-42f4-abbc-5980239e4a28"
}, - "byTagSpec": {
- "tag": {
- "key": "string",
- "value": "string"
}
}
}
}
], - "backupType": "AllItems",
- "selectedItems": {
- "tagIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "efsIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "excludedItems": {
- "efsIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "tagIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "backupSettings": {
- "additionalTags": [
- {
- "key": "string",
- "value": "string"
}
], - "copyTagsFromEfsShare": true
}, - "backupIndexingSettings": {
- "repositoryId": "5aa3e9fa-2d0a-4c21-ad54-43217e2bc9c0",
- "indexingIAMRoleId": "d3c109cf-6f25-4ba8-9dbd-64cdf90a213e"
}, - "backupCopySettings": {
- "backupRegions": [
- {
- "sourceRegionId": "3305f138-162c-4e70-807d-f5940825858d",
- "backupVaultSpec": {
- "byIdSpec": {
- "vaultId": "867f3a98-ec66-42f4-abbc-5980239e4a28"
}, - "byTagSpec": {
- "tag": {
- "key": "string",
- "value": "string"
}, - "targetRegionId": "01b81833-7852-43e7-b316-0a1b220356db"
}
}
}
]
}, - "scheduleSettings": {
- "dailyScheduleEnabled": true,
- "dailySchedule": {
- "kind": "Everyday",
- "runsPerHour": 1,
- "days": [
- "Sunday"
], - "backupOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "hours": [
- 23
]
}
}, - "backupCopyOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "hours": [
- 23
]
}
}
}, - "weeklyScheduleEnabled": true,
- "weeklySchedule": {
- "timeLocal": "2019-08-24T14:15:22Z",
- "backupOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "days": [
- "Sunday"
]
}
}, - "backupCopyOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "days": [
- "Sunday"
]
}
}
}, - "monthlyScheduleEnabled": true,
- "monthlySchedule": {
- "timeLocal": "2019-08-24T14:15:22Z",
- "dayNumberInMonth": "First",
- "dayOfWeek": "Sunday",
- "dayOfMonth": 0,
- "backupOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "months": [
- "January"
]
}
}, - "backupCopyOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "months": [
- "January"
]
}
}
}, - "yearlyScheduleEnabled": true,
- "yearlySchedule": {
- "timeLocal": "2019-08-24T14:15:22Z",
- "dayNumberInMonth": "First",
- "dayOfWeek": "Sunday",
- "dayOfMonth": 0,
- "month": "January",
- "retention": {
- "count": 1,
- "type": "Years"
}
}
}, - "retrySettings": {
- "retryTimes": 0
}, - "notificationSettings": {
- "email": "user@example.com",
- "notifyOnSuccess": true,
- "notifyOnWarning": true,
- "notifyOnFailure": true,
- "supressNotificationsUntilLastRetry": true
}, - "organizationSettings": {
- "limitedScopeId": "b6545d46-ca5a-4879-bb5f-c66e76373c5d",
- "excludedMembers": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
}
- 200
- 401
{- "instancesCosts": [
- {
- "instanceId": "64d2028c-ae87-4069-a624-66089d957ef9",
- "instanceName": "string",
- "backupCost": 0,
- "backupCopyCost": 0,
- "trafficCost": 0,
- "totalCost": 0,
- "_links": [
- {
- "rel": "string",
- "href": "string",
- "method": "GET"
}
]
}
], - "isEmpty": true,
- "totalBackupCost": 0,
- "totalBackupCopyCost": 0,
- "totalTrafficCost": 0,
- "totalCost": 0,
- "_links": [
- {
- "rel": "string",
- "href": "string",
- "method": "GET"
}
]
}
Get Backup Policy Estimated Cost
The HTTP GET request to the efs/policies/{policyId}/cost
endpoint retrieves estimated monthly cost calculated for an EFS backup policy with the specified ID.
path Parameters
policyId required | string <uuid> Specifies the system ID assigned to an EFS backup policy 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
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/efs/policies/{policyId}/cost' \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'x-api-version: 1.7-rev0'
- 200
- 401
- 404
{- "instancesCosts": [
- {
- "instanceId": "64d2028c-ae87-4069-a624-66089d957ef9",
- "instanceName": "string",
- "backupCost": 0,
- "backupCopyCost": 0,
- "trafficCost": 0,
- "totalCost": 0,
- "_links": [
- {
- "rel": "string",
- "href": "string",
- "method": "GET"
}
]
}
], - "isEmpty": true,
- "totalBackupCost": 0,
- "totalBackupCopyCost": 0,
- "totalTrafficCost": 0,
- "totalCost": 0,
- "_links": [
- {
- "rel": "string",
- "href": "string",
- "method": "GET"
}
]
}
Validate Backup Policy Settings
The HTTP POST request to the /efs/policies/validate
checks whether the settings you plan to specify for an EFS backup policy 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 Specifies a name for the backup policy. |
identityId required | string <uuid> Specifies a system ID assigned in the Veeam Backup for AWS REST API to an AWS Organization or an IAM role that belongs to an AWS account. |
required | Array of objects (EfsPolicyRegion) non-empty Specifies backup settings configured for the backup policy. |
backupType required | string (PolicySelectionTypes) Specifies the type of the backup policy. |
description | string Specifies a description for the backup policy. |
priority | integer <int64> Specifies the priority order number for the backup policy. |
isEnabled | boolean Defines whether the backup policy is enabled. |
object (EfsPolicyIncludedBackupItems) AWS resources that are protected by the backup policy. | |
object (EfsPolicyExcludedBackupItems) Specifies AWS resources that must be excluded from the backup policy. | |
object (EfsPolicyBackupSettings) Tag settings configured for the policy. | |
object (EfsPolicyBackupIndexingSettings) [Applies only if the policy must perform indexing for the processed file systems] Specifies the indexing settings configured for the policy. | |
object (EfsPolicyBackupCopySettings) Backup copy settings configured for the backup policy. | |
object (EfsScheduleSettings) Backup schedule specified for the backup policy. | |
object (RetrySettings) Specifies retry settings configured for the backup policy. | |
object (NotificationSettings) Specifies retry and notification settings for the backup policy. | |
object (OrganizationSpecification) [Applies only if you back up resources within an AWS Organization] Specifies organization settings configured for the backup policy. |
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": "string",
- "description": "string",
- "priority": 0,
- "identityId": "ebc92baa-b430-498d-b30d-132ff32a5256",
- "isEnabled": true,
- "regions": [
- {
- "sourceRegionId": "3305f138-162c-4e70-807d-f5940825858d",
- "backupVaultSpec": {
- "byIdSpec": {
- "vaultId": "867f3a98-ec66-42f4-abbc-5980239e4a28"
}, - "byTagSpec": {
- "tag": {
- "key": "string",
- "value": "string"
}
}
}
}
], - "backupType": "AllItems",
- "selectedItems": {
- "tagIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "efsIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "excludedItems": {
- "efsIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "tagIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "backupSettings": {
- "additionalTags": [
- {
- "key": "string",
- "value": "string"
}
], - "copyTagsFromEfsShare": true
}, - "backupIndexingSettings": {
- "repositoryId": "5aa3e9fa-2d0a-4c21-ad54-43217e2bc9c0",
- "indexingIAMRoleId": "d3c109cf-6f25-4ba8-9dbd-64cdf90a213e"
}, - "backupCopySettings": {
- "backupRegions": [
- {
- "sourceRegionId": "3305f138-162c-4e70-807d-f5940825858d",
- "backupVaultSpec": {
- "byIdSpec": {
- "vaultId": "867f3a98-ec66-42f4-abbc-5980239e4a28"
}, - "byTagSpec": {
- "tag": {
- "key": "string",
- "value": "string"
}, - "targetRegionId": "01b81833-7852-43e7-b316-0a1b220356db"
}
}
}
]
}, - "scheduleSettings": {
- "dailyScheduleEnabled": true,
- "dailySchedule": {
- "kind": "Everyday",
- "runsPerHour": 1,
- "days": [
- "Sunday"
], - "backupOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "hours": [
- 23
]
}
}, - "backupCopyOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "hours": [
- 23
]
}
}
}, - "weeklyScheduleEnabled": true,
- "weeklySchedule": {
- "timeLocal": "2019-08-24T14:15:22Z",
- "backupOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "days": [
- "Sunday"
]
}
}, - "backupCopyOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "days": [
- "Sunday"
]
}
}
}, - "monthlyScheduleEnabled": true,
- "monthlySchedule": {
- "timeLocal": "2019-08-24T14:15:22Z",
- "dayNumberInMonth": "First",
- "dayOfWeek": "Sunday",
- "dayOfMonth": 0,
- "backupOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "months": [
- "January"
]
}
}, - "backupCopyOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "months": [
- "January"
]
}
}
}, - "yearlyScheduleEnabled": true,
- "yearlySchedule": {
- "timeLocal": "2019-08-24T14:15:22Z",
- "dayNumberInMonth": "First",
- "dayOfWeek": "Sunday",
- "dayOfMonth": 0,
- "month": "January",
- "retention": {
- "count": 1,
- "type": "Years"
}
}
}, - "retrySettings": {
- "retryTimes": 0
}, - "notificationSettings": {
- "email": "user@example.com",
- "notifyOnSuccess": true,
- "notifyOnWarning": true,
- "notifyOnFailure": true,
- "supressNotificationsUntilLastRetry": true
}, - "organizationSettings": {
- "limitedScopeId": "b6545d46-ca5a-4879-bb5f-c66e76373c5d",
- "excludedMembers": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
}
- 200
- 400
- 401
- 403
[- {
- "severity": "Warning",
- "message": "string",
- "contextId": "84451116-c600-49e2-9c60-5b6b34fae0d6"
}
]
Set Backup Policy Priority
The HTTP POST request to the efs/policies/orderPriorities
sets the priority order for EFS backup policies.
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 | Array of objects (PolicyPrioritySpec) Specifies policy priority ordinal numbers. |
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
{- "priorities": [
- {
- "policyId": "af8fb7d8-96cd-4fe7-a4a5-c03a09483806",
- "priority": 1
}, - {
- "policyId": "14ceeeb3-4b3c-458c-9456-bf378eda5ea0",
- "priority": 2
}
]
}
- 200
- 400
- 401
- 403
{ }
Export Backup Policy Settings
The HTTP GET request to the efs/policies/{policyId}/export
exports settings of an enabled EFS backup policy with the specified ID to a JSON
file.
path Parameters
policyId required | string <uuid> Specifies the system ID assigned to an EFS backup policy 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).
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/efs/policies/{policyId}/export' \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'x-api-version: 1.7-rev0'
- 200
- 400
- 401
- 403
- 404
{- "name": "string",
- "description": "string",
- "priority": 0,
- "isEnabled": true,
- "identityName": "string",
- "regions": [
- {
- "regionName": "string",
- "backupVault": "string",
- "backupVaultTag": {
- "key": "string",
- "value": "string"
}
}
], - "backupType": "AllItems",
- "selectedItems": {
- "efs": [
- "string"
], - "tags": [
- {
- "key": "string",
- "value": "string"
}
]
}, - "excludedItems": {
- "efs": [
- "string"
], - "tags": [
- {
- "key": "string",
- "value": "string"
}
]
}, - "backupSettings": {
- "additionalTags": [
- {
- "key": "string",
- "value": "string"
}
], - "copyTagsFromEfsShare": true
}, - "backupIndexingSettings": {
- "repositoryName": "string",
- "indexingIAMRoleName": "string"
}, - "backupCopySettings": {
- "backupRegions": [
- {
- "sourceRegionName": "string",
- "targetRegionName": "string",
- "backupVaultName": "string",
- "backupVaultTag": {
- "key": "string",
- "value": "string"
}
}
]
}, - "scheduleSettings": {
- "dailyScheduleEnabled": true,
- "dailySchedule": {
- "kind": "Everyday",
- "runsPerHour": 1,
- "days": [
- "Sunday"
], - "backupOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "hours": [
- 23
]
}
}, - "backupCopyOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "hours": [
- 23
]
}
}
}, - "weeklyScheduleEnabled": true,
- "weeklySchedule": {
- "timeLocal": "2019-08-24T14:15:22Z",
- "backupOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "days": [
- "Sunday"
]
}
}, - "backupCopyOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "days": [
- "Sunday"
]
}
}
}, - "monthlyScheduleEnabled": true,
- "monthlySchedule": {
- "timeLocal": "2019-08-24T14:15:22Z",
- "dayNumberInMonth": "First",
- "dayOfWeek": "Sunday",
- "dayOfMonth": 0,
- "backupOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "months": [
- "January"
]
}
}, - "backupCopyOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "months": [
- "January"
]
}
}
}, - "yearlyScheduleEnabled": true,
- "yearlySchedule": {
- "timeLocal": "2019-08-24T14:15:22Z",
- "dayNumberInMonth": "First",
- "dayOfWeek": "Sunday",
- "dayOfMonth": 0,
- "month": "January",
- "retention": {
- "count": 1,
- "type": "Years"
}
}
}, - "retrySettings": {
- "retryTimes": 0
}, - "notificationSettings": {
- "email": "user@example.com",
- "notifyOnSuccess": true,
- "notifyOnWarning": true,
- "notifyOnFailure": true,
- "supressNotificationsUntilLastRetry": true
}, - "organizationSettings": {
- "limitedScopeId": "b6545d46-ca5a-4879-bb5f-c66e76373c5d",
- "excludedMembers": [
- "string"
]
}
}
Import Backup Policy Settings
The HTTP POST request to the efs/policies/import
creates an EFS backup policy with imported 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: application/jsonrequired
name required | string Name of the backup policy. |
identityName required | string Specifies the name of an AWS Organization or the name of an IAM role that belongs to an AWS account. |
required | Array of objects (EfsPolicyExportRegion) non-empty Backup settings configured for the backup policy. |
backupType required | string (PolicySelectionTypes) Specifies the type of the backup policy. |
description | string Description of the backup policy. |
priority | integer <int64> Priority order number of the backup policy. |
isEnabled | boolean Defines whether the backup policy is enabled. |
object (EfsPolicySelectedItemsExportModel) AWS resources protected by the backup policy. | |
object (EfsPolicyExcludedItemsExportModel) AWS resources excluded from the backup policy. | |
object (EfsPolicyBackupSettings) Tag settings configured for the policy. | |
object (EfsPolicyBackupIndexingExportSettings) [Applies only if the policy must perform indexing for the processed file systems] Specifies the indexing settings configured for the policy. | |
object (EfsPolicyBackupCopyExportSettings) Backup copy settings configured for the backup policy. | |
object (EfsScheduleSettings) Backup schedule specified for the backup policy. | |
object (RetrySettings) Specifies retry settings configured for the backup policy. | |
object (NotificationSettings) Specifies retry and notification settings for the backup policy. | |
object (OrganizationSettingsExportModel) [Applies if an AWS Organization is added to Veeam Backup for AWS] Specifies organization settings configured for the backup policy. |
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).
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
{- "name": "string",
- "description": "string",
- "priority": 0,
- "isEnabled": true,
- "identityName": "string",
- "regions": [
- {
- "regionName": "string",
- "backupVault": "string",
- "backupVaultTag": {
- "key": "string",
- "value": "string"
}
}
], - "backupType": "AllItems",
- "selectedItems": {
- "efs": [
- "string"
], - "tags": [
- {
- "key": "string",
- "value": "string"
}
]
}, - "excludedItems": {
- "efs": [
- "string"
], - "tags": [
- {
- "key": "string",
- "value": "string"
}
]
}, - "backupSettings": {
- "additionalTags": [
- {
- "key": "string",
- "value": "string"
}
], - "copyTagsFromEfsShare": true
}, - "backupIndexingSettings": {
- "repositoryName": "string",
- "indexingIAMRoleName": "string"
}, - "backupCopySettings": {
- "backupRegions": [
- {
- "sourceRegionName": "string",
- "targetRegionName": "string",
- "backupVaultName": "string",
- "backupVaultTag": {
- "key": "string",
- "value": "string"
}
}
]
}, - "scheduleSettings": {
- "dailyScheduleEnabled": true,
- "dailySchedule": {
- "kind": "Everyday",
- "runsPerHour": 1,
- "days": [
- "Sunday"
], - "backupOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "hours": [
- 23
]
}
}, - "backupCopyOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "hours": [
- 23
]
}
}
}, - "weeklyScheduleEnabled": true,
- "weeklySchedule": {
- "timeLocal": "2019-08-24T14:15:22Z",
- "backupOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "days": [
- "Sunday"
]
}
}, - "backupCopyOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "days": [
- "Sunday"
]
}
}
}, - "monthlyScheduleEnabled": true,
- "monthlySchedule": {
- "timeLocal": "2019-08-24T14:15:22Z",
- "dayNumberInMonth": "First",
- "dayOfWeek": "Sunday",
- "dayOfMonth": 0,
- "backupOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "months": [
- "January"
]
}
}, - "backupCopyOptions": {
- "retention": {
- "type": "Days",
- "count": 1
}, - "schedule": {
- "months": [
- "January"
]
}
}
}, - "yearlyScheduleEnabled": true,
- "yearlySchedule": {
- "timeLocal": "2019-08-24T14:15:22Z",
- "dayNumberInMonth": "First",
- "dayOfWeek": "Sunday",
- "dayOfMonth": 0,
- "month": "January",
- "retention": {
- "count": 1,
- "type": "Years"
}
}
}, - "retrySettings": {
- "retryTimes": 0
}, - "notificationSettings": {
- "email": "user@example.com",
- "notifyOnSuccess": true,
- "notifyOnWarning": true,
- "notifyOnFailure": true,
- "supressNotificationsUntilLastRetry": true
}, - "organizationSettings": {
- "limitedScopeId": "b6545d46-ca5a-4879-bb5f-c66e76373c5d",
- "excludedMembers": [
- "string"
]
}
}
- 202
- 400
- 401
- 403
- 404
{- "sessionId": "1b1a25b9-1131-469a-914c-5318b0aa1b07",
- "_links": [
- {
- "method": "GET",
- "rel": "self",
}
]
}
Export Collection of Backup Policies
The HTTP POST request to the /efs/policies/export
endpoint exports all EFS backup policies created in Veeam Backup for AWS 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/efs/policies/export \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'x-api-version: 1.7-rev0'