Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When we write the following:

allocate channel ch1_tape type sbt;
set controlfile autobackup format for device type sbt to '%F';
restore controlfile  from autobackup;

By what variables does RMAN search the backups? I think just by DBID, am I wrong?

Thank you very much!

share|improve this question
up vote 2 down vote accepted

With a modern release (>= 10g) and the usage of a Recovery Area (DB_RECOVERY_FILE_DEST is set), the initialization parameter DB_UNIQUE_NAME (derived from DB_NAME if not specified explicitly) tells RMAN in what subdirectory of the Recovery Area the controlfile autobackup must be searched for. Without usage of Recovery Area, and in status NOMOUNT (no controlfile is opened), you must set DBID for RMAN in order to enable it to retrieve the right controlfile autobackup.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.