Manually Backing Up a Volume
Create a manual backup for a volume in the Block Volume service.
Volume backups are point-in-time snapshots of volume data. For more information, see Block Volume Backups. You can create a manual backup for a volume by using the steps in this topic. To create backups based on a defined schedule and retention policy, see Policy-Based Backups (Backup Policies).
Manual backups don't expire, they're maintained until you delete them.
For information to help you decide whether to create a backup or a clone of a boot volume, see Differences Between Block Volume Backups and Clones. For more information about backups, see Block Volume Backups and Restoring a Backup to a New Volume.
The size of a volume backup size might be larger than the current volume usage. See Volume Backup Size.
Required IAM Policy
To use Oracle Cloud Infrastructure, an administrator must be a member of a group granted security access in a policy by a tenancy administrator. This access is required whether you're using the Console or the REST API with an SDK, CLI, or other tool. If you get a message that you don't have permission or are unauthorized, verify with the tenancy administrator what type of access you have and which compartment your access works in.
When users create a backup from a volume or restore a volume from a backup, the volume and backup don't have to be in the same compartment . However, users must have access to both compartments.
The backup is complete when the State column value changes to Available in the Block Volume Backups list page. Use the
oci bv backup create
command and specify the--volume-id
parameter to create a block volume backup:oci bv backup create --volume-id <volume_OCID> --display-name <Name> --type <FULL|INCREMENTAL>
For example:
oci bv backup create --volume-id ocid1.volume.oc1..<unique_ID> --display-name "backup display name" --type FULL
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the
CreateVolumeBackup
operation and specify thevolumeId
attribute for theCreateVolumeBackupDetails
resource to create a block volume backup.For information about using the API and signing requests, see REST API documentation and Security Credentials. For information about SDKs, see SDKs and the CLI.