9
Copyright © 2007, Oracle. All rights reserved.
Performing Backup and Recovery
Copyright © 2007, Oracle. All rights reserved.
9 - 2
Objectives
After completing this lesson, you should be able to do the
following:
•
Configure the database for backup and recovery operations
•
Create and manage database backups
•
Restore and recover the database
•
Use flashback features
Copyright © 2007, Oracle. All rights reserved.
9 - 3
Oracle Recovery Features
•
Automatic recovery after instance failure (crash recovery)
•
Data file media recovery
•
Flashback:
–
Flashback Query
–
Flashback Versions Query
–
Flashback Transaction Query
–
Flashback Table
–
Flashback Drop
–
Flashback Database
Copyright © 2007, Oracle. All rights reserved.
9 - 5
Backup, Restore, and Recovery Concepts
Types of backups:
•
Consistent
–
Taken when the instance is shut down
–
Enables you to open the database immediately after a restore
operation
–
Requires that all changes in the redo logs have been applied
to the data files
•
Inconsistent
–
Taken when the database is open
–
Requires that media recovery be performed after restoring the
files
–
Can have online and archived redo logs that contain changes
that have not yet been applied to the data files
Copyright © 2007, Oracle. All rights reserved.
9 - 6
Backup, Restore, and Recovery Concepts
Media recovery options:
•
Complete
–
All changes from the logs are applied.
–
Database is returned to its state at the time of failure.
•
Point-in-time (incomplete)
–
Choose any time between the time of the data file backup and
the last change in the redo logs.
–
Apply only changes effected until the specified time.