Creating a Volume Group Backup
Create automatic point-in-time-consistent backups of all the volumes in a volume group.
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 , 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
Prevent deletion only prevents deletion of backups that have not expired. Expired backups are deleted automatically.Important
Users with theRETENTION_RULE_INDEFINITE_HOLDprivilege may enable or disable indefinite hold on a backup.3. Prevent Deletion
Controls whether the backup can be deleted based on its retention and Prevent deletion settings.
Prevent deletion: The following options are available:- No retention period: Enabling Prevent deletion prevents any user from deleting the backup.
- Configured retention period: Enabling Prevent deletion prevents deletion of the backup until the retention period is reached. The Prevent deletion option can be enabled or disabled.
- A configured retention period and Retention lock is enabled. Prevent deletion is disabled.
Important
When enabled, only users with theRETENTION_RULE_PREVENT_DELETIONprivilege may increase or decrease the backup retention period.4. Indefinite Hold
Keeps this backup until the hold is removed. Overrides Prevent deletion and data retention settings.
Indefinite hold: When enabled, keeps the backup indefinitely until the hold is removed.
Important
Users with theRETENTION_RULE_INDEFINITE_HOLDprivilege may enable or disable indefinite hold on a backup.5. Create Backup
Select Create.
Use the
oci bv volume-group-backup createcommand and specify the--volume-group-idparameter 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
CreateVolumeGroupBackupoperation to create a volume group backup.