Create Archive Plan
Create Archive Plan
- application/json
Request Body
- planName string required
backupDestinations object[]
backupDestinationName string requiredBackup destination details. Enter the name during creation.
storagePool object required
id int32name stringregion object
id int32name stringsourceCopy object
id int32name stringretentionPeriodDays int32Possible values:
>= 1
and<= 9999
Retention period in days. -1 can be specified for infinite retention.
overrideRetentionSettings booleanTells if this copy should use storage pool retention period days or the retention defined for this copy. Set as true to use retention defined on this copy.
rpo object
Recovery Point Objective (RPO) is the maximum amount of time that data can be lost during a service disruption. Your RPO determines the frequency of your backup jobs.
archiveFrequency object
Used to describe the frequency of backup
scheduleFrequencyType stringPossible values: [
MINUTES
,DAILY
,WEEKLY
,MONTHLY
,YEARLY
]Default value:
DAILY
schedule frequency type
frequency int32Possible values:
>= 1
Default value:
1
Frequency of the schedule based on schedule frequency type eg. for Hours, value 2 is 2 hours, for Minutes, 30 is 30 minutes, for Daily, 2 is 2 days. for Monthly 2 is it repeats every 2 months
weeklyDays string[]Possible values: [
SUNDAY
,MONDAY
,TUESDAY
,WEDNESDAY
,THURSDAY
,FRIDAY
,SATURDAY
]Days of the week for weekly frequency
dayOfMonth int32Possible values:
>= 1
and<= 31
Day on which to run the schedule, applicable for monthly, yearly
weekOfMonth stringPossible values: [
FIRST
,SECOND
,THIRD
,FOURTH
,LAST
]Specific week of a month
dayOfWeek stringPossible values: [
SUNDAY
,MONDAY
,TUESDAY
,WEDNESDAY
,THURSDAY
,FRIDAY
,SATURDAY
,DAY
,WEEKDAY
,WEEKEND_DAYS
]monthOfYear stringPossible values: [
JANUARY
,FEBRUARY
,MARCH
,APRIL
,MAY
,JUNE
,JULY
,AUGUST
,SEPTEMBER
,OCTOBER
,NOVEMBER
,DECEMBER
]startTime int32Default value:
75600
start time of schedule in seconds for daily, weekly, monthly, yearly frequency
archiveWindow object[]
Archive job will run only in the specified archive window
dayOfWeek string[]Possible values: [
SUNDAY
,MONDAY
,TUESDAY
,WEDNESDAY
,THURSDAY
,FRIDAY
,SATURDAY
]startTime int64Time in seconds since the beginning of the day
endTime int64Time in seconds since the beginning of the day
archivingRules object
Files which meet both time stamp and file size rules will be archived
fileTimestampMethod stringPossible values: [
LAST_ACCESSED
,LAST_MODIFIED
]Default value:
LAST_MODIFIED
fileTimestamp int32Default value:
90
To archive files based on the last accessed or modified date of each file within the folder, specify the number of days. Should be supplied with fileTimestampMethod.
fileSize int32Default value:
1
To archive files based on the size of the file, specify the minimum file size in KB.
afterArchivingPossible values: [
REPLACE_FILE_WITH_STUB
,DELETE_THE_FILE
]After an archive job, replace the file that meets the archiving rules with a stub or delete the file that meets the archiving rules
- allowPlanOverride boolean
Default value:
false
Flag to enable overriding of plan. Plan cannot be overriden by default.
overrideRestrictions object
To allow the derived plans that use this plan as the base plan to override the settings, property allowPlanOverride must be true, and then select one of the options for Storage pool, RPO and Archiving rules.
storagePool stringPossible values: [
OPTIONAL
,MUST
,NOT_ALLOWED
]RPO stringPossible values: [
OPTIONAL
,MUST
,NOT_ALLOWED
]archivingRules stringPossible values: [
OPTIONAL
,MUST
,NOT_ALLOWED
]parentPlan object
id int32name string
- 200
- 400
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
plan object
id int32name stringerrors object[]
component stringPlan Entity for which error occured
errorCode int32Error Code for plan
errorMessage stringError message for plan
{
"plan": {
"id": 0,
"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
}