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:

Parameter Name
Description

wlm_api_endpoint

The endpoint URL of the Workloadmgr service

Headers:

Header Name
Value/Description

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>
        }
}
Sample Response

Delete a Backup Target

Deleting an existing backup target

DELETE https://<wlm_api_endpoint>/backup_targets/<backup_target_id>

Input Parameters:

Path:

Parameter Name
Description

wlm_api_endpoint

The endpoint URL of the Workloadmgrservice

backup_target_id

Id of the required Backup Target

Headers:

Header Name
Value/Description

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

Sample Response

List Backup Targets

Provides the list of all backup targets

GET https://<wlm_api_endpoint>/backup_targets

Input Parameters:

Path:

Parameter Name
Description

wlm_api_endpoint

The endpoint URL of the Workloadmgr service

Headers:

Header Name
Value/Description

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

Sample Response

Detailed List of all Backup Targets

Provides a detailed list of all backup targets

GET https://<wlm_api_endpoint>/backup_targets/detail

Parameters:

Path:

Parameter Name
Description

wlm_api_endpoint

The endpoint URL of the Workloadmgr service

Headers:

Header Name
Value/Description

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

Sample Response

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:

Parameter Name
Description

wlm_api_endpoint

The endpoint URL of the Workloadmgr service

backup_target_id

ID of the Backup Target to be fetched

Headers:

Header Name
Value/Description

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

Sample Response

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:

Parameter Name
Description

wlm_api_endpoint

The endpoint URL of the Workloadmgrservice

backup_target_id

Id of the required Backup Target

Headers:

Header Name
Value/Description

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

Sample Response

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:

Parameter Name
Description

wlm_api_endpoint

The endpoint URL of the Workloadmgr service

Headers:

Header Name
Value/Description

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

Sample Response

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:

Parameter Name
Description

wlm_api_endpoint

The endpoint URL of the Workloadmgr service

backup_target_type_id

ID of the Backup Target Type to be fetched

Headers:

Header Name
Value/Description

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

Sample Response

Create a Backup Target Type

Creates the backup target type

POST https://<wlm_api_endpoint>/backup_target_types

Input Parameters:

Path:

Parameter Name
Description

wlm_api_endpoint

The endpoint URL of the Workloadmgr service

Headers:

Header Name
Value/Description

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:

Sample Response

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:

Parameter Name
Description

wlm_api_endpoint

The endpoint URL of the Workloadmgr service

backup_target_type_id

Id of the Backup Target Type to be modified

Headers:

Header Name
Value/Description

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:

Sample Response

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:

Parameter Name
Description

wlm_api_endpoint

The endpoint URL of the Workloadmgrservice

backup_target_type_id

Id of the required Backup Target Type

Headers:

Header Name
Value/Description

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:

Sample Response

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:

Parameter Name
Description

wlm_api_endpoint

The endpoint URL of the Workloadmgrservice

backup_target_type_id

Id of the required Backup Target Type

Headers:

Header Name
Value/Description

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:

Sample Response

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:

Parameter Name
Description

wlm_api_endpoint

The endpoint URL of the Workloadmgrservice

backup_target_type_id

Id of the required Backup Target Type

Headers:

Header Name
Value/Description

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:

Sample Response

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:

Parameter Name
Description

wlm_api_endpoint

The endpoint URL of the Workloadmgrservice

backup_target_type_id

Id of the required Backup Target Type

Headers:

Header Name
Value/Description

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:

Sample Response

Delete a Backup Target Type

Deleting an existing backup target type

DELETE https://<wlm_api_endpoint>/backup_target_types/<backup_target_type_id>

Input Parameters:

Path:

Parameter Name
Description

wlm_api_endpoint

The endpoint URL of the Workloadmgrservice

backup_target_type_id

Id of the required Backup Target Type

Headers:

Header Name
Value/Description

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

Sample Response

Last updated

Was this helpful?