Cloning Oracle database backups using Linux commands

The clone workflow includes planning, performing the clone operation, and monitoring the operation.

Before you begin

About this task

You must execute the following commands to create the Oracle database clone specification file and initiate the clone operation.

For detailed information on Linux commands, use the SnapCenter command help or see the command reference information.

SnapCenter Software 4.0 Linux Command Reference Guide

Steps

  1. Create an Oracle database clone specification from a specified backup: New-SmOracleCloneSpecification

    This command automatically creates an Oracle database clone specification file for the specified source database and its backup. You must also provide a clone database SID so that the specification file created has the automatically generated values for the clone database which you will be creating.

    Note: The clone specification file is created at /var/opt/snapcenter/sco/clone_specs.
  2. Initiate a clone operation from a clone resource group or an existing backup: New-SmClone

    This command initiates a clone operation. You must also provide an Oracle clone specification file path for the clone operation. You can also specify the recovery options, host where the clone operation to be performed, prescripts, postscripts, and other details.

    By default, the archive log destination file for the clone database is automatically populated at $ORACLE_HOME/CLONE_SIDs.