rman [message #490347] |
Mon, 24 January 2011 04:17 |
|
bas_vbs
Messages: 27 Registered: January 2011 Location: india
|
Junior Member |
|
|
Good evening to all
I have 2 seperate rman backup one backup is of only datafile ,spfile and controlfile which i am able to restore and recover without any problem say bkp1 taken at 10 am
other set of backup is of only archive log files of same day but later time than datafile backup say bkp2 taken at 8pm
if i restore and recover bkp1 and try to restore bkp2 it gives error datafile exist (possibly due to fact both backup have control file)
if i just restore bkp1 and try to restore bkp2 so that i can do one recover at time
it gives error datafile permission issue (possibly due to fact both backup have control file)
I want to restore database upto 8pm time how can i use both bkp1 and bkp2 to do it(restore datafiles and apply all archive logs on it)
Please give steps
Thanks
|
|
|
Re: rman [message #490350 is a reply to message #490347] |
Mon, 24 January 2011 04:33 |
John Watson
Messages: 8960 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
I don't understand your problem: rman should work it all out for you. Within a run block, set your UNTIL TIME to the time you want, then restore and recover.
What are you actually doing? Presumably something different?
|
|
|
|
Re: rman [message #490353 is a reply to message #490351] |
Mon, 24 January 2011 04:50 |
John Watson
Messages: 8960 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
I've told you what to do, and you have said that you have already done that. If you won't give more detail of what you did and what you want to achive, I don't think anyone can help. Sorry.
|
|
|
|
|
Re: rman [message #490365 is a reply to message #490359] |
Mon, 24 January 2011 05:15 |
John Watson
Messages: 8960 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
Look, if you won't give the detail of what you are doing, this is hopeless. Use copy/paste! Show the rman session!
I have no more time for this, I have to catch the Eurostar. Perhaps someone else can help - if you show what you are doing.
|
|
|
|
|
|
|
|
|
|
|
|
Re: rman [message #490407 is a reply to message #490394] |
Mon, 24 January 2011 09:58 |
John Watson
Messages: 8960 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
In your first post, you said Quote:I want to restore database upto 8pm time which is an incomplete recovery, so you must use SET UNTIL TIME. You have said you did that, but the script you posted doesn't. So, what did you do? Please, if you want help, you must do as Michel and I have asked: show what you did! Copy/paste the entire rman session, from beginning to end. Show the logon, everything you do, the output, and the logoff. Do not cut out anything! Until then, it is impossible to offer any advice.
|
|
|
Re: rman [message #490424 is a reply to message #490347] |
Mon, 24 January 2011 21:31 |
hkchital
Messages: 128 Registered: September 2008 Location: Singapore
|
Senior Member |
|
|
If bkp2 has only archivelogs you would not be getting a "datafile exists" error. This has nothing to do with whether there's a controlfile included in the backup.
Please present
a. The Restore and Recover command you issued -- *all* of them, in the right sequence
b. The messages that Oracle returned for each set of commands.
Hemant K Chitale
|
|
|