QuestionQ171

VerifiedBackup and Recovery Concepts

The database is running in ARCHIVELOG mode, and a nightly database backup, together with a control-file autobackup, is performed using RMAN. Due to media failure, the SPFILE and the control files have been lost.

Examine these steps for restoring the SPFILE and control file in order to mount the database:

  1. Set the target database DBID in RMAN.
  2. Start the database instance by using the startup force nomount command in RMAN.
  3. Restore the control files from the backup.
  4. Mount the database.
  5. Restore the SPFILE from the autobackup.
  6. Create a PFILE from the recovered SPFILE.
  7. Restart the instance in NOMOUNT state.

Identify the required steps in the correct sequence.

Explanation

RMAN can start an instance in NOMOUNT with a dummy parameter file when the SPFILE is unavailable. After the DBID is set, RMAN can locate and restore the SPFILE from the control-file autobackup. Restarting in NOMOUNT causes the instance to use the recovered SPFILE; RMAN can then restore the control files and mount the database. A PFILE is unnecessary when the SPFILE is restored to its default location.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!