Objectives
After completing this lesson, you should be able to do the following: • Create consistent database backups • Back up your database without shutting it down • Create incremental backups • Automate database backups • Monitor the flash recovery area
Oracle Secure Backup
• Oracle Secure Backup and RMAN provide an end-to-end backup solution for Oracle environments:
– Centralized tape backup management for file system data and the Oracle database – Most well-integrated media management layer for RMAN backups – Backup of any data anywhere on the network
User-Managed Backup
A user-managed scenario: • Is a manual process of tracking backup needs and status. • Requires the DBA to write scripts. • Requires that database files be put in the correct mode for backup. • Relies on operating system commands to make backups of files.
Terminology
• Backup strategy may include:
– The entire database (whole) – A portion of the database (partial)
•
Backup type may indicate inclusion of:
– All information from all data files (full) – Only information that has changed since some previous backup (incremental)
Terminology
Backups may be stored as: • Image copies • Backup sets
Data file #1 Data file #2 Data file #3 Data file #4 Data file #5 Data file #6 Image copies Data file #1 Data file #3 Data file #5 Data file #2 Data file #4 Data file #6
Recovery Manager (RMAN)
• Enterprise Manager uses Recovery Manager (RMAN) to perform backup and recovery operations. RMAN:
– Is a command-line client for advanced functions – Has powerful control and scripting language – Has a published API that enables interface with most popular backup software – Backs up data, control, archived log, and server parameter files – Backs up files to the disk or tape
Summary
In this lesson, you should have learned how to: • Create consistent database backups • Back up your database without shutting it down • Create incremental backups • Automate database backups • Monitor the flash recovery area
Practice Overview: Creating Database Backups
This practice covers the following topics: • Configuring your database for backups • Backing up your database while the database is open for user activity • Scheduling automatic nightly incremental backups for your database