Home > Oracle Tips > Oracle Database Administrator > Mike Ault's Oracle "good practices": Backup, failover and disaster recovery
Oracle Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

ORACLE DATABASE ADMINISTRATOR

Mike Ault's Oracle "good practices": Backup, failover and disaster recovery


Mike Ault
02.23.2007
Rating: -3.00- (out of 5)


Oracle tips, scripts, and expert advice
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


With each round of disasters, blackouts and other site-wide failure occurrences, the concepts of backup, recovery, failover and disaster recovery are taking center stage. Who could have imagined that a single power station in Canada would bring down the entire Northeastern U.S. power grid for nearly two days? Was your site protected? Could your customers get to your database or Web site? Most of us think in terms of a couple of miles away when we think of a disaster recovery site, but that would not have helped in the above case. It is a good practice to use an Oracle hot site (standby database, Data Guard, etc.) to provide a geo-mirrored site that is far away from your primary site. The hot site should be far enough away to not get caught in site disaster (power, phone/network or physical access limitations). The hot site should mirror the regular site (backup capability and bandwidth for all connections; remember you may need to operate there for a while).

Now I know there are exceptions (for example, data warehousing), but generally it is a good practice to use RMAN where applicable, such as for OLTP and small DBs; other solutions may apply for large DBs or DWH. RMAN encapsulates backup commands into RMAN syntax so that a script created on one site will most likely run on most others using RMAN.

On sites where mirroring is used, use multiple mirrors (I mean more than two). Multiple mirrors allow tools to break off the mirror for making backups, thus eliminating downtime. If possible utilize three-way mirrors, so redundancy is not lost during the backup timeframe.

Encrypt backups -- I have heard of several companies losing control of sensitive data through improper disposal of backup media containing un-encrypted Oracle database backups. If someone obtains an old backup, a simple restore operation puts your entire corporate data set at their fingertips.

I also consider it a good practice to use Oracle Real Application Clusters (RAC). RAC is provided for instance redundancy, preventing a downed box from bringing down your entire database. Combined with standby databases, RAC makes a truly high-availability setup. RAC allows for use of low-cost hardware in a redundant configuration (RAIS instead of RAID, Redundant Array of Inexpensive Servers).

It is a good practice to store a verified copy of backup tapes offsite. A copy of all backups should be sent to an offsite facility for storage. In a disaster, the entire site and the surrounding area could be inaccessible. However, you should also maintain proper backup copies onsite. This means maintain at least two backup cycles of backup tapes or other media onsite.

For databases that aren't easily rebuilt or where data volumes don't prohibit it, use archive logging. For databases that need up-to-the moment recovery, use archive logging to allow point-in-time recovery. For databases that can be rebuilt (such as a data warehouse) archive logging may not be advisable.

Return to Mike Ault's Oracle "good practices."

About the author

Mike Ault is an Oracle database specialist at Quest Software and a recognized Oracle expert with over 16 years' experience as an Oracle DBA and consultant in a variety of industries and companies. A prolific author, Mike has published over 20 Oracle-related books including Oracle Administration and Management, Oracle DBA OCP ExamCram and Oracle10g Grid and RAC. He is a regular contributor to trade publications including Oracle magazine, and frequently presents at major Oracle conferences such as IOUG.

Rate this Tip
To rate tips, you must be a member of SearchOracle.com.
Register now to start rating these tips. Log in if you are already a member.


Submit a Tip




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


RELATED CONTENT
Oracle Database Administrator
What is the difference between a database engineer, architect and administrator?
Import on one table from dump file
Error during RMAN backup
Can I drop a column in SYS schema?
STATSPACK tool: transaction vs. execution measurement
Should I port from Microsoft Access?
Installing multiple Oracle homes
How can I find statistics on total memory usage and database connections?
Modifying SYS password in a RAC environment
How to create Datafiles in a Data Guard (10g) environment

Oracle database backup and recovery
Oracle 11g: Backup and recovery concepts
Weighing remote database administration pros and cons takes care
Data retention policy for Oracle DBAs: When to "trash" your data
Case study: Oracle RMAN improves backup and recovery efficiency in a multi-platform, multi-application environment
How do I do that in Oracle?
Oracle and the rise of the virtual machine
Oracle 11g data compression
Oracle OpenWorld 2007 Special Report
Hierarchical storage management for database growth, part 1
One datafile not accessible
Oracle database backup and recovery Research

Oracle database availability
Firm dumps MySQL on Red Hat for Oracle Database on Oracle Linux
Data modeling tools no substitute for hard work
Case study: Oracle RMAN improves backup and recovery efficiency in a multi-platform, multi-application environment
Oracle and the rise of the virtual machine
Using connection load balancing with Oracle RAC
Grid computing adoption slow amid fears of complexity
DBA 102: Beyond the basics
Difference between Oracle RAC and Data Guard
Author Mike Ault sizes up the new Oracle Database 11g
Oracle UDP protocol or Veritas LLT for interconnect traffic?
Oracle database availability Research

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.

HomeNewsTopicsTipsAsk the ExpertsMultimediaWhite PapersProductsBlogs
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2003 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts