NMDA Oracle: Steps to perform Cross System Restore of Oracle Database.
Summary: NMDA Oracle database backups restore is performed using script. NMC UI does not support Cross System database restore. NMC Recovery Wizard supports only Duplicate Database Restore. The steps below can be used to perform Cross System Restore. Here Dell Technologies assume that the backups are from a RAC configuration and the Target host is a Standalone Oracle host. Note: Cross System Restores can be done in multiple ways depending on Customers environment and Restore requirement. The steps are generic and may be modified as per Customers requirements. ...
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Instructions
Restore and Recovery of Oracle Database require the following Steps.
- Check the Pre-requisites.
- Configure Source and Target Clients on NetWorker.
- Identify the PIT Control file for restore.
- The parameters in the PFILE/SPFILE must be set as per the Target host.
- PFILE/SPFILE can also be restored from the backups if the Backup Piece Name is available.
Check the Pre-requisites.
- Confirm the Target System is on the same Oracle Version as the Source.
- The Operating System and File System should be the same on both Source and Target host.
- Check Oracle Documentation for Supported versions.
- Create the database on the Target Host.
Configure Source and Target Clients on NetWorker.
- Install NetWorker and NMDA on the Target System (Same version as the NetWorker Server)
- Configure a client instance for the Target System. (Not necessary to schedule any backups)
- Ensure the user@target_host (for example, oracle@target_host) is updated on the Remote Access field of the Source Client.
- Ensure the user@target_host (for example, oracle@target_host) is updated on the Database Administrator in NMC (Server -> User and Group--> Database Administrator)
Identify the PIT Control file for restore.
- Use the MMINFO command to identify the Control File Closest to the PIT restore time. In the below case the Restore is for 21st Feb 2025 Data.
Can be ran from the Target Client.
-s ProdServer is the NetWorker Server.
bash# mminfo -avot -s ProdServer -q client=prodlabdb-01 -r client,sscreate,name,copies,volume
prodlabdb-01 02/18/2025 RMAN:i13i4orv_1_1 1 database.01
prodlabdb-01 02/21/2025 RMAN:ja3icm00_1_1 1 database.01
prodlabdb-01 02/21/2025 RMAN:jc3icm7v_1_1 1 database.01
prodlabdb-01 02/21/2025 RMAN:jd3icmhs_1_1 1 database.01
prodlabdb-01 02/21/2025 RMAN:je3icmhs_1_1 1 database.01
prodlabdb-01 02/21/2025 RMAN:jg3icmhs_1_1 1 database.01
prodlabdb-01 02/21/2025 RMAN:jf3icmhs_1_1 1 database.01
prodlabdb-01 02/22/2025 RMAN:jh3icurd_1_1 1 database.01
prodlabdb-01 02/22/2025 RMAN:ji3icurh_1_1 1 database.01
prodlabdb-01 02/22/2025 RMAN:jj3id0fg_1_1 1 database.01
prodlabdb-01 02/22/2025 RMAN:jk3id0fg_1_1 1 database.01
prodlabdb-01 02/22/2025 RMAN:controlfile_jl3id0fj_1_1 1 database.01
Restore Control File
- Use the above control file to Restore the Database. There can be other Naming conventions for the control file.
RMAN>
run
{
ALLOCATE CHANNEL CH1 TYPE 'SBT_TAPE';
SEND 'NSR_ENV=(NSR_SERVER=ProdServer,NSR_CLIENT=prodlabdb-01,NSR_DATA_VOLUME_POOL=database,NSR_DEBUG_LEVEL=5,NSR_DPRINTF=TRUE)';
restore controlfile from "controlfile_jl3id0fj_1_1";
RELEASE CHANNEL CH1;
}
- Mount the database from the restored Control file.
SQL>alter database mount;
- Validate the backup information and Identify the SCN or SEQUENCE Number from the "LIST BACKUP BY BACKUP" output.
Snippet below (Last Line)
Recovery can be done until SEQUENCE 5899.
RMAN> LIST BACKUP BY BACKUP;
BS Key Type LV Size Device Type Elapsed Time Completion Time
------- ---- -- ---------- ----------- ------------ ---------------
17612 Full 93.70G SBT_TAPE 02:49:07 22-FEB-25
BP Key: 17612 Status: AVAILABLE Compressed: YES Tag: TAG20250221T221003
Handle: jd3icmhs_1_1 Media: database.002
List of Datafiles in backup set 17612
File LV Type Ckp SCN Ckp Time Name
---- -- ---- ---------- --------- ----
3 Full 6018330353968 21-FEB-25 /u09/LABTEST/db/apps_st/data/system.295.1084779711
12 Full 6018330353968 21-FEB-25 /u09/LABTEST/db/apps_st/data/apps_ts_tools.296.1084779711
16 Full 6018330353968 21-FEB-25 /u09/LABTEST/db/apps_st/data/apps_ts_seed.282.1084779983
26 Full 6018330353968 21-FEB-25 /u09/LABTEST/db/apps_st/data/apps_ts_media.283.1084779983
27 Full 6018330353968 21-FEB-25 /u09/LABTEST/db/apps_st/data/apps_ts_media.315.1084779711
29 Full 6018330353968 21-FEB-25 /u09/LABTEST/db/apps_st/data/apps_ts_media.316.1084779711
33 Full 6018330353968 21-FEB-25 /u09/LABTEST/db/apps_st/data/apps_ts_tx_idx.325.1107842193
34 Full 6018330353968 21-FEB-25 /u09/LABTEST/db/apps_st/data/apps_ts_media.326.1107842287
39 Full 6018330353968 21-FEB-25 /u09/LABTEST/db/apps_st/data/apps_ts_seed.331.1160384075
40 Full 6018330353968 21-FEB-25 /u09/LABTEST/db/apps_st/data/apps_ts_tx_idx.332.1160384111
42 Full 6018330353968 21-FEB-25 /u09/LABTEST/db/apps_st/data/apps_ts_media.334.1187447927
288 Full 6018330353968 21-FEB-25 /u09/LABTEST/db/apps_st/data/system.272.1084780009
314 Full 6018330353968 21-FEB-25 /u09/LABTEST/db/apps_st/data/portal.264.1084780021
353 Full 6018330353968 21-FEB-25 /u09/LABTEST/db/apps_st/data/system.277.1084779983
354 Full 6018330353968 21-FEB-25 /u09/LABTEST/db/apps_st/data/system.285.1084779977
401 Full 6018330353968 21-FEB-25 /u09/LABTEST/db/apps_st/data/apps_ts_tx_data.306.1084779711
404 Full 6018330353968 21-FEB-25 /u09/LABTEST/db/apps_st/data/apps_ts_tx_idx.271.1084780009
BS Key Size Device Type Elapsed Time Completion Time
------- ---------- ----------- ------------ ---------------
17613 6.25M SBT_TAPE 00:00:01 22-FEB-25
BP Key: 17613 Status: AVAILABLE Compressed: YES Tag: TAG20250222T005927
Handle: jj3id0fg_1_1 Media: database.002
List of Archived Logs in backup set 17613
Thrd Seq Low SCN Low Time Next SCN Next Time
---- ------- ---------- --------- ---------- ---------
1 5899 6018330351597 21-FEB-25 6018330471551 22-FEB-25
Perform Restore and Recovery.
- For HOT RMAN Backups it is necessary to use "SET UNTIL" clause for Restore or Recovery.
- The Source FS paths of datafiles are Different from the Target datafile path. The "SET NEWNAME FOR DATAFILE TO" Command has to be used to restore the data to a New FS path.
- Perform the Restore and then "SWITCH DATAFILE ALL".
- Change the Log File Names and TEMP File names on Target
SQL "ALTER DATABASE RENAME FILE 'SOURCE FILE PATH' TO 'DESTINATION FILE PATH'";
- Perform the Recovery using "RECOVER DATABASE" Command.
run
{
ALLOCATE CHANNEL CH1 TYPE 'SBT_TAPE';
ALLOCATE CHANNEL CH2 TYPE 'SBT_TAPE';
ALLOCATE CHANNEL CH3 TYPE 'SBT_TAPE';
ALLOCATE CHANNEL CH4 TYPE 'SBT_TAPE';
SEND 'NSR_ENV=(NSR_SERVER=ProdServer,NSR_CLIENT=prodlabdb-01,NSR_DATA_VOLUME_POOL=database,,NSR_DEBUG_LEVEL=9,NSR_DPRINTF=TRUE)';
SET NEWNAME FOR DATABASE TO '/u01/DBTEST/db/apps_st/data/%b';
set until sequence 5899 thread 1;
RESTORE DATABASE;
SWITCH DATAFILE ALL;
SQL "ALTER DATABASE RENAME FILE '+DATA/labprod/onlinelog/redo01.log' TO '/u01/DBTEST/db/apps_st/redo01.log'";
SQL "ALTER DATABASE RENAME FILE '+DATA/labprod/onlinelog/redo01.log' TO '/u01/DBTEST/db/apps_st/redo02.log'";
SQL "ALTER DATABASE RENAME FILE '+DATA/labprod/onlinelog/temp01.dbf' TO '/u01/DBTEST/db/apps_st/temp01.dbf'";
recover database;
RELEASE CHANNEL CH1;
RELEASE CHANNEL CH2;
RELEASE CHANNEL CH3;
RELEASE CHANNEL CH4;
}
- Once the Above Steps Complete Successfully. The Database can be Opened with the following command.
RMAN> ALTER DATABASE OPEN RESETLOGS;Additional Information
For Duplicate Database Restore. Recovery Wizard can be used once the Auxiliary instance is created on the Target host (Can be same host as well)
Check the following KB:
NMDA Oracle: How to Configure Auxiliary Database for Oracle Cross System Restore using NMC Wizard
Affected Products
NetWorker FamilyProducts
NetWorker Module for Databases and ApplicationsArticle Properties
Article Number: 000300423
Article Type: How To
Last Modified: 30 Mar 2025
Version: 1
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.