Backup Types. Backup and Recovery. Categories of Failures. Issues. Logical. Cold. Hot. Physical With. Statement failure



Similar documents
11. Configuring the Database Archiving Mode.

12. User-managed and RMAN-based backups.

Backup/Restore Oracle 8i/9i/10g

Oracle Data Guard for High Availability and Disaster Recovery

HP LeftHand SAN Solutions

Oracle Backup & Recovery

Restore and Recovery Tasks. Copyright 2009, Oracle. All rights reserved.

If you have not multiplexed your online redo logs, then you are only left with incomplete recovery. Your steps are as follows:

DOCUMENTATION ORACLE BACKUP & RESTORE OPERATIONS

Oracle 12c Recovering a lost /corrupted table from RMAN Backup after user error or application issue

RMAN BACKUP & RECOVERY. Recovery Manager. Veeratteshwaran Sridhar

Oracle DBA Course Contents

Strategies for Oracle Database Backup and Recovery: Case Studies. Mingguang Xu

Using RMAN to restore a database to another server in an ASM environment

Oracle 11g DBA Training Course Content

Oracle Architecture. Overview

HOW TO. RMAN Restore for Standby 10gR2

Oracle Database 10g: Backup and Recovery 1-2

Database Recovery For Newbies

Agenda. Overview Configuring the database for basic Backup and Recovery Backing up your database Restore and Recovery Operations Managing your backups

Database Extension 1.5 ez Publish Extension Manual

Use RMAN to relocate a 10TB RAC database with minimum downtime. Tao Zuo tao_zuo@npd.com NPD Inc. 9/2011

Oracle 11gR2 : Recover dropped tablespace using RMAN tablespace point in time recovery

Backup/Recovery Strategy and Impact on Applications. Jacek Wojcieszuk, CERN IT Database Deployment and Persistancy Workshop October, 2005

This appendix describes the following procedures: Cisco ANA Registry Backup and Restore Oracle Database Backup and Restore

MapGuide Open Source Repository Management Back up, restore, and recover your resource repository.

Recover Oracle Database upon losing all Control Files

BrightStor ARCserve Backup

Zen Internet. Online Data Backup. Zen Vault Professional Plug-ins. Issue:

11. Oracle Recovery Manager Overview and Configuration.

REDCENTRIC SOFTWARE ORACLE PLUG-IN FOR SOLARIS AGENT X86 VERSION

Restoring To A Different Location With EBU And RMAN An AppsDBA Consulting White Paper

NEC Storage NV Series

Oracle. Brief Course Content This course can be done in modular form as per the detail below. ORA-1 Oracle Database 10g: SQL 4 Weeks 4000/-

Automatic Backup in Oracle Database

Many DBA s are being required to support multiple DBMS s on multiple platforms. Many IT shops today are running a combination of Oracle and DB2 which

Oracle 11g Database Administration

Oracle server: An Oracle server includes an Oracle Instance and an Oracle database.

MyOra 3.0. User Guide. SQL Tool for Oracle. Jayam Systems, LLC

Oracle Backup and Recovery Best Practices Dell Compellent Storage Center. Dell Compellent Technical Best Practices

Oracle Backup, Recovery, and Performance Tuning using EMC Avamar and Oracle RMAN

LOGGING OR NOLOGGING THAT IS THE QUESTION

UNIVERSITY AUTHORISED EDUCATION PARTNER (WDP)

Database Disaster Recovery using only RMAN Backups

Migrate Topaz databases from One Server to Another

ASM and for 3rd Party Snapshot Solutions - for Offhost. Duane Smith Nitin Vengurlekar RACPACK

Oracle9i Data Guard: SQL Apply Best Practices. An Oracle White Paper September 2003

Oracle Backup and Recover 101. Osborne Press ISBN

ORACLE CORE DBA ONLINE TRAINING

Getting all the pieces: Reliable Backup/Recovery

DBMS Questions. 3.) For which two constraints are indexes created when the constraint is added?

What's the Point of Oracle Checkpoints? Harald van Breederode Oracle University 29-OCT-2009

Oracle Database 12c: Admin, Install and Upgrade Accelerated

Feature. Database Backup and Recovery Best Practices

Backing up and restoring HP Systems Insight Manager 6.0 or greater data files in a Windows environment

Enterprise DBA Part 1A: Architecture and Administration

Best Practices White Paper Using Oracle Database 10g Automatic Storage Management with FUJITSU Storage

Configuring Backup Settings. Copyright 2009, Oracle. All rights reserved.

Ultimate Guide to Oracle Storage

Enterprise DBA Part 1B: Backup and Recovery Workshop

Oracle Database Security and Audit

RMAN What is Rman Why use Rman Understanding The Rman Architecture Taking Backup in Non archive Backup Mode Taking Backup in archive Mode

CWMS System Backup / Oracle Backup and Recovery

DBMaster. Backup Restore User's Guide P-E5002-Backup/Restore user s Guide Version: 02.00

MyOra 3.5. User Guide. SQL Tool for Oracle. Kris Murthy

Using HP StoreOnce Backup systems for Oracle database backups

Oracle Database: SQL and PL/SQL Fundamentals NEW

DB2 backup and recovery

The Ultimate Remote Database Administration Tool for Oracle, SQL Server and DB2 UDB

SQL-BackTrack the Smart DBA s Power Tool for Backup and Recovery

TECHNICAL REPORT. Nimble Storage Oracle Backup and Recovery Guide

Oracle 11g DBA Online Course - Smart Mind Online Training, Hyderabad. Oracle 11g DBA Online Training Course Content

Rob Zoeteweij Zoeteweij Consulting

Oracle Recovery Manager 10g. An Oracle White Paper November 2003

How to protect, restore and recover SQL 2005 and SQL 2008 Databases

D12C-AIU Oracle Database 12c: Admin, Install and Upgrade Accelerated NEW

Implementing an Enterprise Class Database Backup and Recovery Plan

Oracle Data Guard. Caleb Small Puget Sound Oracle Users Group Education Is Our Passion

Oracle Database Security. Nathan Aaron ICTN 4040 Spring 2006

Database Administration with MySQL

EISOO AnyBackup 5.1. Detailed Features

EMC DOCUMENTUM xplore 1.1 DISASTER RECOVERY USING EMC NETWORKER

DB2 Backup and Recovery

Oracle Architecture, Concepts & Facilities

<Insert Picture Here> RMAN Configuration and Performance Tuning Best Practices

ORACLE INSTANCE ARCHITECTURE

DB2 - DATABASE SECURITY

System Administration of Windchill 10.2

One Solution for Real-Time Data protection, Disaster Recovery & Migration

BrightStor ARCserve Backup for Windows

How To Restore An Org Server With Anor Backup For Windows (Oracle)

Oracle 10g Feature: RMAN Incrementally Updated Backups

DB2 9 for LUW Advanced Database Recovery CL492; 4 days, Instructor-led

Oracle Database 11 g Performance Tuning. Recipes. Sam R. Alapati Darl Kuhn Bill Padfield. Apress*

IBM Sterling Control Center

Oracle Recovery Manager

Transcription:

Backup Types Logical Backup and Recovery Cold Hot Physical With Without Issues Categories of Failures Protectthe database from numerous types of failures Increase Mean-Time-Between-Failures (MTBF) Decrease Mean-Time-To-Recover(MTTR) Minimize data loss Logic error in an application Attempt to enter bad data into the table Attempt an operation with insufficient privileges Attempt an INSERT or UPDATE to a table, causing an extent to be allocated, but with insufficient free space left in the tablespace No Recovery

Categories of Failures Categories of Failures User process failure No Recovery PMON User process failure User error Recovery IMP Utility The user performed an abnormal disconnect in the session. The user s session was abnormally terminated. The user s program raised an address exception terminating the session. Accidental DROP TABLE; Accidental TRUNCATE TABLE; Accidental DELETE / UPDATE; Categories of Failures User process failure User error Instance failure HardWare Problem on CPU / RAM No Recovery PMON SMON Categories of Failures User process failure User error Instance failure Media failure HardWare Problem on I/O Device Recovery Physical

Requirements for Strategy Physical Backup Methods Business requirements Evolutionary process Technical requirements Hardware, software, man power and time Database configurations Transaction volume Frequency of backups Operational requirements 7-day / -hour operations Testing and validating backups No archive mode Archive mode Physical backup Online redo log s Group 0 0 ARCHIVELOG Group 0 0 ARC0 LOG_ARCHIVE_DEST Archived log 0 /disk/archive/ arch%s.arc LOG_ARCHIVE_FORMAT Enabling ARCHIVELOG Mode Startup mount Init.ora Alter database ARCHIVELOG Shutdown normal or immediate Alter database open Full database backup Shutdown normal or immediate

SHUTDOWN IMMEDIATE; Physical Closed Database Backup Advantages of Physical Closed Database Backups Data s s HOST cp <s> /backup/ s Password Parameter s Conceptually simple Easy to perform Require little operator interaction STARTUP OPEN; Onlineor offline storage s Parameter s Pwd Physical Opened Database Backup () Archived redo log s Online redo log s Onlineor offline storage HOST cp <s> /backup/ Physical Opened Database Backup () All tablespace data s SQL> alter tablespace <name> begin backup; Data s Individual data Onlineor offline storage HOST cp <s> /backup/ SQL> alter tablespace <name> end backup;

Advantages of Physical Opened Database Backups Data s s ARC0 Archived log Maintainshigh database availability Can be done at a tablespace or data level Supportsnonstop business operations ARC0 Archived log Archived log ARC0 Data s s Data s s

Archived log ARC0 Archived log ARC0 Data s s Data s s Data s Archived log ARC0 Archived log ARC0 8 Data s s Data s s 7 8 Data s Data s

Shutdown Startup Mount O.S. Restore From Hot or Cold Physical BackUp DataFile (s) S.C.N. System Change Number s Data s 8 7 8 Recover DataFile (s) Automatic a b Applyed Archived Logs # # #7 Applyed On Line Logs #8 # Alter DataBase Open Shutdown Immediate New Cold Physical BackUp Startup Open Data s Header RedoRecord Incremental Time Stamp UniqueIdentified Committed Version D.B. Log # Log Low SCN # Higth SCN # Logical Backup Methods Oracle Export and Import Utilities An interactive dialog The export page of the Data Manager within Enterprise Manager The command line interface, by specifying parameters Theseutilities enable you to do the following: Archive historical data Save table definitions (with or withoutdata) to protect from user error failure Move data between machines and databases or versions of the Oracle server Transport tablespaces between databases

Formato Binario Proprietario Export Concepts Oracle Server Data Base Exp File *.dmp Generate SQL commands Two-Task common (TTC) SQL command processing Buffer cache manager Analyze blocks Data Base Imp a Dump Full TTC buffer Owner IncType Complete Evaluating buffer Buffer cache Tables Read blocks Oraclei Server b c IncType Cumulative IncType Incremental KEYWORD DESCRIPTION (DEFAULT) ----------------------------------------------------------------- USERID username/password BUFFER size of data buffer FILE output s (EXPDAT.DMP) LOG log of screen output PARFILE parameter name FILESIZE maximum size of each dump COMPRESS import into one extent (Y) CONSISTENT cross-table consistency (N) GRANTS export grants (Y) INDEXES export indexes (Y) ROWS export data rows (Y) CONSTRAINTS export constraints (Y) TRIGGERS export triggers (Y) FULL export entire DataBase (N) OWNER list of owner usernames TABLES list of table names INCTYPE incremental export type DIRECT direct path (N) STATISTICS analyze objects (ESTIMATE) Command -Line Method > exp scott/tiger =scott.dmp owner=scott grants=y rows=y compress=y Export Messages Export: Release..0..0 - Production on Fri Oct 0 0:: 8 (c) Copyright 00 Oracle Corporation. All rights reserved. Connected to: Oraclei Enterprise Edition Release..0..0 - Production With the Partitioning option PL/SQL Release..0..0 - Production Export done in WE8DEC character set and WE8DEC NCHAR character set. exporting pre-schema procedural objects and actions. exporting foreign function library names for user SCOTT. exporting object type definitions for user SCOTT About to export SCOTT s objects.... exporting database links. exporting sequence numbers. exporting cluster definitions. about to export SCOTT s tables via Conventional Path..... exporting table BONUS 0 rows exported.. exporting table DEPT rows exported.. exporting table EMP rows exported

Oracle Standby Implementation IncType Complete IncType Incremental -----> Exp IncType Generic Fail over Solution Disaster Recovery Solution (if remote) Ease of implementation Minimum impact on Production System Read Only Standby Database IncType Cumulative -----> Exp IncType Cumulative or Complete Overview of Managed Oracle Standby DB Primary Instance Standby Instance ARCH T.N.S. Recovery proc DBWR Arc log Arc log RFS Primary DB Standby DB Primary control Standby control Recovery Mode ReadOnlyMode Activate