Create Backup Location
Select
SaaS
Customer Managed
Create a new backup location
Path Parameters
- storagePoolId int32 required
Id of the disk storage to update
- application/json
Request Body
mediaAgent object required
- backupLocation string required
The mount path on the media agent where the data is to be backed up.
credentials object
savedCredentials object
Responses
- 200
- 400
- 404
- 500
Success
- application/json
- Schema
- Example (from schema)
Schema
- id int32
- name string
{
"id": 0,
"name": "string"
}
Bad Request
Requested Details not found
Internal Server Error
POST /v4/storage/disk/:storagepoolid/backuplocation
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Storage/Disk/:storagePoolId/BackupLocation' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"mediaAgent": {
"id": 0,
"name": "string"
},
"backupLocation": "string",
"credentials": {
"name": "string",
"password": "string"
},
"savedCredentials": {
"id": 0,
"name": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Storage/Disk/:storagePoolId/BackupLocation' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"mediaAgent": {
"id": 0,
"name": "string"
},
"backupLocation": "string",
"credentials": {
"name": "string",
"password": "string"
},
"savedCredentials": {
"id": 0,
"name": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Storage/Disk/:storagePoolId/BackupLocation' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"mediaAgent": {
"id": 0,
"name": "string"
},
"backupLocation": "string",
"credentials": {
"name": "string",
"password": "string"
},
"savedCredentials": {
"id": 0,
"name": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Storage/Disk/:storagePoolId/BackupLocation' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"mediaAgent": {
"id": 0,
"name": "string"
},
"backupLocation": "string",
"credentials": {
"name": "string",
"password": "string"
},
"savedCredentials": {
"id": 0,
"name": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Storage/Disk/:storagePoolId/BackupLocation' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"mediaAgent": {
"id": 0,
"name": "string"
},
"backupLocation": "string",
"credentials": {
"name": "string",
"password": "string"
},
"savedCredentials": {
"id": 0,
"name": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Storage/Disk/:storagePoolId/BackupLocation' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"mediaAgent": {
"id": 0,
"name": "string"
},
"backupLocation": "string",
"credentials": {
"name": "string",
"password": "string"
},
"savedCredentials": {
"id": 0,
"name": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Storage/Disk/:storagePoolId/BackupLocation' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"mediaAgent": {
"id": 0,
"name": "string"
},
"backupLocation": "string",
"credentials": {
"name": "string",
"password": "string"
},
"savedCredentials": {
"id": 0,
"name": "string"
}
}'