Data Source: oci_database_backups

This data source provides the list of Backups in Oracle Cloud Infrastructure Database service.

Gets a list of backups based on the databaseId or compartmentId specified. Either one of these query parameters must be provided.

Example Usage

data "oci_database_backups" "test_backups" {

  #Optional
  backup_destination_type = var.backup_backup_destination_type
  compartment_id = var.compartment_id
  database_id = oci_database_database.test_database.id
  shape_family = var.backup_shape_family
  state = var.backup_state
  time_expiry_scheduled_greater_than_or_equal_to = var.backup_time_expiry_scheduled_greater_than_or_equal_to
  time_expiry_scheduled_less_than = var.backup_time_expiry_scheduled_less_than
  type = var.backup_type
  version = var.backup_version
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Backup Reference

The following attributes are exported: