Вы находитесь на странице: 1из 17

PRESENTED BY:

VIVEK JAISWAL

BACKUP
The Process Of Periodically Taking A Copy Of The Database And Log File On To Offline Storage Media.

In IT, A Backup, Or The Process Of Backing Up, Refers To The Copying & Archiving Of Computer Data So It May Be Used To Restore The Original After A Data Loss Event.

Backup Process
Hot Backup
Cold Backup Oracle Backup Option Offline Physical Backup Storage media for Backup Online Physical Backup Logical Backup

Hot Backup
Also called as Dynamic Backup. It is a backup performed on data even though it is actively accessible to users and may currently be in a state of being updated. Hot backups can provide a convenient solution in multi-user systems, because they do not require downtime.

Hot backups involve certain risks also if the data is altered while the backup is in progress, the resulting copy may not match the final state of the data. If recovery of the data becomes necessary, the inconsistency must be resolved.

Hot Backup Purposes


Allows Backup Of The Database While The Database Is Running And Available To Users. Performance Degrades During The Backup Period. Takes Longer Than A Cold Backup.

Cold Backup
Also Called As Offline Backup. Its A Database Backup When The Database Is Offline And Thus Not Accessible For Updating. Its A Safest Way To Backup Because It Avoids The Risk Of Copying Data That May Be In The Process Of Being Updated. However, A Cold Backup Involves Downtime Because Users Cannot Use The Database While It Is Being Backed Up.

Cold Backup

Cold Backup Purpose


Requires Database Shutdown Before Backup Begins. Physical Files Are Backed Up While Shutdown. Database Is Unavailable To Users During Backup Period. Faster Than A Hot Backup.

Oracle Backup Options


Off-line Physical Backup
Is A Cold Backup Technique

Copies Data Files, Log Files & Control Files After Shutdown On-line Physical Backup
Is A Hot Backup Technique Temporarily Sets Table spaces Into Backup Mode Is A Hot Backup Technique Exports All Or Part Of The Database By Creating SQL Scripts Necessary To Recreate The Objects.

Logical Backup

Oracle Backup Options

Off-line Physical Backup


Offline Physical Backup It Is A Process Of Backing Up Data Physically On The Hard Drive Offline . Shut down the database Backup the data files Backup the control files Backup the online redo log files or the archive log files Backup the initialization and password files Restart the database

Storage Media For Backup


Magnetic Tape Hard Disk Optical Storage Solid State Storage Remote Backup Service Floppy Disk

On-line Physical Backup


Requires The DB To Be In Archive Log Mode For Each Tables pace

Set The Table space Into A Backup State Backup The Data files For That Table space Restore The Table space To Its Normal State

On-line Physical Backup


Backup The Archived Redo Log Files
Stop The Archiving Process Note Which Files Are In The Arch Log Directory Restart The Archiving Process Backup The Archived Redo Log Files Delete The Archived Redo Log Files

Backup The Control File Using The Alter Database Backup Control file Command Backup The Initialization And Password Files

Logical Backup
Essentially Creates SQL Scripts That Will Recreate Database Objects Use Oracle Export Utility To Create .Dmp File Use Oracle Import Utility To Selectively Import Database Objects From The .Dmp File Can Perform
Complete Database Backup User (Schema) Backup Individual Table Backup

Used In Conjunction With A Recovery Server To Recover Selected Objects (Not Entire Database)

Backup Types
Complete (Full) Cumulative (Differential) Incremental
Copy All Database And Related Files Delete The Archive Log Files

Copy Blocks That Have Changed Since Last Full Backup Or Copy All Archive Log Files Generated Since Last Full Backup Copy Blocks That Have Change Since The Last Partial Backup Or Copy All Log Files Generated Since Last Partial Backup
Copy All Target Data Dont Include The Set In Backup Set Logic

Complete (Copy)

17

Вам также может понравиться