Return-Path: <oracle-l-bounce@freelists.org>
Delivered-To: 2-oracle-l@orafaq.com
Received: (qmail 7047 invoked from network); 18 Sep 2007 10:51:23 -0500
Received: from freelists-180.iquest.net (HELO turing.freelists.org) (206.53.239.180)
  by 69.64.49.119 with SMTP; 18 Sep 2007 10:51:10 -0500
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id DD79D75C845;
 Tue, 18 Sep 2007 11:48:22 -0400 (EDT)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 04216-07; Tue, 18 Sep 2007 11:48:22 -0400 (EDT)
Received: from turing (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 58A6C75C846;
 Tue, 18 Sep 2007 11:48:22 -0400 (EDT)
Received: with ECARTIS (v1.0.0; list oracle-l); Tue, 18 Sep 2007 11:03:00 -0400 (EDT)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 0E48C75C33B
 for <oracle-l@freelists.org>; Tue, 18 Sep 2007 11:03:00 -0400 (EDT)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 25961-09 for <oracle-l@freelists.org>;
 Tue, 18 Sep 2007 11:02:59 -0400 (EDT)
Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.176])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 66D0E75C2EF
 for <oracle-l@freelists.org>; Tue, 18 Sep 2007 11:02:58 -0400 (EDT)
Received: by wa-out-1112.google.com with SMTP id k22so2612597waf
        for <oracle-l@freelists.org>; Tue, 18 Sep 2007 08:02:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=beta;
        h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references;
        bh=qOWb9uxY0uBpQf8lyXQB6ouT261n0bcdLzVvLT+HWis=;
        b=KIRBil0FZWnuKy5z0hdw6eeWozEJNvCeQNLnNuqQ1nM++4zuYF0uv5VmMq4xf9XhUttoAceKLz0foID9R/FOVKItgt2iAFVBqWT4u2tkAJ+YOVjZcW6tl0tIpo6LNkPF+0Hh3xXLv6jycPD8MfNDgaBcP8JszLyAwwJ6jakoKqQ=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=beta;
        h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references;
        b=HkDJ+VR8AyOJJVFVWi8CDszK4qnxkkikQ2qkOxji4OGF8eXG5zmlnMaVbwxk99hnnAzz1YcPJVLSLMe0gZAPA4WZzq8PFPl9PPUdFmFWz/I6pqlBK0jKvf5cZcoZYG4hSVHRKvx+J3U3EzK5SnDAJ9Vf+sDdWGw5HZBA5LIiYzI=
Received: by 10.115.92.2 with SMTP id u2mr363540wal.1190127777501;
        Tue, 18 Sep 2007 08:02:57 -0700 (PDT)
Received: by 10.114.103.6 with HTTP; Tue, 18 Sep 2007 08:02:57 -0700 (PDT)
Message-ID: <bf46380709180802r2f1cb7adp6f44dec8475d8f12@mail.gmail.com>
Date: Tue, 18 Sep 2007 08:02:57 -0700
From: "Jared Still" <jkstill@gmail.com>
To: "LS Cheng" <exriscer@gmail.com>
Subject: Re: RMAN question
Cc: joseph.armstrong-champ@tufts.edu, ORACLE-L <oracle-l@freelists.org>
In-Reply-To: <6e9345580709172238u7e060152qcd6190aeff3c54d7@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_Part_16170_8106396.1190127777495"
References: <46EAD21D.6010704@tufts.edu>
	 <bf46380709171904y529da7b9y4e905aee27a44b64@mail.gmail.com>
	 <6e9345580709172238u7e060152qcd6190aeff3c54d7@mail.gmail.com>
X-archive-position: 1651
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: jkstill@gmail.com
Precedence: normal
Reply-to: jkstill@gmail.com
List-help: <mailto:ecartis@freelists.org?Subject=help>
List-unsubscribe: <oracle-l-request@freelists.org?Subject=unsubscribe>
List-software: Ecartis version 1.0.0
List-Id: oracle-l <oracle-l.freelists.org>
X-List-ID: oracle-l <oracle-l.freelists.org>
List-subscribe: <oracle-l-request@freelists.org?Subject=subscribe>
List-owner: <mailto:steve.adams@ixora.com.au>
List-post: <mailto:oracle-l@freelists.org>
List-archive: <http://www.freelists.org/archives/oracle-l>
X-list: oracle-l
X-Virus-Scanned: Debian amavisd-new at localhost.localdomain
------=_Part_16170_8106396.1190127777495
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On 9/17/07, LS Cheng <exriscer@gmail.com> wrote:
>
> Hi Jared
>
> Autobackup filename has dbid so you dont really have to lookup in a
> catalog.
>

And how do you find that autobackup controlfile if you don't know the dbid?

If it is the only database on a server, it is somewhat simple. You can
browse the backup media catalog for files from that server that match
the format of the autobackup controlfile.

If you do not know the DBID, and there are multiple databases on a server,
it becomes a process of elimination.

Without a recovery catalog you must use the RMAN command "set dbid=<DBID>"
to recover the autobackup controlfile when there is no recovery catalog.

With a catalog, you simply restore the autobackup controlfile with
RESTORE CONTROLFILE FROM AUTOBACKUP, along with a few parameters
to limit the range of the search.


-- 
Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist

------=_Part_16170_8106396.1190127777495
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On 9/17/07, <b class="gmail_sendername">LS Cheng</b> &lt;<a href="mailto:exriscer@gmail.com">exriscer@gmail.com</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Hi Jared</div>
<div>&nbsp;</div>
<div>Autobackup filename has dbid so you dont really have to lookup in a catalog.<br></div></blockquote></div><br>And how do you find that autobackup controlfile if you don&#39;t know the dbid?<br><br>If it is the only database on a server, it is somewhat simple. You can
<br>browse the backup media catalog for files from that server that match<br>the format of the autobackup controlfile.<br><br>If you do not know the DBID, and there are multiple databases on a server,<br>it becomes a process of elimination.
<br><br>Without a recovery catalog you must use the RMAN command &quot;set dbid=&lt;DBID&gt;&quot;<br>to recover the autobackup controlfile when there is no recovery catalog.<br><br>With a catalog, you simply restore the autobackup controlfile with 
<br>RESTORE CONTROLFILE FROM AUTOBACKUP, along with a few parameters<br>to limit the range of the search.<br><br><br>-- <br>Jared Still<br>Certifiable Oracle DBA and Part Time Perl Evangelist<br>

------=_Part_16170_8106396.1190127777495--
--
http://www.freelists.org/webpage/oracle-l


