Vous êtes sur la page 1sur 11

Contact Mail-Id:oracledbatraining2009@gmail.

com

The other courses offered: Oracle Developer (SQL, PL/SQL) Basic UNIX Shell Scripting The future courses offered Advance DBA Courses RAC Oracle Streams Advance Performance Tuning (PL/SQL Performance Tuning)

Contact Mail-Id:oracledbatraining2009@gmail.com

RMAN with Catalog

Target Database Name: test1 Catalog Database Name: catdb Note:

tnsservicename: tocatdb (Client) Listener Name: catdb (Server)

All databases should be in Archive Log Mode Log_archive_dest_1 parameter should be defined Create one directory in the target database to take the rman backup Listener should be configured on Catalog database (Remote) Tnsnames should be configured on Client database

Assumption Step1: Catalog Database

Step2: Target Database

Contact Mail-Id:oracledbatraining2009@gmail.com

Step1: Catalog Database Catalog database should be up

Checking the Listener Status

Contact Mail-Id:oracledbatraining2009@gmail.com

Step2: Target Database Checking the tnsnames Status

Contact Mail-Id:oracledbatraining2009@gmail.com

Contact Mail-Id:oracledbatraining2009@gmail.com

Step1: Catalog Database

Note: To know which target databases got registered with the Catalog Database

RMAN Commands Backup Commands Job Commands Copy Commands Reporting Commands Listing Commands Validating Commands Backup Commands RMAN backups can be stored in 3 Locations Default Location: $ORACLE_HOME/dbs User defined Location Fast Recovery Area (FRA)

Contact Mail-Id:oracledbatraining2009@gmail.com

Backup Commands We can take backup of a Total Database (Includes Data Files only) Particular Table space Particular Data file Total Archived Logs Current Control File SPFILE Scenario: Storing the Backups in the Default Location: $ORACLE_HOME/dbs Case1: Taking the backup of whole database (Only Data Files)

Contact Mail-Id:oracledbatraining2009@gmail.com

Case2: Taking the backup of a particular Data File

Case3: Taking the backup of a Particular Table space

Case4: Taking the backup of a Current Control File

Case5: Taking the backup of SPFILE

Case6: Taking the backup of Archive Logs

Contact Mail-Id:oracledbatraining2009@gmail.com

Case7: Taking the backup of database plus archive log

Scenario: Storing the Backups in the User specified Location: /u01/zone/test1/rman


Case1: Taking the backup of whole database (Only Data Files)

Case2: Taking the backup of a particular Data File

Case3: Taking the backup of a Particular Table space

Case4: Taking the backup of a Current Control File

Contact Mail-Id:oracledbatraining2009@gmail.com

Case5: Taking the backup of SPFILE

Case6: Taking the backup of Archive Logs

Case7: Taking the backup of database plus archive log

Scenario: Storing the Backups in the Flash Recovery Area

Case1: Taking the backup of whole database (Only Data Files)

Contact Mail-Id:oracledbatraining2009@gmail.com

Case2: Taking the backup of a particular Data File

Case3: Taking the backup of a Particular Table space

Case4: Taking the backup of a Current Control File

Case5: Taking the backup of SPFILE

Case6: Taking the backup of Archive Logs

Case7: Taking the backup of database plus archive log

Vous aimerez peut-être aussi