Restore Data - Oracle

Topics | How To | Full System Restore | Troubleshoot | Related Topics


Overview

Restore Considerations for this Agent

Restore Destinations


Overview

The Oracle iDataAgent supports the following types of restores:

Recovery involves two processes: restoring the physical datafiles, and then recovering the database. After the necessary files are restored, the database will be recovered.

Additionally, the Oracle iDataAgent supports:

All restores can be performed in-place, out-of-place or cross-platform. (See Restore Destinations below for comprehensive information.)

For the Oracle iDataAgent restore operations can be performed from the client, iDataAgent, and instance levels in the CommCell Browser.

When there is a problem with the Oracle database server or the operating system of the client computer full system restores may be required. See Restore Data - Oracle or Oracle RAC - Full System Restore for more information.

See Also:

Duplicate Database

The duplicate database feature allows you use backups of the target database to create either of the following:

The creation of a non-standby duplicate database or standby database can be in-place on the same physical computer, or out-of-place on another computer. Furthermore, you have the choice of whether or not to configure the Oracle SID in the CommCell Console as part of this operation. See the How To page for step-by-step procedures on creating a duplicate database or a standby database.

No Re-Do Logs Option 

The No Re-do Logs option, available from the Options tab in the Oracle Advanced Restore Options dialog, allows you to perform a point-in-time restore of a database that was backed up in NOARCHIVELOG mode. When enabled, RMAN suppresses the application of archived re-do logs so that only data from incremental backups are applied. If you do not specify noredo, RMAN will search for archived re-do logs after applying incremental backup data, and will issue an error message when it does not find them.

Allocate Command Syntax for Oracle Command Line Restores on a Unix Cluster 

In order to perform Oracle command line restores on a Unix cluster, you need to use the following syntax for the allocate command within the RMAN script:

allocate channel ChannelName type ‘sbt_tape’ PARMS=”ENV=(CVOraVMName=VirtualMachineName)”;

where ChannelName can be chN (N is a stream number: 1, 2, ...) and VirtualMachineName should be the name of the virtual machine. 

Restoring the Recovery Catalog

The method that you use to restore the Recovery Catalog depends on the method that you have used to back up the Recovery Catalog.

If you have exported the Recovery Catalog using the exp command, you must import the Recovery Catalog into a new database using the imp command.

If you have backed up the Recovery Catalog using the Oracle iDataAgent, you must use an appropriate restore procedure provided in the How To page to restore the Recovery Catalog.

Automatic Mode Switching

When an Oracle restore job is submitted from the CommCell Console, the system will automatically check to ensure that the database is in a valid mode for the type of restore you are performing. If the database is not in the correct mode, the system will display a pop-up message informing you of this issue, at which point you can choose to either allow the system to automatically switch the database to the correct mode for the restore, or cancel the restore request and set the mode manually.

Automatic mode switching during Oracle restores is supported under the following conditions:

  1. The database is OPEN for the entire database restore, and the system will put the database in MOUNTED mode.
  2. The database is OPEN for restoring tablespaces, and the system will put the tablespaces in OFFLINE mode.

Also note that this feature is only supported when the CommServe and Oracle client are both at the current software release version. For mixed mode environments, if a restore is attempted while the database is OPEN, the system will still issue a pop-up message indicating it will automatically switch the database into MOUNTED mode. However, since it is not supported in this scenario, you will need to manually switch the database into MOUNTED mode.

Multiplex Restores

The Oracle iDataAgent on Unix can detect whether multiplexing was used during backups from which data is being restored and then automatically multiplex the data streams during restore. This allows restore jobs to maximize the throughput of available data channels by multiplexing multiple data streams, which speeds up the process of restoring data. In order to fully optimize the multiplex restore capability, we recommend setting the number of restore streams to the same number of streams used by the backup job. In the event that you would like to disable the automatic multiplexing of restores, this can be accomplished by creating the sDisableMultiplexRestore registry key with a value of Y.

For more information, see Data Multiplexing.

Disable Oracle Channel Restore Failover

In Oracle 10g or higher version, you can prevent a restore failover operation using the Disable Oracle Channel Restore Failover option in the Oracle Advanced Restore Options (Options) dialog box. This will avoid job delays caused by RMAN trying to locate another copy of the backup data to complete the restore operation.

If this option is de-selected (default) for a restore job, and if either a backup piece is inaccessible (because it has been deleted from the database or the MediaAgent is offline) or a block in the backup is corrupted within the latest full backup, RMAN automatically searches for another usable copy of this backup piece in the same library or another library. If no usable copies are available, RMAN starts searching all prior backups for the most recent available backup that is usable for the current job until it has exhausted all possibilities.

If this option is selected for a restore job, this will prevent job delays caused by RMAN trying to locate another copy of the backup data to complete the restore operation.


Restore Considerations for this Agent

Before performing any restore procedures for this agent, review the following information.


Restore Destinations

By default, the Oracle iDataAgent restores data to the client computer from which it originated; this is referred to as an in-place restore. You can also restore the data to another Client computer in the CommCell. Keep in mind the following considerations when performing such restores:

The following section enumerates the types of restore destinations that are supported by the Oracle iDataAgent. See Support Information - Restore Options - Restore Destinations for a list of Agents supporting each restore destination type.

In-Place Restore

Out-of-Place Restore

Cross-Platform Restores

Back to Top