|
 |
|
Backup of RAC Grid Using RMAN
Oracle Tips by Burleson |
Oracle Dataguard
Chapter 9 - Recovery Manager and Data
Guard
Backup of a RAC Grid Using RMAN
This section will present the steps required to
create a backup of the physical standby database. When backing up
the standby database, it should be treated as the primary database
and connections to it should be made using RMAN as the target
database. Ideally, connect to the recovery catalog, as well, during
the backup operation.
In the case where the recovery catalog cannot
be used during the backup operation, use the standby control file as
the repository. In this case, the recovery catalog should be
refreshed as soon as possible. If the recovery catalog is not
updated with the backup information, that backup set cannot be used
to recover the primary database.
Either a consistent or inconsistent backup of
the RAC Grid can be created. If an inconsistent backup for
recovery is used, a media recovery will certainly have to be
completed. As a result, it is advisable to do a consistent backup of
the RAC Grid to avoid any complication during recovery.
To create a consistent backup, shutdown the
standby database, start it and mount it as a standby database. Do
not start the managed recovery process or open it for read-only
queries. Doing so will result in an inconsistent backup. Once the
RAC Grid is mounted, execute the following two steps to
create a backup set containing all the data files and archived redo
log files:
DBA@jrbk01
export ORACLE_SID=stdbydb
DBA@jrbk01
rman target /
-
This will not use the recovery catalog as
the repository.
-
Execute the following script to create a
backup set in the /oracle/stdbydb/bkp directory. This
script will need to be modified to suit the environment:
# Script:
Create backup of standby database
|