Restoring a subset of datafiles
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?