• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

RMAN database recovery failed! SOS! Help!

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am stuck for 2 days. I am using Oracle 817 under windows2000. I have an oracle database instance "lujin", I use RMAN to backup the entire database under achivelog mode. The backup process gives me a file "B_01F7MH5K_1_1". Than I delete the database instance and create a new one with the same name "lujin". I want to import the previous data from tablespace "USERS". So I use RMAN to do the database recovery. The information is as follows:
RMAN> connect target internal/oracle;
RMAN> connect catalog rman/rman;
RMAN> create catalog tablespace SYSTEM;
RMAN> register database;
RMAN> run
2> {
3> allocate channel defaultchannel type disk format 'F:\ORACLE\ORADATA\LUJIN\%u_%s_%p';
4> sql 'alter tablespace USERS offline immediate';
5> restore tablespace USERS;
6> recover tablespace USERS;
7> sql 'alter tablespace USERS online';
8> }
...
RMAN-03022: compiling command: restore
RMAN-03022: compiling command: IRESTORE
RMAN-03026: error recovery releasing channel resources
RMAN-08031: released channel: defaultchannel
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure during compilation of command
RMAN-03013: command type: restore
RMAN-03002: failure during compilation of command
RMAN-03013: command type: IRESTORE
RMAN-06026: some targets not found - aborting restore
RMAN-06023: no backup or copy of datafile 3 found to restore
anyone knows how to recover the database successfully? I am very anxious to know that. Thanks a lot!
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic