Database Backup and Recovery (MOSC)

MOSC Banner

Restoring datafile

edited Jan 21, 2010 9:09PM in Database Backup and Recovery (MOSC) 4 commentsAnswered
Hello, sqlplus gives me following error after restoring datafile from rman backup: Please help me to open my database?
ora-01589 must use RESETLOGS or NORESETLOGS option for database open

I used following script to restore data file:

1. shutdown immeidate;
2. startup nomount;
3. restore control from 'c:\rman';
4. alter database mount;
5. run {
allocate channel d1 type disk;
set newname for datafile 7 to 'd:\oracle\oradata\gf200801.dbf';
restore tablespace gf2008;
switch datafile all;
}

OS: MS windows 2003 intel x64
Database version: 10.2.3

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center