RMAN Backup and Restoration Guide
This guide covers the essential steps for taking RMAN backups and performing restorations, including handling archivelog modes and restoring to different locations. Part 1: Taking an RMAN Backup 1. Preparation First, create a directory to store the backups and generate a parameter file (pfile) from your current server parameter file (spfile). Create the backup directory: mkdir /u01/RMAN_BACKUP Create the pfile backup: Connect to SQL*Plus and create the pfile in your new directory. sqlplus / as sysdba CREATE pfile='/u01/RMAN_BACKUP/init<db_name>.ora' FROM spfile; 2. Configure Archivelog Mode To take a full online backup while the database is running, the database must be in Archivelog Mode. Note: If you cannot change the mode, you can take an offline backup by mounting the database (where logs stop generating) and backing up just the database. However, the steps below assume we are switching to archivelog mode to capture both the database and archive logs. Steps to enable ...