Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RMAN -Alternate Host next problem
Recall our Netbackup server holds only 2 months tapes and Im trying to
recover on an alternate host to the beginning of the year. I issue
following :
run {
allocate channel ch1 type 'sbt_tape';
restore controlfile;
alter database mount;
}
then once the current control files are back I issue
run {
set until time "to_date('01-JAN-2002 03:00:01','DD-MON-YYYY HH24:MI:SS')";
allocate channel ch1 type 'sbt_tape';restore database;
recover database;
}
The logs (thanks for location guys) ask for tape DC3787 which was has a
date last written 12/29/2001 22:29 netbackupsrv which I presume is the
last cold backup taken by rman, it then restores okay to that point.
RMAN-08023: channel ch1: restored backup piece 1
RMAN-08511: piece handle=bk_5942_1_449790981 tag=COLD_DB_BK_LEVEL0
params=NULL
RMAN-08024: channel ch1: restore complete
rman then seems to ask for correct archivelogs
RMAN-03022: compiling command: recover
RMAN-03022: compiling command: recover(1) RMAN-03023: executing command: partial resync
RMAN-03022: compiling command: recover(2)
RMAN-03022: compiling command: recover(3) RMAN-03023: executing command: recover(3) RMAN-08054: starting media recovery RMAN-03022: compiling command: recover(4)RMAN-03023: executing command: recover(4) RMAN-08017: channel ch1: starting archivelog restore to default destination
RMAN-08022: channel ch1: restoring archivelog RMAN-08510: archivelog thread=1 sequence=17138 RMAN-08022: channel ch1: restoring archivelog
then i get errors 0ra-19511 backup up file not found.
So I can see RMAN seems to know the archivelog files it needs, yet they are not on that tape,and the Netbackup log doesnt ask for the next tape. Can I manually recover these archivelogs or am I doing something wrong? I will be researching myself but if any of you guys can help it will be great. Plus my weekend starts today.
thanks
Sam
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: INET: rabbit_at_emirates.net.ae Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Wed Jun 19 2002 - 03:28:19 CDT
![]() |
![]() |