Received: (qmail 28013 invoked from network); 7 Jul 2011 12:03:29 -0500
Received: from freelists-180.iquest.net (HELO turing.freelists.org) (206.53.239.180)
  by static-ip-85-25-126-90.inaddr.intergenia.de with SMTP; 7 Jul 2011 12:03:27 -0500
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 07B07E32D57;
 Thu,  7 Jul 2011 13:03:16 -0400 (EDT)
X-Virus-Scanned: Debian amavisd-new at localhost.localdomain
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 1bUJ1Svcq2OP; Thu,  7 Jul 2011 13:03:15 -0400 (EDT)
Received: from turing.freelists.org (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 37F61E32D1B;
 Thu,  7 Jul 2011 13:02:32 -0400 (EDT)
Received: with ECARTIS (v1.0.0; list oracle-l); Thu, 07 Jul 2011 13:01:49 -0400 (EDT)
Received: from localhost (localhost [127.0.0.1])	by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 79332E32D1A	for <oracle-l@freelists.org>; Thu,  7 Jul 2011 13:01:49 -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 AMZDd3-VrnB3 for <oracle-l@freelists.org>;	Thu,  7 Jul 2011 13:01:49 -0400 (EDT)
Received: from pacdcimo01.cable.comcast.com (PacdcIMO01.cable.comcast.com [24.40.8.145])	by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 2C18DE32D09	for <oracle-l@freelists.org>; Thu,  7 Jul 2011 13:01:48 -0400 (EDT)
Received: from ([147.191.124.14])	by pacdcimo01.cable.comcast.com with ESMTP with TLS id 5503620.133394065;	Thu, 07 Jul 2011 13:01:44 -0400
Received: from COPDCEXMB08.cable.comcast.com ([fe80::3011:502:d530:7d25]) by COPDCEXHUB03.cable.comcast.com ([fe80::716b:ec6e:6497:2471%12]) with mapi id 14.01.0289.001; Thu, 7 Jul 2011 11:01:44 -0600
From: "Walker, Jed S" <Jed_Walker@cable.comcast.com>
To: "tkiernan@pti-nps.com" <tkiernan@pti-nps.com>, "peter.schauss@ngc.com"	<peter.schauss@ngc.com>, "oracle-l@freelists.org" <oracle-l@freelists.org>
Subject: RE: rman - backup plus archivelog
Thread-Topic: rman - backup plus archivelog
Date: Thu, 7 Jul 2011 17:01:43 +0000
Message-ID: <BAA6E28B6241F046AED1E62D8697516C3B82B51A@COPDCEXMB08.cable.comcast.com>
References: <8AE45871F749FC4CBBE053CF2F8A493C0A6F8C8F@XMBVAG74.northgrum.com> <0EC85B1F3B2DF8409BF66DC182F495D9859206@DEEDS.pti-nps.com>
In-Reply-To: <0EC85B1F3B2DF8409BF66DC182F495D9859206@DEEDS.pti-nps.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.31.50.155]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by Ecartis
MIME-Version: 1.0
X-archive-position: 37289
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: Jed_Walker@cable.comcast.com
Precedence: normal
Reply-To: Jed_Walker@cable.comcast.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

Or simply

backup database plus archivelog delete input;

This will delete the archivelogs that were backed up. If you're running DataGuard then this, in my experience, won't work and you have to use commands like T.J. provided.

-----Original Message-----
From: oracle-l-bounce@freelists.org [mailto:oracle-l-bounce@freelists.org] On Behalf Of TJ Kiernan
Sent: Thursday, July 07, 2011 9:14 AM
To: peter.schauss@ngc.com; oracle-l@freelists.org
Cc: TJ Kiernan
Subject: RE: rman - backup plus archivelog

RMAN will back up any archivelogs it expects to see.  If you want to delete archivelogs after you've backed them up, do it with RMAN.
Add something like this to your backup script:

delete noprompt archivelog all backed up <N> times;

Thanks,
T. J.
 


-----Original Message-----
From: oracle-l-bounce@freelists.org [mailto:oracle-l-bounce@freelists.org] On Behalf Of Schauss, Peter (ESS)
Sent: Thursday, July 07, 2011 10:04 AM
To: oracle-l@freelists.org
Subject: rman - backup plus archivelog

Oracle 11.2.0.1.0 on AIX 5.3

I am backing up a database with rman in nocatalog mode.

When I tried to test my backups using the rman DUPLICATE command I got a message that the backup contained no archivelogs.  The information on Metalink suggested using the command BACKUP DATABASE PLUS ARCHIVELOG.  When I ran that rman asked for all of the archivelogs created since the database was created (luckily only a week and a half ago).  This despite the fact that that I had been backing it up daily without the PLUS ARCHIVELOG option.

Now that rman has backed up the archivelogs, what will determine which ones it asks for the next time I run it?

Ideally all that I need to restore a backup is the archivelogs which were created during and after the backup.

Thanks,
Peter Schauss
--
http://www.freelists.org/webpage/oracle-l


--
http://www.freelists.org/webpage/oracle-l


--
http://www.freelists.org/webpage/oracle-l


