I think this will work:
restore archivelog from logseq=1234 until logseq=1244;
From: Scott Canaan <srcdco@xxxxxxx>
Sent: Friday, July 2, 2021 9:51 AM
To: Scott Canaan <srcdco@xxxxxxx>; nassyambasha@xxxxxxxxx
Cc: Sweetser, Joe <JSweetser@xxxxxxxx>; oracle-l@xxxxxxxxxxxxx
Subject: RE: Data Guard Question
We do have an RMAN backup of the database, but I don’t know how to get just the
log files out of the backup.
Scott Canaan ‘88
Sr Database Administrator
Information & Technology Services
Finance & Administration
Rochester Institute of Technology
o: (585) 475-7886 | f: (585) 475-7520
srcdco@xxxxxxx<mailto:srcdco@xxxxxxx> | c: (585) 339-8659
CONFIDENTIALITY NOTE: The information transmitted, including attachments, is
intended only for the person(s) or entity to which it is addressed and may
contain confidential and/or privileged material. Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon this
information by persons or entities other than the intended recipient is
prohibited. If you received this in error, please contact the sender and
destroy any copies of this information.
From: oracle-l-bounce@xxxxxxxxxxxxx<mailto:oracle-l-bounce@xxxxxxxxxxxxx>
<oracle-l-bounce@xxxxxxxxxxxxx<mailto:oracle-l-bounce@xxxxxxxxxxxxx>> On Behalf
Of Scott Canaan
Sent: Friday, July 2, 2021 11:47 AM
To: nassyambasha@xxxxxxxxx<mailto:nassyambasha@xxxxxxxxx>
Cc: Sweetser, Joe <JSweetser@xxxxxxxx<mailto:JSweetser@xxxxxxxx>>;
oracle-l@xxxxxxxxxxxxx<mailto:oracle-l@xxxxxxxxxxxxx>
Subject: RE: Data Guard Question
Database version is 19.11.
Scott Canaan ‘88
Sr Database Administrator
Information & Technology Services
Finance & Administration
Rochester Institute of Technology
o: (585) 475-7886 | f: (585) 475-7520
srcdco@xxxxxxx<mailto:srcdco@xxxxxxx> | c: (585) 339-8659
CONFIDENTIALITY NOTE: The information transmitted, including attachments, is
intended only for the person(s) or entity to which it is addressed and may
contain confidential and/or privileged material. Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon this
information by persons or entities other than the intended recipient is
prohibited. If you received this in error, please contact the sender and
destroy any copies of this information.
From: oracle-l-bounce@xxxxxxxxxxxxx<mailto:oracle-l-bounce@xxxxxxxxxxxxx>
<oracle-l-bounce@xxxxxxxxxxxxx<mailto:oracle-l-bounce@xxxxxxxxxxxxx>> On Behalf
Of Nassyam Basha
Sent: Friday, July 2, 2021 11:46 AM
To: Scott Canaan <srcdco@xxxxxxx<mailto:srcdco@xxxxxxx>>
Cc: Sweetser, Joe <JSweetser@xxxxxxxx<mailto:JSweetser@xxxxxxxx>>;
oracle-l@xxxxxxxxxxxxx<mailto:oracle-l@xxxxxxxxxxxxx>
Subject: Re: Data Guard Question
If the archives unavailable either physically or in backups then only method is
Incremental roll forward.
If your db version is 12c, try recovering using service method.
https://blog.toadworld.com/how-data-guard-benefited-with-rman-12c-new-features<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fblog.toadworld.com%2Fhow-data-guard-benefited-with-rman-12c-new-features&data=04%7C01%7CJSweetser%40icat.com%7Cb302622fb512426c985a08d93d7148c7%7C5d3bf30e9adb4c17b2425c17523e6e5e%7C0%7C0%7C637608379028639586%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=1iEkoSISoZhYWXu9W19t33BClxgtCMsqIxe26X6dMe4%3D&reserved=0>
Nassyam on iPhone
On 2 Jul 2021, at 6:42 PM, Scott Canaan <srcdco@xxxxxxx<mailto:srcdco@xxxxxxx>>
wrote:
I did find a gap. There are missing logs. I’m trying to get them from backup,
but it doesn’t appear they are there.
Scott Canaan ‘88
Sr Database Administrator
Information & Technology Services
Finance & Administration
Rochester Institute of Technology
o: (585) 475-7886 | f: (585) 475-7520
srcdco@xxxxxxx<mailto:srcdco@xxxxxxx> | c: (585) 339-8659
CONFIDENTIALITY NOTE: The information transmitted, including attachments, is
intended only for the person(s) or entity to which it is addressed and may
contain confidential and/or privileged material. Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon this
information by persons or entities other than the intended recipient is
prohibited. If you received this in error, please contact the sender and
destroy any copies of this information.
From: Sweetser, Joe <JSweetser@xxxxxxxx<mailto:JSweetser@xxxxxxxx>>
Sent: Friday, July 2, 2021 11:37 AM
To: nassyambasha@xxxxxxxxx<mailto:nassyambasha@xxxxxxxxx>; Scott Canaan
<srcdco@xxxxxxx<mailto:srcdco@xxxxxxx>>
Cc: oracle-l@xxxxxxxxxxxxx<mailto:oracle-l@xxxxxxxxxxxxx>
Subject: RE: Data Guard Question
I have sometimes had to register ‘missing’ log files like:
alter database register logfile '/full/path/to/arch/logs/arch_1234.arc';
If there are many files, you can use the RMAN catalog command:
catalog start with ‘/full/path/to/arch/logs/’;
Hth,
-joe
From: oracle-l-bounce@xxxxxxxxxxxxx<mailto:oracle-l-bounce@xxxxxxxxxxxxx>
<oracle-l-bounce@xxxxxxxxxxxxx<mailto:oracle-l-bounce@xxxxxxxxxxxxx>> On Behalf
Of Nassyam Basha
Sent: Friday, July 2, 2021 9:29 AM
To: srcdco@xxxxxxx<mailto:srcdco@xxxxxxx>
Cc: oracle-l@xxxxxxxxxxxxx<mailto:oracle-l@xxxxxxxxxxxxx>
Subject: Re: Data Guard Question
Hello Scott,
Are you sure that all required archives are available at standby database?
PR00 (PID:29394): GAP - thread 1 sequence 44056-44081