Home » RDBMS Server » Backup & Recovery » Recovery full database
Recovery full database [message #190707] Thu, 31 August 2006 21:26 Go to next message
kinde
Messages: 5
Registered: August 2006
Location: xiamen
Junior Member
I have full backup in a recovery catalog,include(archive log and controlfile),
After uninstaller oracle software and lose all datafiles,controlfiles.I re install the database then I'm attempt to recovery the database use rman catalog,
but the trouble is: the new database's dbid is diffrent for old database.

RMAN>run{
2> allocate channel d1 type disk;
3> restore controlfile;
4> release channel d1;
5> }

RMAN-06004: ORACLE error from recovery catalog database: RMAN-20001: target data
base not found in recovery catalog

How can i to do?
Re: Recovery full database [message #190708 is a reply to message #190707] Thu, 31 August 2006 21:32 Go to previous messageGo to next message
kinde
Messages: 5
Registered: August 2006
Location: xiamen
Junior Member
I didn't run below command for new database

Register database;
Re: Recovery full database [message #190709 is a reply to message #190707] Thu, 31 August 2006 21:35 Go to previous messageGo to next message
Frank Naude
Messages: 4579
Registered: April 1998
Senior Member
Your first RMAN statement (after connecting) should be something like:

SET DBID 320066378;
Re: Recovery full database [message #190712 is a reply to message #190707] Thu, 31 August 2006 22:13 Go to previous message
kinde
Messages: 5
Registered: August 2006
Location: xiamen
Junior Member
Thanks!
It's OK!

and I have a question,if used set dbid 20066378 to recovery new database,what this means?
It will be change the new database's dbid to 20066378,and just create database's dbid is not exist.

I'm sorry,I can't understand dbid.
Previous Topic: rman
Next Topic: How to backup incremental backup
Goto Forum:
  


Current Time: Wed May 01 05:01:02 CDT 2024