l15 backup restore and recovery
TRANSCRIPT
7/21/2019 L15 Backup Restore and Recovery
http://slidepdf.com/reader/full/l15-backup-restore-and-recovery 1/23
15Copyright © 2010, Oracle and/or its affiliates. All rights reserved.
Backup, Restore, and Recovery
7/21/2019 L15 Backup Restore and Recovery
http://slidepdf.com/reader/full/l15-backup-restore-and-recovery 2/23
Copyright © 2010, Oracle and/or its affiliates. All rights reserved.
Objectives
After completing this lesson, you should be able to! "escribe #ssbase database bac$up and restore options
! %erform #ssbase database bac$ups and restores
! "escribe #ssbase database recovery options
! %erform #ssbase database recoveries
7/21/2019 L15 Backup Restore and Recovery
http://slidepdf.com/reader/full/l15-backup-restore-and-recovery 3/23
Copyright © 2010, Oracle and/or its affiliates. All rights reserved.
Essbase Backup, Restore, and Recovery
Overview
&ac$up/restore capabilities provide protection in several 'ays.! (a)imi*e #ssbase database uptime for critical analysis
! #nsure data integrity
! %rovide +uic$ response to hard'are failure
7/21/2019 L15 Backup Restore and Recovery
http://slidepdf.com/reader/full/l15-backup-restore-and-recovery 4/23
Copyright © 2010, Oracle and/or its affiliates. All rights reserved.
Backup Options: Block Storage
! Operating system bac$up! #)port utility data only-
! Calculation script e)port data only-
! Automated #ssbase process archiving-
7/21/2019 L15 Backup Restore and Recovery
http://slidepdf.com/reader/full/l15-backup-restore-and-recovery 5/23
Copyright © 2010, Oracle and/or its affiliates. All rights reserved.
Operating System Backup
iles to bac$ up! #ssn.ind, #ssn.pag
! "bname.esm, "bname.tct, "bname.ind
! Appname.app, "bname.db, .lro
! "atabase files, such as O, CC, 34, 3#%, #5", and#
! #ssbase.sec, #ssbase.ba$
! #ssbase.cfg
! (a) and #C(" scripts
7/21/2019 L15 Backup Restore and Recovery
http://slidepdf.com/reader/full/l15-backup-restore-and-recovery 6/23
Copyright © 2010, Oracle and/or its affiliates. All rights reserved.
Export Utility
! Creates an AC66 te)t file of database data! 6s invo$ed from Administration ervices Console or (a)
! %roduces a file that can be loaded directly into a database
! Allo's an administrator to choose the level of data to be
e)ported 7 All data
7 evel 0 data
7 6nput data
7/21/2019 L15 Backup Restore and Recovery
http://slidepdf.com/reader/full/l15-backup-restore-and-recovery 7/23
Copyright © 2010, Oracle and/or its affiliates. All rights reserved.
alculation Script Export
#)porting data through calculation scripts offers some benefitsover the #)port utility.
! #)port subsets of data focused-
! #)port in binary format faster-
#)port utility options
ubset data e)port
&inary data e)port
Calculation script
e)port options
7/21/2019 L15 Backup Restore and Recovery
http://slidepdf.com/reader/full/l15-backup-restore-and-recovery 8/23Copyright © 2010, Oracle and/or its affiliates. All rights reserved.
Subset !ata Export
! Allo's more control of e)port data than the #)port utility! 6s e)ecuted from a calculation script
! %rovides numerous options for data e)port
7 (ember selection
7 Content 7 ormat
7 %rocess
7/21/2019 L15 Backup Restore and Recovery
http://slidepdf.com/reader/full/l15-backup-restore-and-recovery 9/23Copyright © 2010, Oracle and/or its affiliates. All rights reserved.
Binary !ata Export
! %rovides fast binary- e)port option! 6s e)ecuted from a calculation script
! Can output to binary files, te)t files, or 3"&(
7/21/2019 L15 Backup Restore and Recovery
http://slidepdf.com/reader/full/l15-backup-restore-and-recovery 10/23Copyright © 2010, Oracle and/or its affiliates. All rights reserved.
"utomated BSO Backup#Restore
$rior to Release %%
Automating bloc$ storage database bac$up prior to 3elease11 typically involves
! 4sing a (a) script
! %utting the database in read8only mode
! 4sing a third8party bac$up utility! 3eturning the database to read/'rite mode
7/21/2019 L15 Backup Restore and Recovery
http://slidepdf.com/reader/full/l15-backup-restore-and-recovery 11/23Copyright © 2010, Oracle and/or its affiliates. All rights reserved.
"utomated BSO Backup#Restore
Since Release %%
&O database bac$up and restore are easier in 3elease 11.
7/21/2019 L15 Backup Restore and Recovery
http://slidepdf.com/reader/full/l15-backup-restore-and-recovery 12/23Copyright © 2010, Oracle and/or its affiliates. All rights reserved.
"utomated Essbase Backup
7/21/2019 L15 Backup Restore and Recovery
http://slidepdf.com/reader/full/l15-backup-restore-and-recovery 13/23Copyright © 2010, Oracle and/or its affiliates. All rights reserved.
"utomated Essbase Restore
7/21/2019 L15 Backup Restore and Recovery
http://slidepdf.com/reader/full/l15-backup-restore-and-recovery 14/23Copyright © 2010, Oracle and/or its affiliates. All rights reserved.
&ransaction 'ogging and Replay
et up transaction logging in the essbase.cfg file. 9ou canvie' logged transactions and replay them in Administration
ervices Console.
:ie' logged transactions 3eplay logged transactions
7/21/2019 L15 Backup Restore and Recovery
http://slidepdf.com/reader/full/l15-backup-restore-and-recovery 15/23Copyright © 2010, Oracle and/or its affiliates. All rights reserved.
Spreads(eet Update 'ogging
! %rovides protection against lost spreadsheet transactions! 6s enabled in the essbase.cfg file
! %rovides t'o parameters
7 A4"6
7 A4"63 automatic clearing-
! Creates t'o audit log files
7 "bname.at)
7 "bname.alg
7/21/2019 L15 Backup Restore and Recovery
http://slidepdf.com/reader/full/l15-backup-restore-and-recovery 16/23Copyright © 2010, Oracle and/or its affiliates. All rights reserved.
Recovering )rom a *ailed !atabase
! #ssbase recovers the database automatically.! 3ecovery time is based on database si*e.
! #ssbase performs the follo'ing activities
7 ransaction recovery
7 6nde) file recovery 7 "ata8free space recovery
! 3ecovery procedures vary depending on the operation in
progress at the time of server interruption.
7/21/2019 L15 Backup Restore and Recovery
http://slidepdf.com/reader/full/l15-backup-restore-and-recovery 17/23Copyright © 2010, Oracle and/or its affiliates. All rights reserved.
"ggregate Storage Backup
One option manual bac$up! top the application.
! 4se the operating system to copy the application
directory.
! #)clude contents of the aggregate storage temp directory.
7/21/2019 L15 Backup Restore and Recovery
http://slidepdf.com/reader/full/l15-backup-restore-and-recovery 18/23Copyright © 2010, Oracle and/or its affiliates. All rights reserved.
Security Restoration: +ative Security
! A security bac$up file is essential.! 9ou can use one of the follo'ing methods to update the
bac$up
7 Administration ervices Console
7 (a)
! After server interruptions, you must copy the bac$up file
before restarting #ssbase erver.
7/21/2019 L15 Backup Restore and Recovery
http://slidepdf.com/reader/full/l15-backup-restore-and-recovery 19/23Copyright © 2010, Oracle and/or its affiliates. All rights reserved.
ui-
elect the database bac$up methods for bloc$ storagedatabases.
1. (a) backup database command
2. Operating system bac$up
;. mart :ie' database bac$up option<. Automated &ac$up/3estore
7/21/2019 L15 Backup Restore and Recovery
http://slidepdf.com/reader/full/l15-backup-restore-and-recovery 20/23Copyright © 2010, Oracle and/or its affiliates. All rights reserved.
ui-
#ssbase erver automatically creates additional files 'hen the#)port utility generates a file larger than10 =&.
1. rue
2. alse
7/21/2019 L15 Backup Restore and Recovery
http://slidepdf.com/reader/full/l15-backup-restore-and-recovery 21/23Copyright © 2010, Oracle and/or its affiliates. All rights reserved.
ui-
elect the Administration ervices Console commands usedfor #ssbase automated bac$up and restore.
1. Archive "atabase
2. ransfer Archive to >on8production "ata tore
;. 3estore "atabase<. "isplay Archive og
7/21/2019 L15 Backup Restore and Recovery
http://slidepdf.com/reader/full/l15-backup-restore-and-recovery 22/23Copyright © 2010, Oracle and/or its affiliates. All rights reserved.
ui-
9ou must have the Administrator role to use the automatedbac$up feature.
1. rue
2. alse
7/21/2019 L15 Backup Restore and Recovery
http://slidepdf.com/reader/full/l15-backup-restore-and-recovery 23/23
Summary
6n this lesson, you should have learned to! "escribe #ssbase database bac$up and restore options
! %erform #ssbase database bac$ups and restores
! "escribe #ssbase database recovery options
! %erform #ssbase database recoveries