Clone an Oracle database
The following procedure describes how to clone an Oracle database. The user must have an RBAC role that gives them permissions to perform cloning operations.
See Create a custom RBAC role for Oracle cloning.
To clone an Oracle database
- On the left, click Workloads > Oracle.
- Click the Databases tab.
- Click on the name of the database you want to clone.
- Select the Recovery points tab.
- Locate the recovery point from which you want to create the clone.
- Click Actions > Clone database.
- In Recovery target, enter a host name. Or, click Select host to select a host.
- (Oracle 21 and later) The path for the Oracle base config is required. Otherwise a clone to an Oracle 21 or later database fails.
- Enter all other required information.
- Click Next.
- In Credentials, specify the applicable credential options.
Linux or UNIX: You can select from existing credentials or use OS credentials.
Windows: You can select an existing credential or use OS credentials. If the target Oracle database requires them, also enter the Oracle Home User credentials.
After all required information is entered, click Next.
- In Recovery options, enter the number of channels and the SCN value and then click Next.
- On the Review page, NetBackup runs a pre-recovery check for any errors. You should correct any errors that are highlighted.
During the pre-recovery check, NetBackup looks for:
Credentials
Database name
Oracle base config path
Image access
Existence of Oracle home
SCN Value
- Click Start recovery to begin the cloning operation.
You can start the cloning operation without fixing any of the errors that are shown on the Review page.
- (Optional) You can monitor the progress of the cloning operation in the Activity monitor.
Note the following when you specify the target directory for cloning:
If using an ASM path for any target, the syntax can be as follows:
+ASMDG/pathIf the source backup used OMF, selecting an ASM directory for control files or redo files requires a path after the disk group.
If the source backup used OMF and from ASM, selecting an ASM directory for any new location can only contain the disk group. Oracle does not honor any paths after the disk group.
When you clone to a specified target directory, the best effort is made to create the target directories along with the source subdirectories.