steampipe plugin install oci

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 state
from
oci_core_boot_volume_backup;
select
id,
display_name,
boot_volume_id,
source_type,
time_created,
type,
lifecycle_state as state
from
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 state
from
oci_core_boot_volume_backup
where
source_type = 'MANUAL';
select
id,
display_name,
source_type,
time_created,
type,
lifecycle_state as state
from
oci_core_boot_volume_backup
where
source_type = 'MANUAL';

Schema for oci_core_boot_volume_backup

NameTypeOperatorsDescription
_ctxjsonbSteampipe context in JSON form.
boot_volume_idtext=The OCID of the boot volume.
compartment_idtext=The OCID of the compartment in Tenant in which the resource is located.
defined_tagsjsonbDefined 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_nametext=A user-friendly name for the boot volume backup.
expiration_timetimestamp with time zoneThe date and time the volume backup will expire and be automatically deleted.
freeform_tagsjsonbFree-form tags for resource. This tags can be applied by any user with permissions on the resource.
idtext=The OCID of the boot volume backup.
image_idtextThe image OCID used to create the boot volume the backup is taken from.
kms_key_idtextThe OCID of the Key Management master encryption assigned to the boot volume backup.
lifecycle_statetext=The current state of a boot volume backup.
regiontextThe OCI region in which the resource is located.
size_in_gbsbigintThe size of the boot volume, in GBs.
source_boot_volume_backup_idtext=The OCID of the source boot volume backup.
source_typetextSpecifies whether the backup was created manually, or via scheduled backup policy.
sp_connection_nametext=, !=, ~~, ~~*, !~~, !~~*Steampipe connection name.
sp_ctxjsonbSteampipe context in JSON form.
system_tagsjsonbSystem tags for this resource.
tagsjsonbA map of tags for the resource.
tenant_idtext=, !=, ~~, ~~*, !~~, !~~*The OCID of the Tenant in which the resource is located.
tenant_nametextThe name of the Tenant in which the resource is located.
time_createdtimestamp with time zoneThe date and time the boot volume backup was created.
time_request_receivedtimestamp with time zoneThe date and time the request to create the boot volume backup was received.
titletextTitle of the resource.
typetextThe type of a volume backup.
unique_size_in_gbsbigintThe 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