Creating a Volume Group Backup

Create automatic point-in-time-consistent backups of all the volumes in a volume group.

Note

To use backup retention features, you must configure the correct IAM policies. See Required IAM Policies for Backup Retention Features.
    • On the Volume Groups list page, find the volume group that you want to back up. If you need help finding the list page or the volume group, see Listing Volume Groups.
    • From the Actions menu (three dots), select Create volume group backup.

    1. Basic Information

    On the Create volume group backup page, enter the following information.

    • Volume Group Backup Name: Enter a name for the volume group backup.
    • Backup type: Select a full or incremental backup type.

    2. 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

    • No retention period (keep until deleted): No automatic deletion takes place. The backup is kept until it is deleted.
    • Set up retention period: Selecting this option enables more options.
      • Retention time amount: The length of time a backup is kept.
      • Retention time unit: The unit of time 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

    Users can create manual backups with an indefinite retention period.
    Tip

    Delete prevention only prevents deletion of backups that have not expired. Expired backups are deleted automatically.
    Important

    Users with the RETENTION_RULE_INDEFINITE_HOLD privilege may enable or disable indefinite hold on a backup.

    3. 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.

    4. Create Backup

    Select Create.

  • Use the oci bv volume-group-backup create command and specify the --volume-group-id parameter to create a volume group backup of the specified volume group:

    oci bv volume-group-backup create --volume-group-id <volume_group_ID>

    For example:

    oci bv volume-group-backup create --volume-group-id ocid1.volumegroup.oc1.phx.<unique_ID>

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

  • Run the CreateVolumeGroupBackup operation to create a volume group backup.