Clone the backupdestination of the plan
Select
SaaS
Customer Managed
Clone backupDestination of the plan
Path Parameters
- planId string required
Id of the plan to modify
- BackupDestinationId string required
Id of the backupDestination to be cloned
- application/json
Request Body
- backupDestinationName string required
name of the backupDestination to create from clone.
storage object required
cloneFromBackupDestination object required
Responses
- 200
- 403
- 404
- 500
Success
- application/json
- Schema
- Example (from schema)
Schema
planBackupDestination object[]
- failedDestinations string[]
List of destinations for which the operation failed
error object
{
"planBackupDestination": [
{
"id": 0,
"name": "string"
}
],
"failedDestinations": [
"string"
],
"error": {
"errorMessage": "string",
"errorCode": 0
}
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
Not Found
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
planBackupDestination object[]
- failedDestinations string[]
List of destinations for which the operation failed
error object
{
"planBackupDestination": [
{
"id": 0,
"name": "string"
}
],
"failedDestinations": [
"string"
],
"error": {
"errorMessage": "string",
"errorCode": 0
}
}
POST /v5/archiveplan/:planid/backupdestination/:backupdestinationid/clone
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V5/ArchivePlan/:planId/BackupDestination/:BackupDestinationId/Clone' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"backupDestinationName": "string",
"storage": {
"id": 0,
"name": "string"
},
"cloneFromBackupDestination": {
"id": 0,
"name": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V5/ArchivePlan/:planId/BackupDestination/:BackupDestinationId/Clone' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"backupDestinationName": "string",
"storage": {
"id": 0,
"name": "string"
},
"cloneFromBackupDestination": {
"id": 0,
"name": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V5/ArchivePlan/:planId/BackupDestination/:BackupDestinationId/Clone' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"backupDestinationName": "string",
"storage": {
"id": 0,
"name": "string"
},
"cloneFromBackupDestination": {
"id": 0,
"name": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V5/ArchivePlan/:planId/BackupDestination/:BackupDestinationId/Clone' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"backupDestinationName": "string",
"storage": {
"id": 0,
"name": "string"
},
"cloneFromBackupDestination": {
"id": 0,
"name": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V5/ArchivePlan/:planId/BackupDestination/:BackupDestinationId/Clone' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"backupDestinationName": "string",
"storage": {
"id": 0,
"name": "string"
},
"cloneFromBackupDestination": {
"id": 0,
"name": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V5/ArchivePlan/:planId/BackupDestination/:BackupDestinationId/Clone' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"backupDestinationName": "string",
"storage": {
"id": 0,
"name": "string"
},
"cloneFromBackupDestination": {
"id": 0,
"name": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V5/ArchivePlan/:planId/BackupDestination/:BackupDestinationId/Clone' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"backupDestinationName": "string",
"storage": {
"id": 0,
"name": "string"
},
"cloneFromBackupDestination": {
"id": 0,
"name": "string"
}
}'