Restoring a Boot Volume
You can use a boot volume backup to create an instance or you can attach it to another instance as a data volume. However before you can use a boot volume backup, you need to restore it to a boot volume.
You can restore a boot volume from any of your incremental or full boot volume backups. Both backup types enable you to restore the full boot volume contents to the point-in-time snapshot of the boot volume when the backup was taken. You don't need to keep the initial full backup or subsequent incremental backups in the backup chain and restore them in sequence, you only need to keep the backups taken for the times you care about. See Boot Volume Backup Types for information about full and incremental backup types.
Avoid entering confidential information when assigning descriptions, tags, or friendly names to your cloud resources through the Oracle Cloud Infrastructure Console, API, or CLI.
Required IAM Policy
To use Oracle Cloud Infrastructure, you must be granted security access in a policy by an 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 your administrator what type of access you have and which compartment you should work in.
Using the Console
- Open the navigation menu. Under Core Infrastructure, go to Compute and click Boot Volume Backups.
Choose your Compartment.
In the list of boot volume backups, click the Actions icon (three dots) for the boot volume backup you want to restore and then click Create Boot Volume.
Specify a name for the boot volume, select the availability domain to use, and optionally choose a backup policy for scheduled backups. See Policy-Based Backups for more information about scheduled backups and volume backup policies.
You can restore a boot volume backup to a larger volume size. To do this, check Custom Block Volume Size (GB) and then specify the new size. You can only increase the size of the volume, you cannot decrease the size. If you restore the block volume backup to a larger size volume, you need to extend the volume's partition, see Extending the Partition for a Boot Volume for more information.
Click Create Boot Volume.
The boot volume will be ready to use once its icon no longer lists it as PROVISIONING in the details page for the boot volume.
Using the API
For information about using the API and signing requests, see REST APIs and Security Credentials. For information about SDKs, see Software Development Kits and Command Line Interface.
After you have restored the boot volume backup, you can:
Use the boot volume to create an instance, for more information, see Creating an Instance.
Attach the boot volume to an instance as a data volume, for more information, see Attaching a Volume.
Making a boot volume backup while an instance is running creates a crash-consistent backup, meaning the data is in the identical state it was in at the time the backup was made. This is the same state it would be in the case of a loss of power or hard crash. In most cases you can use the restored boot volume to create an instance, however to ensure a bootable image, you should create a custom image from your instance. For information about creating custom images, see Managing Custom Images.