RE: rman - backup plus archivelog

From: TJ Kiernan <tkiernan_at_pti-nps.com>
Date: Thu, 7 Jul 2011 10:14:28 -0500
Message-ID: <0EC85B1F3B2DF8409BF66DC182F495D9859206_at_DEEDS.pti-nps.com>



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_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Schauss, Peter (ESS) Sent: Thursday, July 07, 2011 10:04 AM
To: oracle-l_at_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 Received on Thu Jul 07 2011 - 10:14:28 CDT

Original text of this message