15 Copyright © 2007, Oracle. All rights reserved. Performing Database Backups.

Slides:



Advertisements
Similar presentations
2 Copyright © 2005, Oracle. All rights reserved. Installing the Oracle Database Software.
Advertisements

INTRODUCTION TO ORACLE Lynnwood Brown System Managers LLC Backup and Recovery Copyright System Managers LLC 2008 all rights reserved.
11 BACKING UP AND RESTORING DATA Chapter 4. Chapter 4: BACKING UP AND RESTORING DATA2 CHAPTER OVERVIEW Describe the various types of hardware used to.
5 Copyright © 2006, Oracle. All rights reserved. Database Recovery.
Advanced Databases DBA: Backups 1. Advanced Databases Agenda Define backup Discuss Backup Terminology Explain various backup and restore options in Oracle.
Database Backup and Recovery
Backup and Recovery (2) Oracle 10g CAP364 1 Hebah ElGibreen.
Backup and Recovery Part 1.
Oracle’s Backup and Recovery Tool
Configuring Recovery Manager
4 Copyright © 2008, Oracle. All rights reserved. Configuring Backup Specifications.
Chapter 5 Configuring the RMAN Environment. Objectives Show command to see existing settings Configure command to change settings Backing up the controlfile.
9 Copyright © Oracle Corporation, All rights reserved. Oracle Recovery Manager Overview and Configuration.
CHAPTER 17 Configuring RMAN. Introduction to RMAN RMAN was introduced in Oracle 8.0. RMAN is Oracle’s tool for backup and recovery. RMAN is much more.
The Oracle Recovery Manager (RMAN)
Backup Concepts. Introduction Backup and recovery procedures protect your database against data loss and reconstruct the data, should loss occur. The.
CHAPTER 18 RMAN Backups and Reporting. Introduction to RMAN Backups and Reporting The focus of this chapter is backups of: Datafiles Control files Archived.
Agenda  Overview  Configuring the database for basic Backup and Recovery  Backing up your database  Restore and Recovery Operations  Managing your.
Introduction to Oracle Backup and Recovery
Using RMAN to Perform Recovery
20 Copyright © 2004, Oracle. All rights reserved. Database Recovery.
13 Copyright © Oracle Corporation, All rights reserved. RMAN Complete Recovery.
Oracle Recovery Manager (RMAN) 10g : Reloaded
PPOUG, 05-OCT-01 Agenda RMAN Architecture Why Use RMAN? Implementation Decisions RMAN Oracle9i New Features.
Recovery Manager Overview Target Database Recovery Catalog Database Enterprise Manager Recovery Manager (RMAN) Media Options Server Session.
SRUTHI NAGULAVANCHA CIS 764, FALL 2008 Department of Computing and Information Sciences (CIS) Kansas State University -1- Back up & Recovery Strategies.
5 Copyright © 2004, Oracle. All rights reserved. Using Recovery Manager.
5 Copyright © 2008, Oracle. All rights reserved. Using RMAN to Create Backups.
Chapter 7 Making Backups with RMAN. Objectives Explain backup sets and image copies RMAN Backup modes’ Types of files backed up Backup destinations Specifying.
11 Copyright © Oracle Corporation, All rights reserved. RMAN Backups.
Backup and Recovery Protects From Data Loss. Backup and Recovery Protects From Data Loss Provides for Media Recovery.
11 Copyright © Oracle Corporation, All rights reserved. RMAN Backups.
Chapter 9 Scripting RMAN. Background Authors felt that scripting was a topic not covered well Authors wanted to cover both Unix/Linux and Windows environments.
15 Copyright © 2005, Oracle. All rights reserved. Performing Database Backups.
Chapter 8 Implementing Disaster Recovery and High Availability Hands-On Virtual Computing.
Backup & Recovery Backup and Recovery Strategies on Windows Server 2003.
16 Copyright © 2007, Oracle. All rights reserved. Performing Database Recovery.
RMAN: Your New Best Friend for Backup and Recovery Ruth Gramolini ORACLE DBA Vermont Department of Taxes.
9 Copyright © 2004, Oracle. All rights reserved. Flashback Database.
18 Copyright © Oracle Corporation, All rights reserved. Workshop.
17 Copyright © Oracle Corporation, All rights reserved. Recovery Catalog Creation and Maintenance.
15 Copyright © Oracle Corporation, All rights reserved. RMAN Incomplete Recovery.
8 Copyright © Oracle Corporation, All rights reserved. Configuring the Database Archiving Mode.
14 Copyright © 2005, Oracle. All rights reserved. Backup and Recovery Concepts.
Backup Concepts. Introduction Backup and recovery procedures protect your database against data loss and reconstruct the data, should loss occur. The.
3 Copyright © 2006, Oracle. All rights reserved. Using Recovery Manager.
10 Copyright © Oracle Corporation, All rights reserved. User-Managed Backups.
Overview of Oracle Backup and Recovery Darl Kuhn, Regis University.
12 Copyright © Oracle Corporation, All rights reserved. User-Managed Complete Recovery.
18 Copyright © 2004, Oracle. All rights reserved. Backup and Recovery Concepts.
6 Copyright © 2007, Oracle. All rights reserved. Performing User-Managed Backup and Recovery.
2 Copyright © 2007, Oracle. All rights reserved. Configuring for Recoverability.
2 Copyright © 2006, Oracle. All rights reserved. Configuring Recovery Manager.
16 Copyright © 2005, Oracle. All rights reserved. Performing Database Recovery.
8 Copyright © 2007, Oracle. All rights reserved. Using RMAN to Duplicate a Database.
3 Copyright © 2007, Oracle. All rights reserved. Using the RMAN Recovery Catalog.
14 Copyright © 2005, Oracle. All rights reserved. Backup and Recovery Concepts.
10 Copyright © 2007, Oracle. All rights reserved. Using RMAN Enhancements.
19 Copyright © 2004, Oracle. All rights reserved. Database Backups.
13 Copyright © 2007, Oracle. All rights reserved. Using the Data Recovery Advisor.
9 Copyright © 2004, Oracle. All rights reserved. Incomplete Recovery.
14 Copyright © 2007, Oracle. All rights reserved. Backup and Recovery Concepts.
4 Copyright © 2004, Oracle. All rights reserved. Managing the Oracle Instance.
5 Copyright © 2005, Oracle. All rights reserved. Managing the Oracle Instance.
RMAN Maintenance.
Database recovery contd…
RMAN Maintenance.
Backup and Recovery (1) Oracle 10g Hebah ElGibreen CAP364.
Performing Database Backups
Performing Database Recovery
Presentation transcript:

15 Copyright © 2007, Oracle. All rights reserved. Performing Database Backups

Copyright © 2007, Oracle. All rights reserved 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 flash recovery area

Copyright © 2007, Oracle. All rights reserved Backup Solutions: Overview Backups can be performed by using: Recovery Manager Oracle Secure Backup User-managed backup Image copies Backup pieces Backup data Data files Flash recovery area Target database Redundant archive log files Archive log files

Copyright © 2007, Oracle. All rights reserved 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 A single technical support resource for the entire backup solution expedites problem resolution. This ensures reliable data protection at lower cost and complexity.

Copyright © 2007, Oracle. All rights reserved 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

Copyright © 2007, Oracle. All rights reserved Terminology Backup strategy may include: –Entire database (whole) –Portion of the database (partial) Backup type may indicate inclusion of: –All data blocks within your chosen files (full) –Only information that has changed since a previous backup (incremental) — Cumulative (changes up to last level 0) — Differential (changes up to last incremental) Backup mode may be: –Offline (consistent, cold) –Online (inconsistent, hot) Database Data files Online redo log files Control files

Copyright © 2007, 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 (Duplicate data and log files in OS format) Backup set (Binary, compressed files in Oracle proprietary format) Data file #1Data file #2 Data file #3Data file #4 Data file #5Data file #6

Copyright © 2007, Oracle. All rights reserved Recovery Manager (RMAN) Powerful control and scripting language Integrated with Enterprise Manager Published API that enables interface with most popular backup software Backing up data, control, archived log, and server parameter files Backing up files to the disk or tape

Copyright © 2007, Oracle. All rights reserved Configuring Backup Settings

Copyright © 2007, Oracle. All rights reserved Configuring Backup Settings Change tracking file Data files Backup pieces Recovery area Best practice

Copyright © 2007, Oracle. All rights reserved Scheduling Backups: Strategy

Copyright © 2007, Oracle. All rights reserved Scheduling Backups: Options

Copyright © 2007, Oracle. All rights reserved Scheduling Backups: Settings

Copyright © 2007, Oracle. All rights reserved Scheduling Backups: Schedule

Copyright © 2007, Oracle. All rights reserved Scheduling Backups: Review

Copyright © 2007, Oracle. All rights reserved Backing 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.

Copyright © 2007, Oracle. All rights reserved Managing Backups

Copyright © 2007, Oracle. All rights reserved Viewing Backup Reports

Copyright © 2007, Oracle. All rights reserved Monitoring the Flash Recovery Area

Copyright © 2007, Oracle. All rights reserved Using the RMAN Command Line $ rman target / RMAN> CONFIGURE … RMAN> BACKUP DATABASE PLUS ARCHIVELOG; Control file SPFILE Archived log file Data files Control files Copies of 1 2 3

Copyright © 2007, 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 Manage backups and view backup reports Monitor the flash recovery area

Copyright © 2007, Oracle. All rights reserved 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