Skip to main content

backup_destination

Creates, updates, deletes, gets or lists a backup_destination resource.

Overview​

Namebackup_destination
TypeResource
Idoci.database.backup_destination

Fields​

The following fields are returned by SELECT queries:

Backup destination details, including the list of databases using the backup destination.

NameDatatypeDescription
idstringThe [OCID](/Content/General/Concepts/identifiers.htm) of the backup destination.
associatedDatabasesarrayList of databases associated with the backup destination.
associatedLongTermBackupCountintegerIndicates the number of long term backups of Autonomous AI Databases associated with this backup destination.
associatedLongTermBackupsarrayList of long term backups of Autonomous AI Databases associated with this backup destination.The maximum associated number of long term backup listed here would be 1024.
compartmentIdstringThe [OCID](/Content/General/Concepts/identifiers.htm) of the compartment.
connectionStringstringFor a RECOVERY_APPLIANCE backup destination, the connection string for connecting to the Recovery Appliance.
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).
displayNamestringThe user-provided name of the backup destination.
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"}
lifecycleDetailsstringA descriptive text associated with the lifecycleState. Typically contains additional displayable text
lifecycleStatestringThe current lifecycle state of the backup destination. (ACTIVE, FAILED, DELETED)
localMountPointPathstringThe local directory path on each VM cluster node where the NFS server location is mounted. The local directory path and the NFS server location must each be the same across all of the VM cluster nodes. Ensure that the NFS mount is maintained continuously on all of the VM cluster nodes.
nfsMountTypestringNFS Mount type for backup destination. (SELF_MOUNT, AUTOMATED_MOUNT)
nfsServerarrayHost names or IP addresses for NFS Auto mount.
nfsServerExportstringSpecifies the directory on which to mount the file system
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).
timeAtWhichStorageDetailsAreUpdatedstring (date-time)The time when the total storage size and the utilized storage size of the backup destination are updated.
timeCreatedstring (date-time)The date and time the backup destination was created.
totalStorageSizeInGBsintegerThe total storage size of the backup destination in GBs, rounded to the nearest integer.
typestringType of the backup destination. (NFS, RECOVERY_APPLIANCE)
utilizedStorageSizeInGBsintegerThe total amount of space utilized on the backup destination (in GBs), rounded to the nearest integer.
vpcUsersarrayFor a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) users that are used to access the Recovery Appliance.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectcompartmentId, regionlimit, page, opc-request-id, typeGets a list of backup destinations in the specified compartment.<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
compartmentIdstringThe compartment [OCID](/Content/General/Concepts/identifiers.htm).
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)
limitintegerThe maximum number of items to return per page.
opc-request-idstringUnique identifier for the request.
pagestringThe pagination token to continue listing from.
typestringA filter to return only resources that match the given type of the Backup Destination.

SELECT examples​

Gets a list of backup destinations in the specified compartment.<br />

SELECT
id,
associatedDatabases,
associatedLongTermBackupCount,
associatedLongTermBackups,
compartmentId,
connectionString,
definedTags,
displayName,
freeformTags,
lifecycleDetails,
lifecycleState,
localMountPointPath,
nfsMountType,
nfsServer,
nfsServerExport,
systemTags,
timeAtWhichStorageDetailsAreUpdated,
timeCreated,
totalStorageSizeInGBs,
type,
utilizedStorageSizeInGBs,
vpcUsers
FROM oci.database.backup_destination
WHERE compartmentId = '{{ compartmentId }}' -- required
AND region = '{{ region }}' -- required
AND limit = '{{ limit }}'
AND page = '{{ page }}'
AND opc-request-id = '{{ opc-request-id }}'
AND type = '{{ type }}'
;