Skip to main content
SnapCenter Software 5.0

Clone Oracle database backups using UNIX commands

Contributors netapp-soumikd netapp-asubhas

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

About this task

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

The information regarding the parameters that can be used with the command and their descriptions can be obtained by running Get-Help command_name. Alternatively, you can also refer to the SnapCenter Software Command Reference Guide.

Steps

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

    Note If secondary data protection policy is unified mirror-vault, then specify only -IncludeSecondaryDetails. You do not have to specify -SecondaryStorageType.

    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.