This type of recovery is performed when the database is open, but some of the datafiles are damaged. This recovery is useful when you want to recover the damaged tablespace, while leaving the database open so that the rest of the database remains available. You can only perform Complete Recovery when restoring and recovering individual datafiles or tablespaces. PIT Recovery is not available for individual datafiles or tablespaces. Enabling PIT Recovery causes the restore job to fail. Following is an overview of the process to recover individual datafiles or tablespaces:
1 |
On the Create Selection Set page, select the damaged datafiles or tablespaces from the latest available backup of the tablespace, and click Edit Plugin Options. |
2 |
Click the Restore Options tab, and select the Alter Tablespaces Offline Before Restore and the Alter Tablespaces Online After Restore options. |
3 |
On the Perform Recovery tab, select the applicable options: |
• |
• |
If you do not want to perform any recovery, select the Do Not Perform Recovery option. |
• |
To delete the restored archive logs that Oracle deems unnecessary, select the Delete Restored Archive Logs No Longer Needed option. |
4 |
1 |
On the Create Restore Job — Choose Saveset page, find the latest available backup that included all the tablespaces, and click Next. |
2 |
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. |
3 |
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 shut down the database automatically before mounting the database, select Shutdown Abort Database First. |
• |
To include read-only datafiles in the restore, select Check Read-Only Datafiles and Restore if Necessary. |
4 |
• |
Perform Complete Recovery: Recovers the database to the current time, that is, to the last committed transaction available in the archived and online redo logs. |
• |
Perform Point-in-Time Recovery: Recovers the database to a specific point whether it be a specific time, log sequence number, or SCN. |
5 |
On the Perform Recovery tab, select these additional options, if applicable: |
• |
To include read-only datafiles in the recovery process, select Check Read-Only Datafiles and Recover if Not Current. The read-only files are included only if they are needed to complete recovery. If they are not damaged, RMAN omits them. |
• |
To delete the restored archive logs that Oracle deems unnecessary, select Delete Archive Logs No Longer Needed. |
6 |
On the Post Recovery tab, select Open Database after Recovery and Read Write and Reset Logs to open the database automatically in read-write mode and reset the online logs. |
7 |
If your goal is to create a copy of your target database for ongoing use on a new host, do not use these procedures. Instead, use the Duplicate Database backup type, which is designed for this purpose. For more information, see Duplicate Database backup.
The following methods are available for performing a disaster recovery:
When performing a disaster recovery of any kind, be aware of the following:
• |
Objects selected on 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. |
© ALL RIGHTS RESERVED. Nutzungsbedingungen Datenschutz Cookie Preference Center