Less15 Backups TB3

Embed Size (px)

Citation preview

  • 8/14/2019 Less15 Backups TB3

    1/22

    15Copyright 2005, Oracle. All rights reserved.

    Performing Database Backups

  • 8/14/2019 Less15 Backups TB3

    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 TB3

    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 TB3

    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 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 entirebackup solution expedites problem resolution.

    This ensures reliable data protection at lower cost

    and complexity.

  • 8/14/2019 Less15 Backups TB3

    5/22

    15-5 Copyright 2005, Oracle. All rights reserved.

    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.

  • 8/14/2019 Less15 Backups TB3

    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 indicate inclusion of: 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 TB3

    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 TB3

    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 serverparameter files

    Backs up files to the disk or tape

  • 8/14/2019 Less15 Backups TB3

    9/2215-9 Copyright 2005, Oracle. All rights reserved.

    Configuring Backup Settings

  • 8/14/2019 Less15 Backups TB3

    10/2215-10 Copyright 2005, Oracle. All rights reserved.

    Configuring Backup Settings

  • 8/14/2019 Less15 Backups TB3

    11/2215-11 Copyright 2005, Oracle. All rights reserved.

    Scheduling Backups: Strategy

    Select whole or partial database backup.

  • 8/14/2019 Less15 Backups TB3

    12/2215-12 Copyright 2005, Oracle. All rights reserved.

    Scheduling Backups: Options

  • 8/14/2019 Less15 Backups TB3

    13/2215-13 Copyright 2005, Oracle. All rights reserved.

    Scheduling Backups: Settings

  • 8/14/2019 Less15 Backups TB3

    14/2215-14 Copyright 2005, Oracle. All rights reserved.

    Scheduling Backups: Schedule

  • 8/14/2019 Less15 Backups TB3

    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 TB3

    16/2215-16 Copyright 2005, 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.

  • 8/14/2019 Less15 Backups TB3

    17/2215-17 Copyright 2005, Oracle. All rights reserved.

    Backing Up the Control File to a Trace File

    Full Notes Page

  • 8/14/2019 Less15 Backups TB3

    18/2215-18 Copyright 2005, Oracle. All rights reserved.

    Managing Backups

  • 8/14/2019 Less15 Backups TB3

    19/22

  • 8/14/2019 Less15 Backups TB3

    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 TB3

    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 TB3

    22/22