Database Backup and Recovery (MOSC)

MOSC Banner

Restoring a subset of datafiles

edited Jan 29, 2018 4:37AM in Database Backup and Recovery (MOSC) 7 commentsAnswered ✓

Hi,

I want to restore all but one datafile (datafile09) from Database A to Database B. In fact I would like to keep the existing the datafile "datafile09" in Database B. Is this possible? If so how would I achive this? Is it simply replacing the RESTORE DATABASE and RECOVER DATABASE commands with RESTORE DATAFILE datafile01,datafile02,datafile03... and RECOVER DATAFILE 1,2,3,4,5... ?

The other idea I had was to put the datafile (datafile09) offline then do a RESTORE DATABASE (Restores all data files in the database except those that are offline) & RECOVER DATABASE then afterwards put the datafile (datafile09) back online. Would this work?

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