RE: RMAN Recovery - I'm missing a step or something

From: Chitale, Hemant Krishnarao <>
Date: Wed, 9 Nov 2011 10:22:57 +0800
Message-ID: <>

Your database files are as of SCN 14169960053

SEQ# 119 covers the SCN range 14169955929 to 14169959172-1 which is *below* the database files.

SEQ# 120 covers the SCN range 14169959172 to 14169962038-1. So, SEQ#120 can be used.

You must specify UNTIL SEQUENCE 121 and not 120.

The specified UNTIL value is the upper non-inclusive value.

See : "UNTIL SEQUENCE integer Specifies a redo log sequence number and thread as an upper, noninclusive limit. RMAN selects only files that it can use to restore or recover up to but not including the specified sequence number."

Hemant K Chitale

-----Original Message-----
From: [] On Behalf Of Taylor, Chris David Sent: Tuesday, November 08, 2011 10:41 PM To: ''
Subject: RMAN Recovery - I'm missing a step or something

Here's the scenario:
We have a saved backup on disk of a test database we like to recover to from time to time. I have the controlfile autobackup, and the necessary backup pieces.


Step 7: *Attempt* to Restore & Recover Database

RMAN> run

2> {
3> restore database until sequence 120;
4> recover database until sequence 120;
5> }

Step 8: Receive Errors


RMAN-06023: no backup or copy of datafile 27 found to restore

Step 11: Scratch head in confusion....

Anyone care to enlighten me on what I've seem to have forgotten?

Chris Taylor
Sr. Oracle DBA
Ingram Barge Company
Nashville, TN 37205

This email and any attachments are confidential and may also be privileged. If you are not the addressee, do not disclose, copy, circulate or in any other way use or rely on the information contained in this email or any attachments. If received in error, notify the sender immediately and delete this email and any attachments from your system. Emails cannot be guaranteed to be secure or error free as the message and any attachments could be intercepted, corrupted, lost, delayed, incomplete or amended. Standard Chartered PLC and its subsidiaries do not accept liability for damage caused by this email or any attachments and may monitor email traffic.

Standard Chartered PLC is incorporated in England with limited liability under company number 966425 and has its registered office at 1 Aldermanbury Square, London, EC2V 7SB.

Standard Chartered Bank ("SCB") is incorporated in England with limited liability by Royal Charter 1853, under reference ZC18. The Principal Office of SCB is situated in England at 1 Aldermanbury Square, London EC2V 7SB. In the United Kingdom, SCB is authorised and regulated by the Financial Services Authority under FSA register number 114276.

If you are receiving this email from SCB outside the UK, please click to refer to the information on other jurisdictions.

Received on Tue Nov 08 2011 - 20:22:57 CST

Original text of this message