Skip to main content

autonomous_container_database_backups

Creates, updates, deletes, gets or lists an autonomous_container_database_backups resource.

Overview​

Nameautonomous_container_database_backups
TypeResource
Idoci.database.autonomous_container_database_backups

Fields​

The following fields are returned by SELECT queries:

A list of all of the Autonomous Container Database Backups in the specified compartment.

NameDatatypeDescription
idstringThe [OCID](/Content/General/Concepts/identifiers.htm) of the Autonomous AI Database backup.
acdDisplayNamestringThe user-friendly name for the Autonomous Container Database when the Backup was initiated. This name need not be unique. This field captures the name at the time of backup creation, accounting for possible later updates to the display name.
autonomousContainerDatabaseIdstringThe [OCID](/Content/General/Concepts/identifiers.htm) of the Autonomous Container Database.
autonomousDatabasesarrayList of Autonomous AI Databases that is part of this Autonomous Container Database Backup
compartmentIdstringThe [OCID](/Content/General/Concepts/identifiers.htm) of the compartment.
definedTagsobjectDefined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](/Content/General/Concepts/resourcetags.htm).
displayNamestringA user-friendly name for the backup. This name need not be unique.
freeformTagsobjectFree-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](/Content/General/Concepts/resourcetags.htm). Example: {"Department": "Finance"}
infrastructureTypestringThe infrastructure type this resource belongs to. (CLOUD, CLOUD_AT_CUSTOMER)
isAutomaticbooleanIndicates whether the backup is user-initiated or automatic.
isRemoteBackupbooleanWhether backup is for remote-region or local region
lifecycleDetailsstringAdditional information about the current lifecycle state.
lifecycleStatestringThe current state of the backup. (CREATING, ACTIVE, DELETING, DELETED, FAILED)
retentionPeriodInDaysintegerRetention period, in days, for long-term backups
systemTagsobjectSystem tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](/Content/General/Concepts/resourcetags.htm).
timeEndedstring (date-time)The date and time the backup completed.
timeStartedstring (date-time)The date and time the backup started.
typestringThe type of backup. (INCREMENTAL, FULL)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectregioncompartmentId, autonomousContainerDatabaseId, isRemote, infrastructureType, lifecycleState, sortBy, opc-request-id, limit, page, sortOrder, displayNameGets a list of Autonomous Container Database backups by using either the 'autonomousDatabaseId' or 'compartmentId' as your query parameter.<br />

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringOCI region identifier (e.g. us-ashburn-1, ap-sydney-1); resolves from OCI_REGION when not supplied in the query. (default: us-ashburn-1, x-stackQL-envVar: OCI_REGION)
autonomousContainerDatabaseIdstringThe Autonomous Container Database [OCID](/Content/General/Concepts/identifiers.htm).
compartmentIdstringThe compartment [OCID](/Content/General/Concepts/identifiers.htm).
displayNamestringA filter to return only resources that match the entire display name given. The match is not case sensitive.
infrastructureTypestringA filter to return only resources that match the given Infrastructure Type.
isRemotebooleancall for all remote backups
lifecycleStatestringA filter to return only resources that match the given lifecycle state exactly.
limitintegerThe maximum number of items to return per page.
opc-request-idstringUnique identifier for the request.
pagestringThe pagination token to continue listing from.
sortBystringThe field to sort by. You can provide one sort order (sortOrder). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive. Note: If you do not include the availability domain filter, the resources are grouped by availability domain, then sorted.
sortOrderstringThe sort order to use, either ascending (ASC) or descending (DESC).

SELECT examples​

Gets a list of Autonomous Container Database backups by using either the 'autonomousDatabaseId' or 'compartmentId' as your query parameter.<br />

SELECT
id,
acdDisplayName,
autonomousContainerDatabaseId,
autonomousDatabases,
compartmentId,
definedTags,
displayName,
freeformTags,
infrastructureType,
isAutomatic,
isRemoteBackup,
lifecycleDetails,
lifecycleState,
retentionPeriodInDays,
systemTags,
timeEnded,
timeStarted,
type
FROM oci.database.autonomous_container_database_backups
WHERE region = '{{ region }}' -- required
AND compartmentId = '{{ compartmentId }}'
AND autonomousContainerDatabaseId = '{{ autonomousContainerDatabaseId }}'
AND isRemote = '{{ isRemote }}'
AND infrastructureType = '{{ infrastructureType }}'
AND lifecycleState = '{{ lifecycleState }}'
AND sortBy = '{{ sortBy }}'
AND opc-request-id = '{{ opc-request-id }}'
AND limit = '{{ limit }}'
AND page = '{{ page }}'
AND sortOrder = '{{ sortOrder }}'
AND displayName = '{{ displayName }}'
;