Create Archive Plan
Select
SaaS
Customer Managed
Create Archive Plan
- application/json
Request Body
- planName string required
backupDestinations object[]
rpo object
archivingRules object
- allowPlanOverride boolean
Default value:
false
Flag to enable overriding of plan. Plan cannot be overriden by default.
overrideRestrictions object
parentPlan object
Responses
- 200
- 400
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
plan object
errors object[]
{
"plan": {
"id": 0,
"GUID": "string",
"name": "string"
},
"errors": [
{
"component": "string",
"errorCode": 0,
"errorMessage": "string"
}
]
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
POST /v4/archiveplan
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/ArchivePlan' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"planName": "string",
"backupDestinations": [
{
"backupDestinationName": "string",
"storagePool": {
"id": 0,
"name": "string"
},
"region": {
"id": 0,
"name": "string"
},
"sourceCopy": {
"id": 0,
"name": "string"
},
"retentionPeriodDays": 0,
"overrideRetentionSettings": true
}
],
"rpo": {
"archiveFrequency": {
"scheduleFrequencyType": "DAILY",
"frequency": 1,
"weeklyDays": [
"SUNDAY"
],
"dayOfMonth": 0,
"weekOfMonth": "FIRST",
"dayOfWeek": "SUNDAY",
"monthOfYear": "JANUARY",
"startTime": 75600
},
"archiveWindow": [
{
"dayOfWeek": [
"SUNDAY"
],
"startTime": 0,
"endTime": 0
}
]
},
"archivingRules": {
"fileTimestampMethod": "LAST_MODIFIED",
"fileTimestamp": 90,
"fileSize": 1,
"afterArchiving": "REPLACE_FILE_WITH_STUB"
},
"allowPlanOverride": false,
"overrideRestrictions": {
"storagePool": "OPTIONAL",
"RPO": "OPTIONAL",
"archivingRules": "OPTIONAL"
},
"parentPlan": {
"id": 0,
"name": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/ArchivePlan' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"planName": "string",
"backupDestinations": [
{
"backupDestinationName": "string",
"storagePool": {
"id": 0,
"name": "string"
},
"region": {
"id": 0,
"name": "string"
},
"sourceCopy": {
"id": 0,
"name": "string"
},
"retentionPeriodDays": 0,
"overrideRetentionSettings": true
}
],
"rpo": {
"archiveFrequency": {
"scheduleFrequencyType": "DAILY",
"frequency": 1,
"weeklyDays": [
"SUNDAY"
],
"dayOfMonth": 0,
"weekOfMonth": "FIRST",
"dayOfWeek": "SUNDAY",
"monthOfYear": "JANUARY",
"startTime": 75600
},
"archiveWindow": [
{
"dayOfWeek": [
"SUNDAY"
],
"startTime": 0,
"endTime": 0
}
]
},
"archivingRules": {
"fileTimestampMethod": "LAST_MODIFIED",
"fileTimestamp": 90,
"fileSize": 1,
"afterArchiving": "REPLACE_FILE_WITH_STUB"
},
"allowPlanOverride": false,
"overrideRestrictions": {
"storagePool": "OPTIONAL",
"RPO": "OPTIONAL",
"archivingRules": "OPTIONAL"
},
"parentPlan": {
"id": 0,
"name": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/ArchivePlan' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"planName": "string",
"backupDestinations": [
{
"backupDestinationName": "string",
"storagePool": {
"id": 0,
"name": "string"
},
"region": {
"id": 0,
"name": "string"
},
"sourceCopy": {
"id": 0,
"name": "string"
},
"retentionPeriodDays": 0,
"overrideRetentionSettings": true
}
],
"rpo": {
"archiveFrequency": {
"scheduleFrequencyType": "DAILY",
"frequency": 1,
"weeklyDays": [
"SUNDAY"
],
"dayOfMonth": 0,
"weekOfMonth": "FIRST",
"dayOfWeek": "SUNDAY",
"monthOfYear": "JANUARY",
"startTime": 75600
},
"archiveWindow": [
{
"dayOfWeek": [
"SUNDAY"
],
"startTime": 0,
"endTime": 0
}
]
},
"archivingRules": {
"fileTimestampMethod": "LAST_MODIFIED",
"fileTimestamp": 90,
"fileSize": 1,
"afterArchiving": "REPLACE_FILE_WITH_STUB"
},
"allowPlanOverride": false,
"overrideRestrictions": {
"storagePool": "OPTIONAL",
"RPO": "OPTIONAL",
"archivingRules": "OPTIONAL"
},
"parentPlan": {
"id": 0,
"name": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/ArchivePlan' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"planName": "string",
"backupDestinations": [
{
"backupDestinationName": "string",
"storagePool": {
"id": 0,
"name": "string"
},
"region": {
"id": 0,
"name": "string"
},
"sourceCopy": {
"id": 0,
"name": "string"
},
"retentionPeriodDays": 0,
"overrideRetentionSettings": true
}
],
"rpo": {
"archiveFrequency": {
"scheduleFrequencyType": "DAILY",
"frequency": 1,
"weeklyDays": [
"SUNDAY"
],
"dayOfMonth": 0,
"weekOfMonth": "FIRST",
"dayOfWeek": "SUNDAY",
"monthOfYear": "JANUARY",
"startTime": 75600
},
"archiveWindow": [
{
"dayOfWeek": [
"SUNDAY"
],
"startTime": 0,
"endTime": 0
}
]
},
"archivingRules": {
"fileTimestampMethod": "LAST_MODIFIED",
"fileTimestamp": 90,
"fileSize": 1,
"afterArchiving": "REPLACE_FILE_WITH_STUB"
},
"allowPlanOverride": false,
"overrideRestrictions": {
"storagePool": "OPTIONAL",
"RPO": "OPTIONAL",
"archivingRules": "OPTIONAL"
},
"parentPlan": {
"id": 0,
"name": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/ArchivePlan' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"planName": "string",
"backupDestinations": [
{
"backupDestinationName": "string",
"storagePool": {
"id": 0,
"name": "string"
},
"region": {
"id": 0,
"name": "string"
},
"sourceCopy": {
"id": 0,
"name": "string"
},
"retentionPeriodDays": 0,
"overrideRetentionSettings": true
}
],
"rpo": {
"archiveFrequency": {
"scheduleFrequencyType": "DAILY",
"frequency": 1,
"weeklyDays": [
"SUNDAY"
],
"dayOfMonth": 0,
"weekOfMonth": "FIRST",
"dayOfWeek": "SUNDAY",
"monthOfYear": "JANUARY",
"startTime": 75600
},
"archiveWindow": [
{
"dayOfWeek": [
"SUNDAY"
],
"startTime": 0,
"endTime": 0
}
]
},
"archivingRules": {
"fileTimestampMethod": "LAST_MODIFIED",
"fileTimestamp": 90,
"fileSize": 1,
"afterArchiving": "REPLACE_FILE_WITH_STUB"
},
"allowPlanOverride": false,
"overrideRestrictions": {
"storagePool": "OPTIONAL",
"RPO": "OPTIONAL",
"archivingRules": "OPTIONAL"
},
"parentPlan": {
"id": 0,
"name": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/ArchivePlan' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"planName": "string",
"backupDestinations": [
{
"backupDestinationName": "string",
"storagePool": {
"id": 0,
"name": "string"
},
"region": {
"id": 0,
"name": "string"
},
"sourceCopy": {
"id": 0,
"name": "string"
},
"retentionPeriodDays": 0,
"overrideRetentionSettings": true
}
],
"rpo": {
"archiveFrequency": {
"scheduleFrequencyType": "DAILY",
"frequency": 1,
"weeklyDays": [
"SUNDAY"
],
"dayOfMonth": 0,
"weekOfMonth": "FIRST",
"dayOfWeek": "SUNDAY",
"monthOfYear": "JANUARY",
"startTime": 75600
},
"archiveWindow": [
{
"dayOfWeek": [
"SUNDAY"
],
"startTime": 0,
"endTime": 0
}
]
},
"archivingRules": {
"fileTimestampMethod": "LAST_MODIFIED",
"fileTimestamp": 90,
"fileSize": 1,
"afterArchiving": "REPLACE_FILE_WITH_STUB"
},
"allowPlanOverride": false,
"overrideRestrictions": {
"storagePool": "OPTIONAL",
"RPO": "OPTIONAL",
"archivingRules": "OPTIONAL"
},
"parentPlan": {
"id": 0,
"name": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/ArchivePlan' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"planName": "string",
"backupDestinations": [
{
"backupDestinationName": "string",
"storagePool": {
"id": 0,
"name": "string"
},
"region": {
"id": 0,
"name": "string"
},
"sourceCopy": {
"id": 0,
"name": "string"
},
"retentionPeriodDays": 0,
"overrideRetentionSettings": true
}
],
"rpo": {
"archiveFrequency": {
"scheduleFrequencyType": "DAILY",
"frequency": 1,
"weeklyDays": [
"SUNDAY"
],
"dayOfMonth": 0,
"weekOfMonth": "FIRST",
"dayOfWeek": "SUNDAY",
"monthOfYear": "JANUARY",
"startTime": 75600
},
"archiveWindow": [
{
"dayOfWeek": [
"SUNDAY"
],
"startTime": 0,
"endTime": 0
}
]
},
"archivingRules": {
"fileTimestampMethod": "LAST_MODIFIED",
"fileTimestamp": 90,
"fileSize": 1,
"afterArchiving": "REPLACE_FILE_WITH_STUB"
},
"allowPlanOverride": false,
"overrideRestrictions": {
"storagePool": "OPTIONAL",
"RPO": "OPTIONAL",
"archivingRules": "OPTIONAL"
},
"parentPlan": {
"id": 0,
"name": "string"
}
}'