Database Backup and Recovery (MOSC)

MOSC Banner

Why is Oracle RMAN restoring a datafile to a different diskgroup?

edited Jul 12, 2013 12:42AM in Database Backup and Recovery (MOSC) 3 commentsAnswered
Hello,
When I was trying an RMAN restore of a datafile, I found it is restoring the datafile to a new location. Why is Oracle restoring a datafile to a different diskgroup instead of restoring to the original diskgroup where the datafile was originally present?

1) I have a datafile '+DATA3/slob1/datafile/undotbs2.260.819992871' which is on +DATA3 diskgroup
2) I am taking a backup on to +FRA diskgroup
3) I then offline and delete the datafile 5 using asmcmd to simulate the loss of a datafile
4) I perform restore and recover of datafile 5 from the backup set on +FRA
5) Unfortunately the datafile got restored on to +FRA instead of +DATA3. I realize that the file name can change but I would assume this will be on the same diskgroup atleast since the control file has it pointing to '+DATA3/slob1/datafile/undotbs2.260.819992871' before restoration.

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