Book description
Oracle RMAN for Absolute Beginners is a gentle introduction to the use of Oracle's Recovery Manager software to make backups of an Oracle database, and to restore all or part of a database in the event that data loss occurs. It is often said that a database administrator's #1 job responsibility is to be able to recover from data loss. If you're new to the Oracle platform, or you're new to database administration in general, you can hardly go wrong by making it your first priority to learn to backup and recover the database that has been entrusted into your hands.
This book is short and sweet at just 200 pages. Focus lies on the mainstream use cases. Recovery Manager, or RMAN as it is called, is a powerful and complex tool that can be intimidating at first. Author Darl Kuhn understands the need to focus on the core use cases, building your confidence in the tool, and in your ability to recover from lost database files, and even to recover your entire database should that become necessary.
Oracle RMAN for Absolute Beginners shows how to backup your database. That's the first job. You'll learn to backup the entire database, and to create incremental backups that in turn can speed restore and recovery operations. Then you'll learn to recover from lost data files, lost redo log files, lost control files, and even to restore the entire database from scratch. You'll even learn how to clone a database for development and test purposes by backing the database up on one system and restoring it onto another.
Author Darl Kuhn has a decade and a half of experience in writing about, and teaching Oracle Database backup and recovery. If you are newly responsible for an Oracle Database, you can hardly do better than to pick up a copy of Oracle RMAN for Absolute Beginners.
Table of contents
- Cover
- Title
- Copyright
- Dedication
- Contents at a Glance
- Contents
- About the Author
- Acknowledgments
- Introduction
- Chapter 1: Getting Started
-
Chapter 2: Files in Support of Backup and Recovery Operations
- Managing Control Files
-
Managing Online Redo Logs
- Displaying Online Redo Log Information
- Determining the Optimal Size of Online Redo Log Groups
- Determining the Optimal Number of Redo Log Groups
- Adding Online Redo Log Groups
- Resizing and Dropping Online Redo Log Groups
- Adding Online Redo Log Files to a Group
- Removing Online Redo Log Files from a Group
- Moving or Renaming Redo Log Files
- Implementing Archivelog Mode
-
Managing Tablespaces and Data files
- Understanding the First Five
- Understanding the Need for More
- Creating Tablespaces
- Renaming a Tablespace
- Controlling the Generation of Redo
- Changing a Tablespace’s Write Mode
- Dropping a Tablespace
- Using Oracle Managed Files
- Creating a Bigfile Tablespace
- Enabling Default Table Compression within a Tablespace
- Displaying Tablespace Size
- Altering Tablespace Size
- Toggling Data Files Offline and Online
- Renaming or Relocating a Data File
- Summary
- Chapter 3: User-Managed Backup and Recovery
-
Chapter 4: Configuring RMAN
- Understanding RMAN
- Starting RMAN
-
RMAN Architectural Decisions
- 1. Running the RMAN Client Remotely or Locally
- 2. Specifying the Backup User
- 3. Using Online or Offline Backups
- 4. Setting the Archive Redo Log Destination and File Format
- 5. Configuring the RMAN Backup Location and File Format
- 6. Setting the Autobackup of the Control File
- 7. Specifying the Location of the Autobackup of the Control File
- 8. Backing Up Archive Redo Logs
- 9. Determining the Location for the Snapshot Control File
- 10. Using a Recovery Catalog
- 11. Using a Media Manager
- 12. Setting the CONTROL_FILE_RECORD_KEEP_TIME Initialization Parameter
- 13. Configuring RMAN’s Backup Retention Policy
- 14. Configuring the Archive Redo Logs’ Deletion Policy
- 15. Setting the Degree of Parallelism
- 16. Using Backup Sets or Image Copies
- 17. Using Incremental Backups
- 18. Using Incrementally Updated Backups
- 19. Using Block Change Tracking
- 20. Configuring Binary Compression
- 21. Configuring Encryption
- 22. Configuring Miscellaneous Settings
- 23. Configuring Informational Output
- Segueing from Decision to Action
- Summary
-
Chapter 5: RMAN Backups and Reporting
- Preparing to Run RMAN Backup Commands
-
Running Backups
- Backing Up the Entire Database
- Backing Up Tablespaces
- Backing Up Data Files
- Backing Up the Control File
- Backing up the spfile
- Backing Up Archive Redo Logs
- Backing Up FRA
- Excluding Tablespaces from Backups
- Backing Up Data Files Not Backed Up
- Skipping Read-Only Tablespaces
- Skipping Offline or Inaccessible Files
- Backing Up Large Files in Parallel
- Adding RMAN Backup Information to the Repository
- Taking Backups of Pluggable Databases
- Creating Incremental Backups
- Checking for Corruption in Data Files and Backups
- Using a Recovery Catalog
- Logging RMAN Output
- RMAN Reporting
- Summary
-
Chapter 6: RMAN Restore and Recovery
- Determining if Media Recovery Is Required
- Determining What to Restore
- Using RMAN to Stop/Start Oracle
-
Complete Recovery
- Testing Restore and Recovery
- Restoring and Recovering the Entire Database
- Restoring and Recovering Tablespaces
- Restoring Read-Only Tablespaces
- Restoring Temporary Tablespaces
- Restoring and Recovering Data Files
- Restoring Data Files to Nondefault Locations
- Performing Block-Level Recovery
- Restoring a Container Database and Its Associated Pluggable Databases
- Restoring Archive Redo Log Files
- Restoring a Control File
- Restoring the spfile
- Incomplete Recovery
- Flashing Back a Table
- Flashing Back a Database
-
Restoring and Recovering to Different Server
- Step 1. Create an RMAN Backup on the Originating Database
- Step 2. Copy the RMAN Backup to the Destination Server
- Step 3. Ensure That Oracle Is Installed
- Step 4. Source the Required OS Variables
- Step 5. Create an init.ora File for the Database to Be Restored
- Step 6. Create Any Required Directories for Data Files, Control Files, and Dump/Trace Files
- Step 7. Start Up the Database in Nomount Mode
- Step 8. Restore the Control File from the RMAN Backup
- Step 9. Start Up the Database in Mount Mode
- Step 10. Make the Control File Aware of the Location of the RMAN Backups
- Step 11. Rename and Restore the Data Files to Reflect New Directory Locations
- Step 12. Recover the Database
- Step 13. Set the New Location for the Online Redo Logs
- Step 14. Open the Database
- Step 15. Add the Temp File
- Step 16. Rename the Database
- Summary
- Chapter 7: Handling Online Redo Log Failures
-
Chapter 8: Data Pump
- Data Pump Architecture
- Getting Started
- Exporting and Importing with Granularity
- Transferring Data
- Features for Manipulating Storage
- Filtering Data and Objects
-
Common Data Pump Tasks
- Estimating the Size of Export Jobs
- Listing the Contents of Dump Files
- Cloning a User
- Creating a Consistent Export
- Importing When Objects Already Exist
- Renaming a Table
- Remapping Data
- Suppressing a Log File
- Using Parallelism
- Specifying Additional Dump Files
- Reusing Output File Names
- Creating a Daily DDL File
- Compressing Output
- Changing Table Compression Characteristics on Import
- Encrypting Data
- Exporting Views As Tables
- Disabling Logging of Redo on Import
- Interactive Command Mode
- Monitoring Data Pump Jobs
- Data Pump Legacy Mode
- Summary
- Index
Product information
- Title: Oracle RMAN for Absolute Beginners
- Author(s):
- Release date: November 2014
- Publisher(s): Apress
- ISBN: 9781484207635
You might also like
audiobook
Fall in Love with the Problem, Not the Solution
Unicorns-companies that reach a valuation of more than $1 billion-are rare. Uri Levine has built two. …
audiobook
Technically Wrong
Buying groceries, tracking our health, finding a date: whatever we want to do, odds are that …
audiobook
How to Do Nothing
A galvanizing critique of the forces vying for our attention-and our personal information-that redefines what we …
book
Networking Fundamentals
Become well-versed with basic networking concepts such as routing, switching, and subnetting, and prepare for the …