• |
Using a disaster recovery procedure in an Oracle® Database environment that is not intended for disaster recovery might result in data loss in the database. Do not use a disaster recovery procedure to restore or recover individual datafiles or archive logs, or if you only intend to restore an Oracle Database SPFILE or a Control File. |
• |
Objects selected the Create Selection Set page are ignored. |
• |
Only the options selected on the Stepwise Disaster Recovery tab are run. |
1 |
In the Navigation pane, click Create Restore Job. |
2 |
On the Create Restore Job — Choose Saveset page, select Plug‑in for Oracle from the Plugin Type list. |
3 |
5 |
Click Next. |
6 |
On the Create Selection Set page, select any item. |
7 |
8 |
Select the Perform the following Step-by-Step Disaster Recovery option, and then select the applicable suboptions: |
• |
Set Dbid: If you want to specify the DBID, select this option. The plug-in automatically enters the DBID of the Oracle® Database for which the backup was taken in this field. The DBID is needed when a parameter file or SPFILE is not available to start the Oracle Database in a NOMOUNT state. |
• |
Restore Spfile from Autobackup; Look Back Max Days: If the Oracle Control File Autobackup option was enabled in your scheduled backups and you want to restore the SPFILE from an Autobackup, select this option. (If Oracle Control File Autobackup was not enabled, you cannot restore the SPFILE from an Autobackup. For more information, see Enabling Control File Autobackups.) By default, this option looks for Autobackups in the last seven days; update it as applicable. This option issues the following RMAN commands: |
• |
Restore Controlfile from Autobackup; Look Back Max Days: If the Oracle Control File Autobackup option was enabled in your scheduled backups and you want to restore the Control File from an Autobackup, select this option. (If Oracle Control File Autobackup was not enabled, you cannot restore the Control File from an Autobackup. For more information, see Enabling Control File Autobackups.) By default, this option looks for Autobackups in the last seven days; update it as applicable. This option issues the following RMAN commands: |
• |
Restore Database: If you want to restore all datafiles included in the Oracle Database, select this option. A restore database command attempts to restore all the datafiles in the Oracle database. This option issues the following RMAN command: |
• |
Recover Database: If you want to recover all datafiles included in the Oracle Database, select this option. A recover database command attempts to recover all the datafiles in the Oracle database. This recovery might include automatically restoring and applying archived transaction logs. This option issues the following RMAN command: |
• |
Alter Database Open Resetlogs: If you want to open the database with the RESETLOGS option, select this option. This option issues the following SQL*Plus command: |
NOTE: With the database restored, you have the option of opening an RMAN CLI prompt and issuing the recovery commands from the prompt. This option eliminates the need to select the Recover Database and Alter Database Open Resetlogs options and lets you issue advanced recovery options. |
NOTE: You can also use the following procedure to restore the Oracle® Server to a different host (one that is not the original production server) while the production server is still active. However, as stated previously, if your goal is create a copy of the target production database for ongoing use on a new host, do not use this procedure. Instead, use the Duplicate Database backup type. For more information, see Duplicate Database backup. |
• |
Oracle Database software installed: Install the same version of the Oracle database software on the system as existed on the damaged server. The ORACLE_HOME should be identical on both the source and destination Oracle server. You do not have to create the database. |
• |
Oracle password file created: Use the orapwd utility to create the Oracle password file. |
• |
On Linux®: |
• |
• |
Oracle service on Windows created and started: Create the Oracle Service on Windows with Oracle’s oradim utility. The Oracle SID should be identical to the original or source database. This option creates an identical Oracle Service name. For example, from an OS prompt run: |
• |
NetVault Backup software and Plug‑in for Oracle installed: The same version of NetVault Backup software and the plug-in must be installed and configured as it originally existed on the damaged server. Ensure that the plug-in’s default attributes are defined as specified in Configuring default settings. |
• |
DBID of the source database identified: Identify the DBID of the damaged database. If the DBID was not recorded as part of the initial Plug‑in for Oracle installation, look for it in the NetVault Backup binary logs for RMAN-based backups of the source database. The DBID is also available on the Details dialog box or the Backup Contents tab. |
• |
Default location for SPFILE must exist: Verify that the default location for the SPFILE exists. Failure to do so results in an ORA-17502 Failed to create file error during the SPFILE restore. |
• |
Backups of all tablespaces made available: Verify that you have the latest backups of all the tablespaces. |
6 |
Restore the SPFILE from Autobackup. |
IMPORTANT: If you do not have an Autobackup of the Control File, complete the steps in Retrieving a Control File manually before continuing. |
9 |
On the Create Restore Job — Choose Saveset page, find the latest available backup that included all the tablespaces, and click Next. |
10 |
On the Create Selection Set page, navigate to the source NetVault Backup Client and database, select the Whole Database node, and click Edit Plugin Options. |
11 |
Click the Restore Options tab, and select the applicable options: |
• |
To mount the database before the performing the restore, select Mount Database Before Restore. |
• |
To include read-only datafiles in the restore, select Check Read-Only Datafiles and Restore if Necessary. |
12 |
Because recovery must be performed in a disaster recovery scenario, on the Perform Recovery tab, select Perform Database Point-in-Time Recovery. |
13 |
On the Perform Recovery tab, select Check Read-Only Datafiles and Recover if Not Current to include read-only datafiles in the recovery process. |
14 |
On the Recovery Catalog tab, clear the Use Catalog option to ensure that the Recovery Catalog is not used for this restore. |
15 |
17 |
IMPORTANT: After completing a disaster recovery, Dell recommends that you perform a Full or Incremental Level 0 backup with the database selected on the Create Selection Set page. |
1 |
On the Create Restore Job — Choose Saveset page, find the latest available backup that is marked with “Controlfile Included.” |
3 |
Use the replicate controlfile command to copy the restored Control File. |
2 |
In the Navigation pane, click Create Restore Job, select Plug‑in for Oracle from the Plugin Type list. |
4 |
On the Create Selection Set page, select the datafile or Control File to restore. |
5 |
6 |
In the Rename/Relocate dialog box, enter the applicable information. |
• |
Rename: Enter the new name. |
• |
Relocate: Enter the new path. |
• |
SPFILE: The file is restored to the “$ORACLE_HOME/dbs” directory with the new name. |
• |
NOTE: A full path can include a path to an ASM location. For example: +DATA/my_db/my_datafile_renamed.dbf |
7 |
• |
© ALL RIGHTS RESERVED. Nutzungsbedingungen Datenschutz Cookie Preference Center