Adding a Schedule to a User-defined Backup Policy

Add a schedule to a user-defined (custom) backup policy in Block Volume.

Important

Indefinite retention is not supported for backups created through backup policies.
Note

To use backup retention features, you must configure the correct IAM policies. See Required IAM Policies for Backup Retention Features.
    1. On the Backup Policies list page, select the backup policy that you want. If you need help finding the list page or the backup policies, see Listing Backup Policies.
    2. On the details page, select Schedules and then select Add schedule.

    Add Schedule

    On the Add schedule page, enter the following information.

    • Schedule Type: Select the backup frequency and then select values for associated options, such as hour of the day, day of the week, day of the month, and month of the year.
    • Backup type: Select Full or Incremental.
    • Timezone: Select UTC or Regional Data Center Time.

    Data Retention

    Select the time period the backup is retained before automatic deletion. The retention period cannot be shortened if the retention lock is enabled.

    Retention Period

    • Retention time amount: The amount of time that the backup is kept.
    • Retention time unit: Select the time unit for the retention period: DAYS or YEARS.
    • Retention lock: When enabled, prevents the backup from being deleted until the retention period is reached.
      Warning

      Once the retention lock is enabled, the retention period cannot be reduced or removed.
    Tip

    Delete prevention only prevents deletion of backups that have not expired. Expired backups continue to get deleted automatically.

    Delete Prevention

    Controls whether the backup can be deleted based on its retention and delete prevention settings.

    Delete prevention: There are two options:
    • Retention period disabled: Prevents any user from deleting the backup, until Delete prevention is enabled.
    • Retention period enabled: Prevents deletion of the backup until the retention period is reached or Delete prevention is disabled.

    Add Schedule

    Select Add schedule. The schedule is added to the backup policy.

  • Use the oci bv volume-backup-policy create command and specify the --schedules parameter to add a schedule to a user-defined backup policy:

    oci bv volume-backup-policy create --schedules

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • Run the CreateVolumeBackupPolicyDetails operation and specify the schedules attribute in the CreateVolumeBackupPolicyDetails resource to add a schedule to a tenancy's volume backup policy.