Create backup destination (without Plan)
Select
SaaS
Customer Managed
Create backup destination(s) for a plan before creating the plan. The primary backup destination can be then associated with the plan to associate all secondary copies also.
- application/json
Request Body
backupDestinations object[] required
Responses
- 200
- 400
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",
"isDefault": true
}
],
"failedDestinations": [
"string"
],
"error": {
"errorMessage": "string",
"errorCode": 0
}
}
Bad Request
POST /v4/plan/backupdestinations
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Plan/BackupDestinations' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"backupDestinations": [
{
"name": "string",
"storagePool": {
"id": 0,
"name": "string"
},
"storageType": "ALL",
"netAppCloudTarget": true,
"isSnapCopy": true,
"isMirrorCopy": true,
"region": {
"id": 0,
"name": "string"
},
"sourceCopy": {
"id": 0,
"name": "string"
},
"backupsToCopy": "All_JOBS",
"fullBackupTypesToCopy": "FIRST",
"backupStartTime": 0,
"optimizeForInstantClone": true,
"overrideRetentionSettings": true,
"retentionRuleType": "RETENTION_PERIOD",
"retentionPeriodDays": 30,
"snapRecoveryPoints": 0,
"useExtendedRetentionRules": true,
"extendedRetentionRules": {
"firstExtendedRetentionRule": {
"isInfiniteRetention": true,
"retentionPeriodDays": 0,
"type": "All_JOBS"
},
"secondExtendedRetentionRule": {
"isInfiniteRetention": true,
"retentionPeriodDays": 0,
"type": "All_JOBS"
},
"thirdExtendedRetentionRule": {
"isInfiniteRetention": true,
"retentionPeriodDays": 0,
"type": "All_JOBS"
}
},
"mappings": [
{
"vendor": "NETAPP",
"source": {
"id": 0,
"name": "string"
},
"target": {
"id": 0,
"name": "string"
},
"sourceVendor": {
"id": 0,
"name": "string"
},
"targetVendor": {
"id": 0,
"name": "string"
},
"subclients": [
{
"id": 0,
"name": "string"
}
],
"mappingType": "DEFAULT_MAPPING"
}
]
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Plan/BackupDestinations' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"backupDestinations": [
{
"name": "string",
"storagePool": {
"id": 0,
"name": "string"
},
"storageType": "ALL",
"netAppCloudTarget": true,
"isSnapCopy": true,
"isMirrorCopy": true,
"region": {
"id": 0,
"name": "string"
},
"sourceCopy": {
"id": 0,
"name": "string"
},
"backupsToCopy": "All_JOBS",
"fullBackupTypesToCopy": "FIRST",
"backupStartTime": 0,
"optimizeForInstantClone": true,
"overrideRetentionSettings": true,
"retentionRuleType": "RETENTION_PERIOD",
"retentionPeriodDays": 30,
"snapRecoveryPoints": 0,
"useExtendedRetentionRules": true,
"extendedRetentionRules": {
"firstExtendedRetentionRule": {
"isInfiniteRetention": true,
"retentionPeriodDays": 0,
"type": "All_JOBS"
},
"secondExtendedRetentionRule": {
"isInfiniteRetention": true,
"retentionPeriodDays": 0,
"type": "All_JOBS"
},
"thirdExtendedRetentionRule": {
"isInfiniteRetention": true,
"retentionPeriodDays": 0,
"type": "All_JOBS"
}
},
"mappings": [
{
"vendor": "NETAPP",
"source": {
"id": 0,
"name": "string"
},
"target": {
"id": 0,
"name": "string"
},
"sourceVendor": {
"id": 0,
"name": "string"
},
"targetVendor": {
"id": 0,
"name": "string"
},
"subclients": [
{
"id": 0,
"name": "string"
}
],
"mappingType": "DEFAULT_MAPPING"
}
]
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Plan/BackupDestinations' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"backupDestinations": [
{
"name": "string",
"storagePool": {
"id": 0,
"name": "string"
},
"storageType": "ALL",
"netAppCloudTarget": true,
"isSnapCopy": true,
"isMirrorCopy": true,
"region": {
"id": 0,
"name": "string"
},
"sourceCopy": {
"id": 0,
"name": "string"
},
"backupsToCopy": "All_JOBS",
"fullBackupTypesToCopy": "FIRST",
"backupStartTime": 0,
"optimizeForInstantClone": true,
"overrideRetentionSettings": true,
"retentionRuleType": "RETENTION_PERIOD",
"retentionPeriodDays": 30,
"snapRecoveryPoints": 0,
"useExtendedRetentionRules": true,
"extendedRetentionRules": {
"firstExtendedRetentionRule": {
"isInfiniteRetention": true,
"retentionPeriodDays": 0,
"type": "All_JOBS"
},
"secondExtendedRetentionRule": {
"isInfiniteRetention": true,
"retentionPeriodDays": 0,
"type": "All_JOBS"
},
"thirdExtendedRetentionRule": {
"isInfiniteRetention": true,
"retentionPeriodDays": 0,
"type": "All_JOBS"
}
},
"mappings": [
{
"vendor": "NETAPP",
"source": {
"id": 0,
"name": "string"
},
"target": {
"id": 0,
"name": "string"
},
"sourceVendor": {
"id": 0,
"name": "string"
},
"targetVendor": {
"id": 0,
"name": "string"
},
"subclients": [
{
"id": 0,
"name": "string"
}
],
"mappingType": "DEFAULT_MAPPING"
}
]
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Plan/BackupDestinations' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"backupDestinations": [
{
"name": "string",
"storagePool": {
"id": 0,
"name": "string"
},
"storageType": "ALL",
"netAppCloudTarget": true,
"isSnapCopy": true,
"isMirrorCopy": true,
"region": {
"id": 0,
"name": "string"
},
"sourceCopy": {
"id": 0,
"name": "string"
},
"backupsToCopy": "All_JOBS",
"fullBackupTypesToCopy": "FIRST",
"backupStartTime": 0,
"optimizeForInstantClone": true,
"overrideRetentionSettings": true,
"retentionRuleType": "RETENTION_PERIOD",
"retentionPeriodDays": 30,
"snapRecoveryPoints": 0,
"useExtendedRetentionRules": true,
"extendedRetentionRules": {
"firstExtendedRetentionRule": {
"isInfiniteRetention": true,
"retentionPeriodDays": 0,
"type": "All_JOBS"
},
"secondExtendedRetentionRule": {
"isInfiniteRetention": true,
"retentionPeriodDays": 0,
"type": "All_JOBS"
},
"thirdExtendedRetentionRule": {
"isInfiniteRetention": true,
"retentionPeriodDays": 0,
"type": "All_JOBS"
}
},
"mappings": [
{
"vendor": "NETAPP",
"source": {
"id": 0,
"name": "string"
},
"target": {
"id": 0,
"name": "string"
},
"sourceVendor": {
"id": 0,
"name": "string"
},
"targetVendor": {
"id": 0,
"name": "string"
},
"subclients": [
{
"id": 0,
"name": "string"
}
],
"mappingType": "DEFAULT_MAPPING"
}
]
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Plan/BackupDestinations' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"backupDestinations": [
{
"name": "string",
"storagePool": {
"id": 0,
"name": "string"
},
"storageType": "ALL",
"netAppCloudTarget": true,
"isSnapCopy": true,
"isMirrorCopy": true,
"region": {
"id": 0,
"name": "string"
},
"sourceCopy": {
"id": 0,
"name": "string"
},
"backupsToCopy": "All_JOBS",
"fullBackupTypesToCopy": "FIRST",
"backupStartTime": 0,
"optimizeForInstantClone": true,
"overrideRetentionSettings": true,
"retentionRuleType": "RETENTION_PERIOD",
"retentionPeriodDays": 30,
"snapRecoveryPoints": 0,
"useExtendedRetentionRules": true,
"extendedRetentionRules": {
"firstExtendedRetentionRule": {
"isInfiniteRetention": true,
"retentionPeriodDays": 0,
"type": "All_JOBS"
},
"secondExtendedRetentionRule": {
"isInfiniteRetention": true,
"retentionPeriodDays": 0,
"type": "All_JOBS"
},
"thirdExtendedRetentionRule": {
"isInfiniteRetention": true,
"retentionPeriodDays": 0,
"type": "All_JOBS"
}
},
"mappings": [
{
"vendor": "NETAPP",
"source": {
"id": 0,
"name": "string"
},
"target": {
"id": 0,
"name": "string"
},
"sourceVendor": {
"id": 0,
"name": "string"
},
"targetVendor": {
"id": 0,
"name": "string"
},
"subclients": [
{
"id": 0,
"name": "string"
}
],
"mappingType": "DEFAULT_MAPPING"
}
]
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Plan/BackupDestinations' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"backupDestinations": [
{
"name": "string",
"storagePool": {
"id": 0,
"name": "string"
},
"storageType": "ALL",
"netAppCloudTarget": true,
"isSnapCopy": true,
"isMirrorCopy": true,
"region": {
"id": 0,
"name": "string"
},
"sourceCopy": {
"id": 0,
"name": "string"
},
"backupsToCopy": "All_JOBS",
"fullBackupTypesToCopy": "FIRST",
"backupStartTime": 0,
"optimizeForInstantClone": true,
"overrideRetentionSettings": true,
"retentionRuleType": "RETENTION_PERIOD",
"retentionPeriodDays": 30,
"snapRecoveryPoints": 0,
"useExtendedRetentionRules": true,
"extendedRetentionRules": {
"firstExtendedRetentionRule": {
"isInfiniteRetention": true,
"retentionPeriodDays": 0,
"type": "All_JOBS"
},
"secondExtendedRetentionRule": {
"isInfiniteRetention": true,
"retentionPeriodDays": 0,
"type": "All_JOBS"
},
"thirdExtendedRetentionRule": {
"isInfiniteRetention": true,
"retentionPeriodDays": 0,
"type": "All_JOBS"
}
},
"mappings": [
{
"vendor": "NETAPP",
"source": {
"id": 0,
"name": "string"
},
"target": {
"id": 0,
"name": "string"
},
"sourceVendor": {
"id": 0,
"name": "string"
},
"targetVendor": {
"id": 0,
"name": "string"
},
"subclients": [
{
"id": 0,
"name": "string"
}
],
"mappingType": "DEFAULT_MAPPING"
}
]
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Plan/BackupDestinations' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"backupDestinations": [
{
"name": "string",
"storagePool": {
"id": 0,
"name": "string"
},
"storageType": "ALL",
"netAppCloudTarget": true,
"isSnapCopy": true,
"isMirrorCopy": true,
"region": {
"id": 0,
"name": "string"
},
"sourceCopy": {
"id": 0,
"name": "string"
},
"backupsToCopy": "All_JOBS",
"fullBackupTypesToCopy": "FIRST",
"backupStartTime": 0,
"optimizeForInstantClone": true,
"overrideRetentionSettings": true,
"retentionRuleType": "RETENTION_PERIOD",
"retentionPeriodDays": 30,
"snapRecoveryPoints": 0,
"useExtendedRetentionRules": true,
"extendedRetentionRules": {
"firstExtendedRetentionRule": {
"isInfiniteRetention": true,
"retentionPeriodDays": 0,
"type": "All_JOBS"
},
"secondExtendedRetentionRule": {
"isInfiniteRetention": true,
"retentionPeriodDays": 0,
"type": "All_JOBS"
},
"thirdExtendedRetentionRule": {
"isInfiniteRetention": true,
"retentionPeriodDays": 0,
"type": "All_JOBS"
}
},
"mappings": [
{
"vendor": "NETAPP",
"source": {
"id": 0,
"name": "string"
},
"target": {
"id": 0,
"name": "string"
},
"sourceVendor": {
"id": 0,
"name": "string"
},
"targetVendor": {
"id": 0,
"name": "string"
},
"subclients": [
{
"id": 0,
"name": "string"
}
],
"mappingType": "DEFAULT_MAPPING"
}
]
}
]
}'