Backup Targets
This page contains the API guide for various operations on Backup Targets and Backup Target Types.
Backup Targets
Create Backup Target
Creates the backup target
POST https://<wlm_api_endpoint>/backup_targets
Input Parameters:
Path:
wlm_api_endpoint
The endpoint URL of the Workloadmgr service
Headers:
X-Auth-Project-Id
Project ID to run the authentication against
X-Auth-Token
Authentication token to use
Accept
application/json
User-Agent
python-workloadmgrclient
Body Format:
{
"backup_target" :
{
"s3_endpoint_url": <s3 endpint url>,
"s3_bucket": <s3 bucket name>,
"filesystem_export": <filesystem export required for NFS type>,
"type": <Backup Target type Eg. nfs, s3>,
"is_default": <integer value 0|1 to specify if default or non-default>,
"btt_name": <Backup Target Type name, using filesystem_export if not provided>
"immutable": <integer value 0|1 to specify if s3 Backup Target has object locked enabled>
"metadata": <dictionary of key-value pair denotes metadata of backup target>
}
}Delete a Backup Target
Deleting an existing backup target
Removing Backup Target from an active Workload can lead to inconsistent behavior and potential backup operation failures.
DELETE https://<wlm_api_endpoint>/backup_targets/<backup_target_id>
Input Parameters:
Path:
wlm_api_endpoint
The endpoint URL of the Workloadmgrservice
backup_target_id
Id of the required Backup Target
Headers:
X-Auth-Project-Id
Project ID to run the authentication against
X-Auth-Token
Authentication token to use
Accept
application/json
User-Agent
python-workloadmgrclient
List Backup Targets
Provides the list of all backup targets
GET https://<wlm_api_endpoint>/backup_targets
Input Parameters:
Path:
wlm_api_endpoint
The endpoint URL of the Workloadmgr service
Headers:
X-Auth-Project-Id
Project ID to run the authentication against
X-Auth-Token
Authentication token to use
Accept
application/json
User-Agent
python-workloadmgrclient
Detailed List of all Backup Targets
Provides a detailed list of all backup targets
GET https://<wlm_api_endpoint>/backup_targets/detail
Parameters:
Path:
wlm_api_endpoint
The endpoint URL of the Workloadmgr service
Headers:
X-Auth-Project-Id
Project ID to run the authentication against
X-Auth-Token
Authentication token to use
Accept
application/json
User-Agent
python-workloadmgrclient
Show Details of a Backup Target
Provides all details of a specific backup target
GET https://<wlm_api_endpoint>/backup_targets/<backup_target_id>
Parameters:
Path:
wlm_api_endpoint
The endpoint URL of the Workloadmgr service
backup_target_id
ID of the Backup Target to be fetched
Headers:
X-Auth-Project-Id
Project ID to run the authentication against
X-Auth-Token
Authentication token to use
Accept
application/json
User-Agent
python-workloadmgrclient
Backup Target Set Default
Sets the given Backup target as default
GET https://<wlm_api_endpoint>/backup_targets/<backup_target_id>/set_default
Input Parameters:
Path:
wlm_api_endpoint
The endpoint URL of the Workloadmgrservice
backup_target_id
Id of the required Backup Target
Headers:
X-Auth-Project-Id
Project ID to run the authentication against
X-Auth-Token
Authentication token to use
Accept
application/json
User-Agent
python-workloadmgrclient
Detailed List of all Backup Target Types
Provides a detailed list of all backup target types
GET https://<wlm_api_endpoint>/backup_target_types/detail
Parameters:
Path:
wlm_api_endpoint
The endpoint URL of the Workloadmgr service
Headers:
X-Auth-Project-Id
Project ID to run the authentication against
X-Auth-Token
Authentication token to use
Accept
application/json
User-Agent
python-workloadmgrclient
Show Details of a Backup Target Type
Provides all details of a specific backup target type
GET https://<wlm_api_endpoint>/backup_target_types/<backup_target_type_id>
Parameters:
Path:
wlm_api_endpoint
The endpoint URL of the Workloadmgr service
backup_target_type_id
ID of the Backup Target Type to be fetched
Headers:
X-Auth-Project-Id
Project ID to run the authentication against
X-Auth-Token
Authentication token to use
Accept
application/json
User-Agent
python-workloadmgrclient
Create a Backup Target Type
Creates the backup target type
POST https://<wlm_api_endpoint>/backup_target_types
Input Parameters:
Path:
wlm_api_endpoint
The endpoint URL of the Workloadmgr service
Headers:
X-Auth-Project-Id
Project ID to run the authentication against
X-Auth-Token
Authentication token to use
Accept
application/json
User-Agent
python-workloadmgrclient
Body Format:
Update the backup target type
Update an existing backup target type
PUT https://<wlm_api_endpoint>/backup_target_types/<backup_target_type_id>
Input Parameters:
Path:
wlm_api_endpoint
The endpoint URL of the Workloadmgr service
backup_target_type_id
Id of the Backup Target Type to be modified
Headers:
X-Auth-Project-Id
Project ID to run the authentication against
X-Auth-Token
Authentication token to use
Accept
application/json
User-Agent
python-workloadmgrclient
Body Format:
Assign Projects to a Backup Target Type
Add projects to an existing backup target type
POST https://<wlm_api_endpoint>/backup_target_types/<backup_target_type_id>/add_projects
Input Parameters:
Path:
wlm_api_endpoint
The endpoint URL of the Workloadmgrservice
backup_target_type_id
Id of the required Backup Target Type
Headers:
X-Auth-Project-Id
Project ID to run the authentication against
X-Auth-Token
Authentication token to use
Accept
application/json
User-Agent
python-workloadmgrclient
Body Format:
Remove Assigned Projects from a Backup Target Type
Add projects to an existing backup target type
PUT https://<wlm_api_endpoint>/backup_target_types/<backup_target_type_id>/remove_projects
Input Parameters:
Path:
wlm_api_endpoint
The endpoint URL of the Workloadmgrservice
backup_target_type_id
Id of the required Backup Target Type
Headers:
X-Auth-Project-Id
Project ID to run the authentication against
X-Auth-Token
Authentication token to use
Accept
application/json
User-Agent
python-workloadmgrclient
Body Format:
Add Metadata to Backup Target Type
Adds metadata to an existing backup target type
POST https://<wlm_api_endpoint>/backup_target_types/<backup_target_type_id>/add_metadata
Input Parameters:
Path:
wlm_api_endpoint
The endpoint URL of the Workloadmgrservice
backup_target_type_id
Id of the required Backup Target Type
Headers:
X-Auth-Project-Id
Project ID to run the authentication against
X-Auth-Token
Authentication token to use
Accept
application/json
User-Agent
python-workloadmgrclient
Body Format:
Remove Metadata from a Backup Target Type
Removes metadata from an existing backup target type
PUT https://<wlm_api_endpoint>/backup_target_types/<backup_target_type_id>/remove_metadata
Input Parameters:
Path:
wlm_api_endpoint
The endpoint URL of the Workloadmgrservice
backup_target_type_id
Id of the required Backup Target Type
Headers:
X-Auth-Project-Id
Project ID to run the authentication against
X-Auth-Token
Authentication token to use
Accept
application/json
User-Agent
python-workloadmgrclient
Body Format:
Delete a Backup Target Type
Deleting an existing backup target type
Removing Backup Target Types from an active Workload can lead to inconsistent behavior and potential backup operation failures.
DELETE https://<wlm_api_endpoint>/backup_target_types/<backup_target_type_id>
Input Parameters:
Path:
wlm_api_endpoint
The endpoint URL of the Workloadmgrservice
backup_target_type_id
Id of the required Backup Target Type
Headers:
X-Auth-Project-Id
Project ID to run the authentication against
X-Auth-Token
Authentication token to use
Accept
application/json
User-Agent
python-workloadmgrclient
Last updated
Was this helpful?
