Take the 2-minute tour ×
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.

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;
RELEASE CHANNEL ch1_tape;

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

Thank you very much!

share|improve this question
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.