Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Restoring archivelogs through RMAN

Re: Restoring archivelogs through RMAN

From: Ruth Gramolini <rgramolini_at_tax.state.vt.us>
Date: Tue, 21 May 2002 08:52:22 -0800
Message-ID: <F001.00466122.20020521085222@fatcity.com>


Here is the corrent syntax:
restore archivelog from logseq NNNN until logseq NNNN thread 1;

You have to specify from logseq ...unt8il logseq even if you only want to restore 1 logfile.

An easier way would be:
restore logfile all;

This will get any archivelogs in the backupset.

HTH,
Ruth

> In running RMAN and restoring a database, the necessary archivelogs are
> not restored. I found that they have to be restored separately, unless
> its something we are doing incorrectly. My question is, I have attempted
> to use the 'restore archivelog like 'PROD_1_2%' but it fails with
> RMAN-06004: ORACLE error from recovery catalog database: RMAN-20242:
> specification does not match any archivelog in the recovery catalog
>
> What am I doing wrong? Only the 'restore archivelog all' seems to work,
> but I get back more than I need. Thanks in advance.
>
>

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Ruth Gramolini
  INET: rgramolini_at_tax.state.vt.us

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 Tue May 21 2002 - 11:52:22 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US