The clone workflow includes planning, performing the clone operation, and monitoring the operation.
Before you begin
- You must have established the connection session with the SnapCenter Server.
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.1 Linux Command Reference Guide
Steps
- 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.
- 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.