Table: oci_core_boot_volume_backup - Query OCI Core Boot Volume Backups using SQL
A Boot Volume Backup in OCI Core service is a point-in-time, crash-consistent snapshot of a boot volume. Boot volume backups are automatically replicated across multiple availability domains for redundancy. They can be used to create new boot volumes or restore a boot volume to a specific point in time.
Table Usage Guide
The oci_core_boot_volume_backup
table provides insights into Boot Volume Backups within OCI Core service. As a Cloud Architect or Database Administrator, explore backup-specific details through this table, including backup state, type, and associated metadata. Utilize it to uncover information about backups, such as those in available or faulty state, the size of each backup, and the time of creation or deletion for each backup.
Examples
Basic info
Explore the basic details of your boot volume backups in Oracle Cloud Infrastructure. This query can be useful to understand the state and type of each backup, when it was created, and its source, providing a comprehensive overview for effective management and oversight.
select id, display_name, boot_volume_id, source_type, time_created, type, lifecycle_state as statefrom oci_core_boot_volume_backup;
select id, display_name, boot_volume_id, source_type, time_created, type, lifecycle_state as statefrom oci_core_boot_volume_backup;
List manual boot volume backups
Uncover the details of manual boot volume backups. This query helps you in identifying those backups that were manually created, providing insights into the time and state of their creation.
select id, display_name, source_type, time_created, type, lifecycle_state as statefrom oci_core_boot_volume_backupwhere source_type = 'MANUAL';
select id, display_name, source_type, time_created, type, lifecycle_state as statefrom oci_core_boot_volume_backupwhere source_type = 'MANUAL';
Query examples
Schema for oci_core_boot_volume_backup
Name | Type | Operators | Description |
---|---|---|---|
_ctx | jsonb | Steampipe context in JSON form. | |
boot_volume_id | text | = | The OCID of the boot volume. |
compartment_id | text | = | The OCID of the compartment in Tenant in which the resource is located. |
defined_tags | jsonb | Defined tags for resource. Defined tags are set up in your tenancy by an administrator. Only users granted permission to work with the defined tags can apply them to resources. | |
display_name | text | = | A user-friendly name for the boot volume backup. |
expiration_time | timestamp with time zone | The date and time the volume backup will expire and be automatically deleted. | |
freeform_tags | jsonb | Free-form tags for resource. This tags can be applied by any user with permissions on the resource. | |
id | text | = | The OCID of the boot volume backup. |
image_id | text | The image OCID used to create the boot volume the backup is taken from. | |
kms_key_id | text | The OCID of the Key Management master encryption assigned to the boot volume backup. | |
lifecycle_state | text | = | The current state of a boot volume backup. |
region | text | The OCI region in which the resource is located. | |
size_in_gbs | bigint | The size of the boot volume, in GBs. | |
source_boot_volume_backup_id | text | = | The OCID of the source boot volume backup. |
source_type | text | Specifies whether the backup was created manually, or via scheduled backup policy. | |
sp_connection_name | text | =, !=, ~~, ~~*, !~~, !~~* | Steampipe connection name. |
sp_ctx | jsonb | Steampipe context in JSON form. | |
system_tags | jsonb | System tags for this resource. | |
tags | jsonb | A map of tags for the resource. | |
tenant_id | text | =, !=, ~~, ~~*, !~~, !~~* | The OCID of the Tenant in which the resource is located. |
tenant_name | text | The name of the Tenant in which the resource is located. | |
time_created | timestamp with time zone | The date and time the boot volume backup was created. | |
time_request_received | timestamp with time zone | The date and time the request to create the boot volume backup was received. | |
title | text | Title of the resource. | |
type | text | The type of a volume backup. | |
unique_size_in_gbs | bigint | The size used by the backup, in GBs. |
Export
This table is available as a standalone Exporter CLI. Steampipe exporters are stand-alone binaries that allow you to extract data using Steampipe plugins without a database.
You can download the tarball for your platform from the Releases page, but it is simplest to install them with the steampipe_export_installer.sh
script:
/bin/sh -c "$(curl -fsSL https://steampipe.io/install/export.sh)" -- oci
You can pass the configuration to the command with the --config
argument:
steampipe_export_oci --config '<your_config>' oci_core_boot_volume_backup