The trick is to know the dbid and restore the controlfile from your tape backups
Code:
rman target /
set dbid
startup nomount;
run
{
allocate channel ch1sbt_tape type sbt;
set controlfile autobackup format for device type sbt to
'path_to_controlfile/%F';
restore controlfile from autobackup;
release channel ch1_tape;
}
You need to store the dbid somewhere otherwise i am afraid you are lost.
regards
Hrishy
Just curios,assuming that sbt channel is just a tape deivce and not a tape management system, how would rman know which file to request base on just a dbid? It got to be stored somewhere, but where?
One, who thinks that the other one who thinks that know and does not know, does not know either!
I think I may know an answer for my own question. RMAN probably generate an unique backup control file name based on dbid and therefore if it knows dbid it can generate this name and request backup file from the tape.
One, who thinks that the other one who thinks that know and does not know, does not know either!
Regardless if AUTOBACKUP is set to ON or not, if you are doing a full database backup, the controlfile is going to be backed up.
Now assuming you are in nocatalog mode and simply loose the backed up controlfile, you can still recover from a backup with the help of the DBMS_BACKUP_RESTORE package.
Regardless if AUTOBACKUP is set to ON or not, if you are doing a full database backup, the controlfile is going to be backed up.
Now assuming you are in nocatalog mode and simply loose the backed up controlfile, you can still recover from a backup with the help of the DBMS_BACKUP_RESTORE package.
Hi Ebrian,
I think your note is the most REMARKABLE here
So, am I justified if I continue my backup system with nocatalog mode?
Would it make be still a good DBA?
It is actually up to you, I see no reason not to use a catalog even alternative ways to restore your database do exist.
Let me ask you a question, why not to use it? What are you trying to save?
One, who thinks that the other one who thinks that know and does not know, does not know either!
Bookmarks