Ignore pre-existing sample1 and restore sample
Hemant K Chitale, August 10, 2016 - 7:13 am UTC
Since sample and sample1 are two different databases (different DB_NAMEs and different DBIDs), you'd have to ignore the pre-existing sample1 (or drop it). Startup nomount, restore controlfile and then restore database. With an online backup, you also need to recover database.
You can, after the recovery is complete to the point in time you want, open and rename the database from sample to sample1 if you choose.
swathi, August 11, 2016 - 11:39 am UTC