Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

restore archivelog both threads at the same time

mirmadJun 26 2009 — edited Jun 27 2009
Y'ello All,

While trying to recover an offline datafile on a two node RAC, it keeps asking for threads from both nodes with is normal.
My questions are:
a) Is there a script that will tell me the list of archive logs needed to recover that particular datafile?
b) I only know how to restore archive logs for one thread, see below
run
{
allocate channel p1 type 'sbt_tape' parms 'ENV=(tdpo_optfile=/opt/tivoli/tsm/client/oracle/bin64/tdpo.opt)';
restore archivelog from sequence 147422 until sequence 147427 thread 1;
release channel p1;
}

But want to restore both threads at the same time, not running twice the rman command for thread 1 and then thread 2.
will the below work?

run
{
allocate channel p1 type 'sbt_tape' parms 'ENV=(tdpo_optfile=/opt/tivoli/tsm/client/oracle/bin64/tdpo.opt)';
restore archivelog from sequence 147422 until sequence 147427 thread 1;
restore archivelog from sequence 251561 to 251573 thread 2;
release channel p1;
}

Kindly help and advice.
DID
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 25 2009
Added on Jun 26 2009
2 comments
13,156 views