Unregister a Database From an RMAN Recovery Catalog
A step-by-step guide to unregistering unwanted databases from the RMAN catalog.
oracle miscconfigurationintermediate
by OracleDba
24 views
A step-by-step guide to unregistering unwanted databases from the RMAN catalog.
1234567891011
rman target=sys/password@w2k1 catalog=rman/rman@catdb
RMAN> list backup summary;
RMAN> delete backup device type sbt;
RMAN> delete backup device type disk;
RMAN> unregister database;
OR
RMAN> unregister database noprompt;123456789
rman catalog=rman/rman@catdb
RMAN> unregister database wk21 noprompt;
RMAN> list incarnation of database wk21;
set dbid 1312293510;
unregister database;1234567891011121314151617
SQL> connect rman/rman@catdb
Connected.
SQL> select db_key, dbid, name from rc_database where name = 'W2K1';
DB_KEY DBID NAME
---------- ---------- --------
23085 1312293510 W2K1
1 row selected.
SQL>
SQL> execute dbms_rcvcat.unregisterdatabase(23085 , 1312293510);
PL/SQL procedure successfully completed.
SQL>Please to add comments
No comments yet. Be the first to comment!