need inputs on RMAN Backup and Recovery for multiple restore of clean backup. [message #481825] |
Sun, 07 November 2010 03:23 |
dbanukesh
Messages: 96 Registered: November 2008 Location: London
|
Member |
|
|
I will explain my scenario below:
We have the requirement of performance testing of our proposed production platform, for this i am asked to take RMAN backup of clean position (Say Day0 or baseline backup) and restore it multiple times for few rounds of testing. My question is after 1st restore (with set until time of day0 position) if i open the database with resetlogs, would i be able to restore same clean backup again? I am using control file in the environment instead of RMAN catalog database. What i can do to make this scenario work? I am already in preperation of setting rman catalog database.
Please suggest me the best way forward...
Many Thanks
Nukesh
|
|
|
|
Re: need inputs on RMAN Backup and Recovery for multiple restore of clean backup. [message #481827 is a reply to message #481826] |
Sun, 07 November 2010 04:10 |
|
Michel Cadot
Messages: 68728 Registered: March 2007 Location: Saint-Maur, France, https...
|
Senior Member Account Moderator |
|
|
I completly agree with John.
It is easy as:
1) SETUP
===== alter system set db_flashback_retention_target="value > test duration in minutes" scope=spfile;
shutdown immediate
startup mount
alter database flashback on;
alter database open;
2) TAKE A RESTORE POINT (once you set up the database as you want):
==================== create restore point before_test;
3) TEST here
====
4) RETURN BACK to before test database
=========== shutdown immediate
startup mount
flashback database to restore point before_test;
alter database open resetlogs;
5) GOTO 3)
=======
Regards
Michel
[Edit MC: missed "resetlogs" in last statement]
[Updated on: Sun, 07 November 2010 05:20] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|