Skip to main content

Create Plan V5

Create a unified plan for any workload type

Request Body
  • planName string required

    Name for the new plan

  • planSubtype string required

    Possible values: [ExchangeUser, Office365, Server, Archiver, Laptop]

  • rpo object

    Recovery Point Objective configuration including backup and snapshot frequencies

  • backupFrequency object

    Frequency at which backup jobs run

  • type FrequencyType

    Possible values: [MINUTES, HOURS, DAYS, WEEKS, MONTHS, YEARS]

    Type of frequency interval for schedules

  • value int32

    Frequency value

  • snapFrequency object

    Frequency at which snapshot jobs run

  • type FrequencyType

    Possible values: [MINUTES, HOURS, DAYS, WEEKS, MONTHS, YEARS]

    Type of frequency interval for schedules

  • value int32

    Frequency value

  • copies object[] required

    List of storage copies for the plan

  • isPrimaryCopy boolean required

    Whether this is the primary copy

  • isSnapCopy boolean required

    Whether this is a snap copy

  • storagePool object

    Storage pool to use for this copy

  • id int32
  • name string
  • retentionPeriodDays int32

    Number of days to retain data on this copy

  • extendedRetentionRules object

    If you want to update, specify the whole object. Extended retention rules should be bigger than retention period.

  • firstExtendedRetentionRule object
  • isInfiniteRetention boolean

    If this is set as true, no need to specify retentionPeriodDays.

  • retentionPeriodDays int32

    If this is set, no need to specify isInfiniteRetention as false.

  • type string

    Possible values: [All_JOBS, ALL_FULLS, HOURLY_FULLS, DAILY_FULLS, WEEKLY_FULLS, MONTHLY_FULLS, QUARTERLY_FULLS, HALF_YEARLY_FULLS, YEARLY_FULLS, ADVANCED, MANUAL_JOBS]

    All_JOBS means SYNCHRONOUS copy type, others are applicable for SELECTIVE copy Type only.

  • secondExtendedRetentionRule object
  • isInfiniteRetention boolean

    If this is set as true, no need to specify retentionPeriodDays.

  • retentionPeriodDays int32

    If this is set, no need to specify isInfiniteRetention as false.

  • type string

    Possible values: [All_JOBS, ALL_FULLS, HOURLY_FULLS, DAILY_FULLS, WEEKLY_FULLS, MONTHLY_FULLS, QUARTERLY_FULLS, HALF_YEARLY_FULLS, YEARLY_FULLS, ADVANCED, MANUAL_JOBS]

    All_JOBS means SYNCHRONOUS copy type, others are applicable for SELECTIVE copy Type only.

  • thirdExtendedRetentionRule object
  • isInfiniteRetention boolean

    If this is set as true, no need to specify retentionPeriodDays.

  • retentionPeriodDays int32

    If this is set, no need to specify isInfiniteRetention as false.

  • type string

    Possible values: [All_JOBS, ALL_FULLS, HOURLY_FULLS, DAILY_FULLS, WEEKLY_FULLS, MONTHLY_FULLS, QUARTERLY_FULLS, HALF_YEARLY_FULLS, YEARLY_FULLS, ADVANCED, MANUAL_JOBS]

    All_JOBS means SYNCHRONOUS copy type, others are applicable for SELECTIVE copy Type only.

  • backupToCopy BackupToCopySchedule

    Possible values: [ALL_JOBS, ALL_FULLS, HOURLY, DAILY, WEEKLY, MONTHLY, QUARTERLY, HALF_YEARLY, YEARLY, MANUALLY_PICK_JOBS]

    Specifies which backup jobs to copy

  • region object

    Which region to configure bundled storage, applicable when storage is hosted on commvault storage account (Bundled with subscription).

  • id int32
  • name string
  • snapRecoveryPoints int32

    Number of snapshots to retain for this copy. Applicable only when isSnapCopy is true.

  • archivingRules object

    These rules are enforced only when archiving is set to true

  • startCleaningIfLessThan int32

    Default value: 50

    When free disk space falls below specified amount (in percentage), start cleaning up the disk

  • stopCleaningIfupto int32

    Default value: 80

    When free disk space more than specified amount (in percentage), stop cleaning up the disk

  • fileAccessTimeOlderThan int32

    Default value: 90

    To archive files based on the last accessed date of each file within the folder, specify the number of days

  • fileModifiedTimeOlderThan int32

    Default value: 90

    To archive files based on the last modified date of each file within the folder, specify the number of days

  • fileCreatedTimeOlderThan int32

    To archive files based on the time the files were created within the folder, specify the number of days

  • fileSizeGreaterThan int32

    Default value: 1024

    To archive files based on the size of the file, specify the minimum file size in KB. All files whose size ranges between the minimum and maximum values are archived.

  • maximumFileSize int32

    To archive files based on the size of the file, specify the maximum file size in KB. All files whose size ranges between the minimum and maximum values are archived.

  • archiveReadOnlyFiles boolean

    Default value: false

    To archive files based on the Read-Only attribute, set to TRUE

  • afterArchiving

    Possible 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

  • backupInRegion boolean

    Default value: false

    Dynamically provision backup storage based on workload region at backup time.

  • storageCategory object required

    Storage category configuration (BYOS or Bundled)

  • type PlanStorageCategoryType required

    Possible values: [BYOS_STORAGE, BUNDLED_STORAGE]

    Default value: BYOS_STORAGE

    Category type of plan storage

  • bundledStorageProperties object

    Properties for bundled storage configuration

  • workload object

    Workload entity to determine the plan type

  • id int32
  • name string
  • workloadLocation WorkloadLocation

    Possible values: [NONE, ONPREM, AWS, Azure, ALL, Google, OCI, STACKIT]

    Workload location for the plan

  • mediaAgents object[]

    List of media agents to use for bundled storage

  • id int32
  • name string
Responses

Created


Schema
  • plan object

    Created plan with id and name

  • id int32
  • name string
  • error object
  • errorMessage string
  • errorCode int32
Loading...