Clone an Autonomous Database Instance

Shows you the steps to clone an Autonomous Database from the Oracle Cloud Infrastructure Console.

Perform the following prerequisite steps as necessary:

  • Open the Oracle Cloud Infrastructure Console by clicking the navigation icon next to Oracle Cloud.

  • From the Oracle Cloud Infrastructure left navigation menu click Oracle Database and then, depending on your workload click one of: Autonomous Data Warehouse, Autonomous JSON Database, or Autonomous Transaction Processing.
  • Choose your region. See Switching Regions for information on switching regions and working in multiple regions.

  • Choose your Compartment. See Compartments for information on using and managing compartments.

  • Select an Autonomous Database instance from the list in your compartment.

To clone the Autonomous Database instance:

  1. On the Autonomous Database Details page, from the More actions drop-down list, select Create clone.
  2. On the Create Autonomous Database clone page, choose the clone type from the choices:
    • Full clone: creates a new database with the source database’s data and metadata.
    • Refreshable clone: creates a read-only full clone that can be easily refreshed with the source database’s data.

      See Use Refreshable Clones with Autonomous Database for more information.

    • Metadata clone: creates a new database with the source database’s metadata without the data.
  3. In the Clone source area, select one of:
    • Clone from database instance: This creates a clone from a running database.

    • Clone from a backup: This creates a database clone from a selected backup, from a point-in-time timestamp, or from the latest backup data that is available. See Clone an Autonomous Database from a Backup for more information.

  4. Provide basic information for the Autonomous Database clone.
    • Choose your preferred region: from the list, select the region where you want to create the clone.

      Note: the list only shows the regions that you are subscribed to.

      For the clone type Clone from database instance as the clone source, when you choose another region other than the current region for your clone target, using either the Oracle Cloud Infrastructure CLI or Terraform you can only perform such a cross-region clone from the remote region. That is, call the create clone API from the remote region to which you want to clone, with the source database OCID as that of the source that you want to clone from.

    • Create in Compartment: See Compartments for information on using and managing compartments.

      Note: the list only shows the compartments that you are subscribed to.

    • Display name: Specify a user-friendly description or other information that helps you easily identify the resource.

      You can use the name provided, of the form: Clone-of-DBname or change this to the name you want to use to identify the database. The supplied DBname is the name of the source database that you are cloning.

    • Database name: Specify the database name; it must consist of letters and numbers only. The maximum length is 30 characters. The same database name cannot be used for multiple Autonomous Databases in the same tenancy in the same region.

      The default database name is a generated 16-character string.

  5. Select a value for Choose a workload type from the following options.
    • Data Warehouse: This creates an Autonomous Data Warehouse type clone.

    • Transaction Processing: This creates an Autonomous Transaction Processing type clone.

    • JSON: This creates an Autonomous JSON Database type clone.

    • APEX: This creates an APEX type clone.

    Note:

    The unavailable cloning options are grayed out. See Clone Autonomous Database to Change Workload Type for more information on cross workload cloning.
  6. Configure the database (ECPU compute model)
    • Choose database version: Select the database version. The available database version is 19c.

    • ECPU count: Specify the number of CPUs for your database. The minimum value for the number of ECPUs is 2.

      Your license type determines the ECPU count maximum. For example, if your license type is Bring your own license (BYOL) with Oracle Database Standard Edition (SE), the ECPU count maximum is 32.

    • Compute auto scaling: By default compute auto scaling is enabled to allow the system to automatically use up to three times more CPU and IO resources to meet workload demand. If you do not want to use compute auto scaling then deselect this option.

      See Use Auto Scaling for more information.

    • Storage: Specify the storage you wish to make available to your database. Depending on your workload type you have these options:

      • Data Warehouse: Specify your storage in Terabytes (TB).

        For a Full Clone, the minimum storage that you can specify is the source database's actual used space rounded to the next TB.

      • Transaction Processing: Specify your storage in Gigabytes (GB) or Terabytes (TB). Enter the size in the Storage field. Select GB or TB for the Storage unit size.

        For a Full Clone, the minimum storage that you can specify is the source database's actual used space rounded to the next GB.

      By default, the IO capacity of your database depends on the number of ECPUs you provision. When you provision 384 TB of storage, your database is entitled to the full IO capacity of the Exadata infrastructure, independent of the number of ECPUs you provision.

      If you want to provision more than 384 TB of storage, file a Service Request at Oracle Cloud Support.

    • Storage auto scaling: By default storage auto scaling is disabled. Select if you want to enable storage auto scaling to allow the system to automatically expand to use up to three times more storage.

      See Use Auto Scaling for more information.

    • Show advanced options: Click to show the compute model options or if you want to create or join an elastic pool:

  7. Backup retention

    By default the automatic backup retention is 60 days.

    Automatic backup retention period in days: You have the option to select an automatic backup retention period, in a range from 1 to 60 days. You can restore and recover your database to any point-in-time in this retention period.

    This option is not available with the OCPU compute model.

    See About Backup and Recovery on Autonomous Database for more information.

  8. Create administrator credentials.
    • Username This is a read-only field.

    • Password Set the password for the Autonomous Database Admin user. The password must meet the strong password complexity criteria based on Oracle Cloud security standards. For more information on the password complexity rules see Create Users on Autonomous Database - Connecting with a Client Tool.
    • Confirm password Specify a value to confirm the password.
  9. Choose network access

    Note:

    After you clone your Autonomous Database you can change the network access option you select for the cloned instance.
    • Secure access from everywhere

      By default all secure connections are allowed from everywhere.

    • Secure access from allowed IPs and VCNs only

      This option restricts connections to the database according to the access control rules (ACLs) you specify. To add multiple ACLs for the Autonomous Database, click Add access control rule.

      See Configure Access Control Lists When You Provision or Clone an Instance for more information.

    • Private endpoint access only

      This option assigns a private endpoint, private IP, and hostname to your database. Specifying this option allows traffic only from the VCN you specify; access to the database from all public IPs or VCNs is blocked. This allows you to define security rules, ingress/egress, at the Network Security Group (NSG) level and to control traffic to your Autonomous Database.

      See Configure Private Endpoints When You Provision or Clone an Instance for more information.

  10. Choose license and Oracle Database edition
    • License included

      The default license type is license included. With this option, when you create a database by cloning you subscribe to new database software licenses and the database cloud service.

    • Switch to Bring your own license (BYOL)

      Select this to show more license options. Select this if your organization already owns Oracle Database software licenses and you want to bring your existing database software licenses to the database cloud service. See Cloud pricing for information on Bring your own license (BYOL) and other licensing options for Oracle Cloud Infrastructure cloud service pricing.

      When you select to switch to Bring your own license (BYOL), you also select an Oracle Database edition. The Oracle Database edition you select is based on the license you bring to Autonomous Database and changes the maximum value that you can select for the ECPU count. The choices are:

      • Oracle Database Enterprise Edition (EE): For this license type the maximum allowed value for ECPU count is 512, however you may contact your Oracle account team to request more ECPUs. With compute auto scaling enabled you can use up to ECPU count x 3 ECPUs. For example, if you set the ECPU count to 512, you can use up to 1,536 ECPUs.

      • Oracle Database Standard Edition (SE): For this license type the maximum allowed value for ECPU count is 32. With compute auto scaling enabled you can use up to ECPU count x 3 ECPUs. This license restricts the number of ECPUs you can use to a maximum of 32 ECPUs, with or without compute auto scaling enabled.

        See Use Auto Scaling for more information.

  11. (Optional) Provide contacts for operational notifications and announcements

    Click Add contact and in the Contact email field, enter a valid email address. If the database you are cloning has a customer contact list, the list is copied. To enter multiple Contact email addresses, repeat the process to add up to 10 customer contact emails.

    See View and Manage Customer Contacts for Operational Issues and Announcements for more information.

  12. (Optional) Click Show advanced options to select advanced options.
    • Encryption key

      Encrypt using an Oracle-managed key: By default Autonomous Database uses Oracle-managed encryption keys. Using Oracle-managed keys, Autonomous Database creates and manages the encryption keys that protect your data and Oracle handles rotation of the TDE master key.

      Encrypt using a customer-managed key in this tenancy: If you this option, a master encryption key from a Oracle Cloud Infrastructure Vault in the same tenancy is used to generate the TDE master key on Autonomous Database.

      Encrypt using a customer-managed key located in a remote tenancy: If you this option, a master encryption key in the Oracle Cloud Infrastructure Vault located in a remote tenancy is used to generate the TDE master key on Autonomous Database.

      See Use Customer-Managed Encryption Keys on Autonomous Database for more information.

    • Maintenance

      Patch level By default the patch level is the patch level of the source database. Select Early to configure the instance with the early patch level. When cloning a source database with Early patch level, you can only choose the Early patch level for your clone.

      See Set the Patch Level for more information.

    • Management

      Shows the character set and national character set for your database.

      See Choose a Character Set for Autonomous Database for more information.

    • Tools

      If you want to view or customize the tools configuration, select the tools tab.

      See Configure Autonomous Database Built-in Tools when you Provision or Clone an Instance for more information.

    • Tags

      If you want to use Tags, enter the Tag key and Tag value. Tagging is a metadata system that allows you to organize and track resources within your tenancy. Tags are composed of keys and values which can be attached to resources.

      See Tagging Overview for more information.

  13. Click Create Autonomous Database clone.

On the Oracle Cloud Infrastructure console the State shows Provisioning... until the new database is available.

If you created a cross-region clone, a new tab shows the newly provisioned clone's Oracle Cloud Infrastructure Console and the region shown is the region you selected when you created the clone.

See Notes for Cloning Autonomous Database for additional information on cloning.

See Cloning an Autonomous Database for information on using the API.