Less15 Backups Tb
Transcript of Less15 Backups Tb
-
8/14/2019 Less15 Backups Tb
1/22
15Copyright 2005, Oracle. All rights reserved.
Performing Database Backups
-
8/14/2019 Less15 Backups Tb
2/22
15-2 Copyright 2005, Oracle. All rights reserved.
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
-
8/14/2019 Less15 Backups Tb
3/22
15-3 Copyright 2005, Oracle. All rights reserved.
Backup Solutions Overview
Backups can be performed by using:
Recovery Manager
Oracle Secure Backup
A user-managed scenario
-
8/14/2019 Less15 Backups Tb
4/22
15-4 Copyright 2005, Oracle. All rights reserved.
Oracle Secure Backup
Oracle Secure Backup and RMAN provide an end-
to-end backup solution for Oracle environments:
Centralized backup management to tape for file
system data and the Oracle database
Provides most well-integrated media management
layer for RMAN backups
Backup of any data anywhere on the network
A single technical support resource for the entire
backup solution expedites problem resolution. This ensures reliable data protection at lower cost
and complexity.
-
8/14/2019 Less15 Backups Tb
5/22
15-5 Copyright 2005, Oracle. All rights reserved.
User-Managed Backup
A user-managed scenario:
It is a manual process of tracking backup needs
and status.
It requires the DBA to write scripts. Database files must be put in the
correct mode for backup.
Operating system commands are
used to make backups of files.
-
8/14/2019 Less15 Backups Tb
6/22
15-6 Copyright 2005, Oracle. All rights reserved.
Terminology
Backup strategy may include:
The entire database (whole)
A portion of the database (partial)
Backup type may be: All information from all data files (full)
Only information that has changed since some
previous backup (incremental)
Backups mode may be:
Offline (consistent, cold)
Online (inconsistent, hot)
-
8/14/2019 Less15 Backups Tb
7/2215-7 Copyright 2005, Oracle. All rights reserved.
Terminology
Backups may be stored as:
Image copies
Backup sets
Data file #2
Data file #3
Data file #4
Data file #5
Data file #1
Data file #6
Image copies
Backup set
Data file #6Data file #5
Data file #4Data file #3
Data file #2Data file #1
-
8/14/2019 Less15 Backups Tb
8/2215-8 Copyright 2005, Oracle. All rights reserved.
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
-
8/14/2019 Less15 Backups Tb
9/2215-9 Copyright 2005, Oracle. All rights reserved.
Configuring Backup Settings
-
8/14/2019 Less15 Backups Tb
10/2215-10 Copyright 2005, Oracle. All rights reserved.
Configuring Backup Settings
-
8/14/2019 Less15 Backups Tb
11/2215-11 Copyright 2005, Oracle. All rights reserved.
Scheduling Backups: Strategy
Select whole or
partial database
backup.
-
8/14/2019 Less15 Backups Tb
12/2215-12 Copyright 2005, Oracle. All rights reserved.
Scheduling Backups: Options
-
8/14/2019 Less15 Backups Tb
13/2215-13 Copyright 2005, Oracle. All rights reserved.
Scheduling Backups: Settings
-
8/14/2019 Less15 Backups Tb
14/2215-14 Copyright 2005, Oracle. All rights reserved.
Scheduling Backups: Schedule
-
8/14/2019 Less15 Backups Tb
15/2215-15 Copyright 2005, Oracle. All rights reserved.
Scheduling Backups: Review
Click Edit RMAN Script to review RMAN commands.
-
8/14/2019 Less15 Backups Tb
16/2215-16 Copyright 2005, Oracle. All rights reserved.
Back Up the Control File to a Trace File
Control files have an additional backup option.
Control file trace backups may be used to recover from
loss of all control files.
-
8/14/2019 Less15 Backups Tb
17/2215-17 Copyright 2005, Oracle. All rights reserved.
Back Up the Control File to a Trace File
Full Notes Page
-
8/14/2019 Less15 Backups Tb
18/2215-18 Copyright 2005, Oracle. All rights reserved.
Managing Backups
-
8/14/2019 Less15 Backups Tb
19/2215-19 Copyright 2005, Oracle. All rights reserved.
Flash Recovery Area
Monitor the flash recovery area to:
Configure flashback logging
Size the recovery area
View current space consumption
-
8/14/2019 Less15 Backups Tb
20/2215-20 Copyright 2005, Oracle. All rights reserved.
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
-
8/14/2019 Less15 Backups Tb
21/2215-21 Copyright 2005, Oracle. All rights reserved.
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
-
8/14/2019 Less15 Backups Tb
22/22