Backup & Recovery

Backup & Recovery: Backup and Recovery is one of the most important strategies one should define as an administration activity. Backup Types: Information backup categories: • Configuration backup • Data backup Configuration Backup After installing Oracle s !yperion soft"are# you must configure the components. Configuration Information includes but is not limited to: database location# log settings# $eb server Configuration and port numbers. Configuration information is stored in the: • Registry • Configuration files %generally "ith .properties e&tensions' • Configuration .()* files • Directory structure In general# configuration backup can be used only in limited cases Database Backup Types +ou can use several types of database backup# depending on your computing environment. Logical Export In principle# logical e&port generates necessary ,-* statements to obtain all the data from all tables# and in most cases# "rites to a binary file. *ogical e&port does not contain database instance.related information such as the physical disk location# so it is possible to restore the same data on another database machine "ith a different setup. /eriodic logical e&ports %at least once a "eek' are useful if physical backups fail or the database machine is unavailable. Physical ull Backup /hysical backups are copies of physical database files. 0or e&ample# a physical backup might copy database content from a local disk drive to another secure location. A physical backup can be hot or cold: !ot backup12sers can make changes to the database during a hot backup. *og files of Changes made during the backup are saved# and the logged changes are applied to ,ynchroni3e the database and the backup copy. A hot backup is used "hen a full backup is needed and the service level does not allo" system do"ntime for a cold backup. Col" backup#2sers cannot make changes to the database during a cold backup# so the database and the backup copy are al"ays synchroni3ed. Cold backup is used only "hen the service level allo"s for the re4uired system do"ntime. +ou can perform a full or incremental physical backup: 5ote: A cold full physical backup is recommended.

< %to back up the configuration and Reconfiguration settings "ritten to the .hared . 6his backup type protects data from application error and safeguards against une&pected loss by providing a "ay to restore original data.related information# such as the physical disk location# so you can restore the same data on another database machine. /eriodic logical e&port backups %at least "eekly' are recommended in case physical backups fail or the database machine becomes unavailable. 6he files differ for databases# but the principle is that only transaction log files created since the last backup are archived. Logical Backup A logical backup copies data# but not physical files# from one location to another.installation1Directories created or modified if you reconfigure products Daily incremental15e" directories or files or those modified since the previous day %including repository content and log files' $eekly full1All files in the directories for "hich you perform daily incremental backups As needed1Data that is modified infre4uently 0or : !yperion home directory %to back up all installed products'# especially these subdirectories: !+/7RIO58!O)79common9config9:. A logical backup is used for moving or archiving a database# tables# or schemas and for verifying the structures in database.<.hared .-*' statements to obtain all table data that is "ritten to a binary file. ile &yste% Backup Types A complete file system backup includes an entire system directory..ystem products.top all related services. /erform this backup "eekly# or bi"eekly# depending on ho" often your data changes.ull1creates a copy of data that can include parts of a database such as the control file# transaction files %redo logs'# archive files# and data files. • • . A logical e&port backup does not contain database instance. A full logical backup enables you to copy these items across environments that use different components# such as operating systems: 7ntire applications Data repositories such as the Oracle s !yperion . Incremental backup can be done hot# "hile the database is in use# but it slo"s database performance.tructured -uery *anguage %.. 5ote: 6he database must be in archive log mode for a full physical backup.ervices Registry' Preparing for Backup Complete these tasks before starting a cold backup: • . • .top products and ensure that all users have logged off. 0or e&ample# backing up the !yperion home directory backs up all installed 7/) . )aking full backups cold# so that users cannot make changes during the backups# is recommended. +ou can also perform file system backups of these types and fre4uencies: /ost.ervices Registry and Oracle 7ssbasecubes • Individual artifacts such as scripts# data forms# and rule files A logical e&port backup generates necessary . $ncre%ental1Captures only changes made after the last full physical backup.

<<<<<<<<<&. Open*DA/ database# if Open*DA/ is used as the .ervices relational database and the Open*DA/database. 25I(1Running backup.<<<<<<<<<&. .hared .ervices relational database# "hich contains the Oracle s !yperion .5ote: +ou can also perform hot backups on 7/) . oun"ation &ervices &hare" &ervices .ervices 5ative Directory >.<<<<<<<<<&.ystem application data • .hared .ervices databases: =.ervices "hen Open*DA/ is used as 5ative Directory: =.data9log.hared .hared .ervices Registry# "hich stores most product Configuration settings. tools# perform a full backup of the . Perfor%ing a !ot Backup an" Recovery 6o perform a hot backup of . A backup copies the logs to the log files %$indo"s' or *og 0iles %25I(' subfolder of the backup folder. Oracle Internet Directory database if Oracle Internet Directory is used as the .hared .ystem products# "ith some limitations for individual products as described later in this document.bat c: 9temp9bck copies the logs to c:9temp9 bck9logfiles9log. Back up any related components# including .hared . 2. 6hese backups must be /erformed at the same time. 7&amples: %25I(' $indo"s1Running backup. /erform this backup at the same time as the 5ative Directory database backup.ervices backups must be synchroni3ed "ith product backups to preserve provisioning data.hared .hared .ervices Registry. Backing 'p the &hare" &ervices Relational Database 2sing RDB).sh c: 9temp9bck copies the logs to c:9temp9bck9 *og0iles9log.ervices 6his database contains . Relational database for . Database Backup Back up these "atabases: • Databases that store 7/) .ervices 5ative Directory 6hese backups are recommended: • /hysical full backup immediately after installation and configuration • $eekly cold backup "ith complete backup of files under !+/7RIO58!O)79 /roducts90oundation9open*DA/ • Daily hot backups of transaction logs after Open*DA/ checkpoints are run 6he transactions logs are in!+/7RIO58!O)79products90oundation9open*DA/9 var9openldap.hared .hared .

.sh %25I('# and AcatRecoveryB is the option used to recover from a catastrophic failure.ervices# the backed up configuration and data files are placed in a subdirectory of !+/7RIO58!O)7 products90oundation.bdb 0or : 0or . .properties • $orkflo"7ngine. tools# using the backup "ith the same date as the Open*DA/ backup.@ • @.hared .hared . >.hared .cheduler.hared .properties • manage8data. Run this command to create a hot backup of Open*DA/: !+/7RIO58!O)79products90oundation9server9scripts9backup file backup8folder# "here backup file is backup.properties • .ervices Open*DA/ recovery from a catastrophic failure# you must restore these items: • An archival copy %or snapshot' of all database files • All log files "ritten after the snapshot "as made $hen you recover .ervices.bat %$indo"s' or recover.top Open*DA/ and . ?.properties In !+/7RIO58!O)7: • log.ervices relational database "ith RDB).sh 9home9username 9backups9!. If the failure "as not catastrophic# the files present on the system at the time of failure are sufficient for recovery.8backup 25I( 9home9username9!yperion9products90oundation9server9scripts9 backup. Recover the .erver9.ervices:9config: • Domain.bat %$indo"s' or backup.bat !. 6o recover .&ml • slide.ervices from a hot backup: =.sh %25I(' 7&amples: $indo"s c:9!yperion9products90oundation9server9scripts9backup.hared.hared ..?.8backup 6hese files are backed up: In !+/7RIO58!O)79deployments9App..hared . 0or . If you use Open*DA/ as 5ative Directory# recover the Open*DA/ database by running !+/7RIO58!O)79products90oundation9server9scripts9recover8file backup8folder AcatRecoveryB# "here recover8file is recover.ervices Open*DA/ recovery from a catastrophic failure# you must restore these items: Open*DA/ has t"o recovery modes# catastrophic and noncatastrophic.

Restore the O.ystem Installer# 0usion 7dition# install .8backup catRecovery 6he backed up configuration and data files are placed in a subdirectory of the .hared. Restore the cold backup of the .ervices home directory.@ files in the home directory of the user name used for configuring the product user profile %.hared .sh 9 home9username9!.b at.hared .ervices "hen Open*DA/ is used as 5ative Directory: =.hut do"n the . . >.ervices relational database using database tools.ervices $eb application service must be recreated# run !+/7RIO58!O)79deployments9App. Optional: $indo"s1Back up these $indo"s registry entries: !C*)9.ervices:.ervices relational database and perform a cold backup using RDB). tools.bat c:9!.top Open*DA/ and . Restore the . Back up the .tart the Open*DA/ service and Oracle s !yperionG .!yperion.ervices.ervices directory from the file system. EP( )orkspace 6his section provides general backup and recovery procedures for 7/) $orkspace .hared .hared .ervice.erver9bin9install. ?..ervices files are in !+/7RIO58!O)79deployments and !+/7RIO58!O)79products90oundation. Optional: Restore the $indo"s registry entries from the cold backup.profile or e4uivalent' file for the user name used for configuring the product D. Perfor%ing a Col" Backup an" Recovery: 6o perform a cold backup of . E.olutions 25I(1Back up these items: .hared . .. . >.hared .hared . .ervices is created during installation.hared .8backup 25I( catastrophic recovery 19home9username9!yperion9products90oundation9server9scripts9recover.hared .7&amples: $indo"s noncatastrophic recovery1 C:9!yperion9products90oundation9server9scripts9recover. 5ote: Do not configure the installation..hared .ervices. Open*DA/ .hared .ervices from a cold backup: =. .O06$AR79O/75*DA/ !C*)9. ?.O06$AR79!yperion . F. 2sing Oracle !yperion 7nterprise /erformance )anagement .ervices cold backup directory from the file system D.hared . 6o recover .ervices binaries.. %$indo"s' If .

top all products and related services.<. )essages are also logged "hen maintenance mode is turned off.ervice activity is put on hold.J0onts %$indo"s' or!+/7RIO58!O)79products9biplus9fonts %25I('.Backing up EP( )orkspace 6o enable 7/) $orkspace recovery after a failure: =.-* statement to insert a ro" in the vK8service8mode table in the Reporting and Analysis repository schema "ith the values of vK8service8mode. • 7vent ..start8delayL><# services reNect re4uests after >< minutes.valueL= andvK8service8mode. ?. /erform a "eekly full or daily incremental backup of these folders: !+/7RIO58!O)79logs9BI/lus !+/7RIO58!O)79common9"orkspacert9:. $hile services are suspended: • 2sers cannot log on to 7/) $orkspace. • . including the entire registry and the repository database.<9"search Repository )anager location 5ote: 6his location %!+/7RIO58!O)79products90oundation9"orkspace9data9R)=8host by default' is set during Reporting and Analysis configuration. Back up !+/7RIO58!O)79deployments9App. . &uspen"ing EP( )orkspace an" Reporting an" *nalysis &ervices 5ote: 6he follo"ing information pertains to services that are in the registry.value L = %true' or < %false'.. • 2sers "ho logged on earlier cannot perform actions.ervice log messages indicate that the service is in maintenance mode.Delay the start time by increasing the default value of vK8service8mode. Backing 'p the EP( )orkspace ile &yste% 6o back up the file system: =."rite re4uests to the database are not processed. Back up the file system.erver9$orkspace. Copy these folders to a storage device or another net"ork location after you install or reconfigure 7/) !+/7RIO58!O)79products90oundation9"orkspace 0olders containing your custom development resources ?. 0or e&ample# if setvK8service8mode.ttf' in C:J$I5DO$.. Instead of shutting do"n services before performing a backup# you can suspend services by putting them in maintenance mode. >. D.Back up all 7/) $orkspace components as described in H/reparing for BackupI . • Read. 3.ervices background activities that result in database updates# such as repository garbage collection are put on hold. .start8delayLminutes.nameLM)AI5675A5C7M and vK8service8mode. Back up A5DA*7 fonts %A5DA*7@. 6his process initially includes running a .

As an e&tra precaution# you can back up the product components in !+/7RIO58!O)79products90oundation9CA*C. and (*.mart Oie"# copy the )icrosoft Office data files to another location. documentation. /lace the copied directories and files in their original locations Calculation (anager 6o enable recovery after a failure# you need back up only the database that you use "ith !yperion Calculation )anager# as described in the RDB).Restoring EP( )orkspace 6o restore 7/) $orkspace after a failure: Recover all components that you backed up# including the registry and the repository database.Include these file types: • (*. . &%art +ie. 6o back up .( %7&cel' • DOC and DOC( %$ord' • //6 and //6( %/o"er/oint' 6o recover from a failure# replace the backed up )icrosoft Office data files in their original *ocations.

Sign up to vote on this title
UsefulNot useful