TYPES OF BACKUP AND RECOVERY

Slides:



Advertisements
Similar presentations
INTRODUCTION TO ORACLE Lynnwood Brown System Managers LLC Backup and Recovery Copyright System Managers LLC 2008 all rights reserved.
Advertisements

DBA 101 Bootcamp New DBA Series Backup 101 April 12, 20111Paper #352.
1 Getting The Most Out of RMAN By: Charles Pfeiffer CIO, Remote Control DBA (888)
Harvard University Oracle Database Administration Session 10 Database Backups.
Database Backup and Recovery
INTRODUCTION TO ORACLE Lynnwood Brown President System Managers LLC Data Loading & Backup And Recovery Lecture 5 Copyright System Managers LLC 2003 all.
RMAN Restore and Recovery
Backup and Recovery Part 1.
Chapter 12 Performing Incomplete Recovery. Background Viewed as one of the more difficult chapters to write Thought it was important to put in material.
Harvard University Oracle Database Administration Session 11 Database Recovery.
CHAPTER 16 User-Managed Backup and Recovery. Introduction to User Managed Backup and Recovery Backup and recover is one of the most critical skills a.
Configuring Recovery Manager
4 Copyright © 2008, Oracle. All rights reserved. Configuring Backup Specifications.
CHAPTER 5 Managing Control Files, Online Redo Logs, and Archiving.
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.
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.
Oracle backup and recovery strategy
Introduction to Oracle Backup and Recovery
Using RMAN to Perform Recovery
CHAPTER 16 User-Managed Backup and Recovery. Introduction to User Managed Backup and Recovery Backup and recover is one of the most critical skills a.
IS 4510 – Database Administration Module – 2 Database Backup 10/24/20141Compiled by: Zafar Iqbal Khan.
Backup & Recovery Concepts for Oracle Database
Oracle Database Administration
13 Copyright © Oracle Corporation, All rights reserved. RMAN Complete Recovery.
PPOUG, 05-OCT-01 Agenda RMAN Architecture Why Use RMAN? Implementation Decisions RMAN Oracle9i New Features.
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.
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.
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.
Backup & Recovery Backup and Recovery Strategies on Windows Server 2003.
RMAN: Your New Best Friend for Backup and Recovery Ruth Gramolini ORACLE DBA Vermont Department of Taxes.
15 Copyright © 2007, Oracle. All rights reserved. Performing Database Backups.
CHAPTER 5 Managing Control Files and Online Redo Logs.
17 Copyright © Oracle Corporation, All rights reserved. Recovery Catalog Creation and Maintenance.
Chapter 8Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 8 Complete Recovery with Recovery Manager.
15 Copyright © Oracle Corporation, All rights reserved. RMAN Incomplete Recovery.
IT Database Administration Section 09. Backup and Recovery Backup: The available options Full Consistent (cold) Backup Database shutdown, all files.
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.
Backup and Recovery Part 2. Online backup Online backup requirements: Backup all data files (file system copy) Backup all redo information produced during.
Overview of Oracle Backup and Recovery Darl Kuhn, Regis University.
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.
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.
18 Copyright © 2004, Oracle. All rights reserved. Recovery Concepts.
14 Copyright © 2005, Oracle. All rights reserved. Backup and Recovery Concepts.
10 Copyright © 2007, Oracle. All rights reserved. Using RMAN Enhancements.
14 Copyright © 2007, Oracle. All rights reserved. Backup and Recovery Concepts.
What is Flashback? Technology that allows you to revert the database to a point in time in the past Several versions of flashback available Different types.
Control File Information The database name The timestamp of database creation The names and locations of associated datafiles and redo log files Tablespace.
RMAN Maintenance.
RMAN Maintenance.
Recovery Catalog Creation and Maintenance
Backup and Recovery (1) Oracle 10g Hebah ElGibreen CAP364.
Configuring Recovery Manager
Performing Tablespace Point-in-Time Recovery
Performing Tablespace Point-in-Time Recovery
Duplicating a Database
Performing Database Recovery
ISYS366, Oracle Disk Internals
Presentation transcript:

TYPES OF BACKUP AND RECOVERY

Oracle database is a well known database that provides complete solution over storing and managing a large amount of relational data with ease. It is an intelligent database but sometime you may face errors and other issues that prevents you to access your stored information, to get rid of these it is suggested to create backup of your database and update them on regular basis. With the help of backup you can deal with all types of errors and corruption issues. Oracle contains four different types of backups through which you can create the backup of your database. About

Types of backups in Oracle Database. 1. Cold backup: 2. Hot backup: 3. RMAN Backup: 4. Import – Export Backup:

1. Cold backup: This backup is helpful if your database is in noarchive log mode, to create a cold backup apply the below given steps: Step 1: First close the database with the help of “Sql>shutdown immediate;” command Step 2: After it copy the data files, control files and redolog files to your desired destination manually. Step 3: Start the database with the help of “Sql>startup;” command

2. Hot backup: This backup method is used when database is in archive log mode. Apply the below given steps to create hot backup without any database outage. Step 1: Run the below given commands in order to get the logs for hot backup in separate logfile. Step 2: Sql>alter database begin backup;

Step 3: Copy data files, control files and redo log files manually to your desired destination without closing the database. Step 4: Close the hot backup by running the command: Sql>alter database end backup; Step 5: After completion of hot backup switch the log file. Use below given command: Sql>alter system switch logfile; Copy archive files which is used to recover the database. Copy this command to recover database: sql>recover database using contolfile autobackup untill cancel;

3. RMAN Backup: 1. RMAN Without recovery catalog: Note: Database should be in archivelog mode. Step 1: Apply this command: RMAN>backup database; Step 2: To create backup of tablespace use the below command Rman>backup tablespace tablespace_name;

Step 3: To create backup of datafile copy the following command. Rman>backup datafile ‘C:\oracle\product\10.2.0\oradata\orcl\datafile_name’; All these backups will get stored in flash_recovery_area by default.

4. Import – Export Backup: Data guard is the new feature of Oracle that allows the user to transfer data from one location to another at high speed. It is packed with two utilities: 1.Export utility 2.Import Utility Export utility: With the help of this tool one can store the database objects in the storage media like disks outside the database. Import Utility: This allows the user to load the objects to the database from the storage media.

Export operation: Step 1: First create a directory, use C:\>mkdir c:\backup Step 2: After it connect to the database and create the directory for backup Sql>create directory backup as ‘c:\backup’; The directory created. Step 3: Move to the host mode. Sql>host

Step 4: Navigate to the directory C:\oracle\product\10.2.0\db_1\BIN C:\>cd C:\oracle\product\10.2.0\db_1\BIN Step 5: Run the export command. C:\oracle\product\10.2.0\db_1\BIN> expdp sys/test directory=bkup dumpfile=bfull.dmp logfile=bfull.log full=y In order to run import operation execute the below given command. C:\oracle\product\10.2.0\db_1\BIN> impdp sys/test directory=bkup dumpfile=bfull.dmp logfile=bfull.log full=y

/alexwaston14/file-repair-tool /u/3/b/ /Oracle-File-Repair- Tool/ /OracleRepair