Oracle Backup and Recovery Using RMAN
Oracle Backup and Recovery Using RMAN
Using RMAN
Mark Rank
DBA
UW-Platteville
Intr odu ction
• Who am I?
– DBA and Manager of Development
for UW-Platteville
• Oracle experience
– Worked with Oracle for about 10 years
– Worked with RMAN for 2 years
– Using RMAN version 9.2 in production for
backup at UW-Platteville
Ou tli ne
• Background
– General Backup and Recovery
– Overview of RMAN
• Backup using RMAN
– Configuration
– Reporting and monitoring
– Executing a backup
• Recovery using RMAN
• Cloning using RMAN
A little q uiz befo re w e star t
• Backing up Oracle data files using OS commands
while the database is open will give a valid
backup?
• Archiving the redo log files is done only for record
retention reasons?
• If you have a backup of the database you can
always recover the database?
• A database will have uncommitted transactions
after recovery?
DB A M otto
A Demo
Usin g R MAN to Clon e
• An easy way to clone databases
• A good way to validate your backup
• A good way to practice recovery
Outlin e of th e Pr oced ure
• Establish a target database and bring it up
to NOMOUNT
• Connect using RMAN to the source
database
• Force a checkpoint and log switch
• Duplicate the source to the target using the
DUPLICATE TARGET DATABASE command
A not e abou t f iles
• Unless the file structures are the same you will
need to put db_file_name_convert and
log_file_name_convert commands in our INIT.ORA
file
• Oracle Manuals
– Recovery Manager Quick Reference
– Recovery Manager Reference
– Recovery Manager User's Guide
More Resou rces
• Oracle Training
– Enterprise DBA Part 1B: Backup and Recovery
• MetaLink Forum
– Oracle Server Backup and Recovery/RMAN
Q& A
UW-Platteville Development
http://www.uwplatt.edu/oit/development
E-mail address
[email protected]