oci_database_autonomous_database_backup

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

Creates a new Autonomous Database backup for the specified database based on the provided request parameters.

Example Usage

resource "oci_database_autonomous_database_backup" "test_autonomous_database_backup" {
	#Required
	autonomous_database_id = oci_database_autonomous_database.test_autonomous_database.id

	#Optional
	display_name = var.autonomous_database_backup_display_name
	is_long_term_backup = var.autonomous_database_backup_is_long_term_backup
	retention_period_in_days = var.autonomous_database_backup_retention_period_in_days
}

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 Autonomous Database Backup * update - (Defaults to 20 minutes), when updating the Autonomous Database Backup * delete - (Defaults to 20 minutes), when destroying the Autonomous Database Backup

Import

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

$ terraform import oci_database_autonomous_database_backup.test_autonomous_database_backup "id"