oci_database_backup_destination

This resource provides the Backup Destination resource in Oracle Cloud Infrastructure Database service.

Creates a backup destination in an Exadata Cloud@Customer system.

Example Usage

resource "oci_database_backup_destination" "test_backup_destination" {
	#Required
	compartment_id = var.compartment_id
	display_name = var.backup_destination_display_name
	type = var.backup_destination_type

	#Optional
	connection_string = var.backup_destination_connection_string
	defined_tags = var.backup_destination_defined_tags
	freeform_tags = {"Department"= "Finance"}
	local_mount_point_path = var.backup_destination_local_mount_point_path
	mount_type_details {
		#Required
		mount_type = var.backup_destination_mount_type_details_mount_type

		#Optional
		local_mount_point_path = var.backup_destination_mount_type_details_local_mount_point_path
		nfs_server = var.backup_destination_mount_type_details_nfs_server
		nfs_server_export = var.backup_destination_mount_type_details_nfs_server_export
	}
	vpc_users = var.backup_destination_vpc_users
}

Argument Reference

The following arguments are supported:

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

Attributes Reference

The following attributes are exported:

Timeouts

The timeouts block allows you to specify timeouts for certain operations: * create - (Defaults to 20 minutes), when creating the Backup Destination * update - (Defaults to 20 minutes), when updating the Backup Destination * delete - (Defaults to 20 minutes), when destroying the Backup Destination

Import

BackupDestinations can be imported using the id, e.g.

$ terraform import oci_database_backup_destination.test_backup_destination "id"