Académique Documents
Professionnel Documents
Culture Documents
Objectives
After completing this lesson, you should be able to:
Create consistent database backups
Back up your database without shutting it down
Create incremental backups
Automate database backups
Manage backups and view backup reports
Monitor the fast recovery area
15 - 2
Data files
Target
database
Redundant
archive log
files
15 - 3
Image copies
Archive
log files
Backup pieces
Backup data
15 - 4
User-Managed Backup
A user-managed scenario:
Is a manual process of tracking backup needs and status
Typically uses your own written scripts
Requires that database files be put in the correct mode for
backup
Relies on operating system commands to make backups of
files
15 - 5
Terminology
15 - 6
Control
files
Database
Online
redo log
files
Terminology
Backups may be stored as:
Image copies
Backup sets
Data file #1
Data file #1
Data file #2
Data file #2
Data file #3
Data file #4
Data file #5
Data file #6
Data file #3
Data file #4
Data file #5
Backup set
(Binary, compressed files in
Oracle proprietary format)
Data file #6
Image copies
(Duplicate data and log files in OS format)
15 - 7
15 - 8
15 - 9
Best practice
Data files
15 - 10
Change
tracking
file
Backup
pieces
Recovery
area
15 - 11
15 - 12
15 - 13
15 - 14
15 - 15
15 - 16
Managing Backups
15 - 17
15 - 18
15 - 19
1 $ rman target /
2 RMAN> CONFIGURE
3 RMAN> BACKUP DATABASE PLUS ARCHIVELOG;
Copies of
Control
Data files
15 - 20
Control
file
files
Archived log
file
SPFILE
Quiz
Using the change-tracking feature, an image copy backup
performed by RMAN can skip blocks that have not changed
since the last backup.
1. True
2. False
15 - 21
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
Manage backups and view backup reports
Monitor the fast recovery area
15 - 22
Practice 15 Overview:
Creating Database Backups
This practice covers the following topics:
Backing up your database while the database is open for
user activity
Scheduling automatic nightly incremental backups for your
database
15 - 23