RE: RMAN backup all but delete n days old

From: FMHabash <>
Date: Sun, 22 Feb 2009 10:13:06 -0500
Message-ID: <>

This is a quick update regarding using this cmd

Archivelog all
Archivelog until time ... Delete input

This cmd does what I wanted it to do, however, when tested, it will actually run 2 backups, one for each criteria. The original thought was to do backup all then do a delete only without doing a baclup. This does not look like it is possible, though, in rman.  

-----Original Message-----
From: Remigiusz Sokolowski <> Sent: Wednesday, February 18, 2009 4:16 AM To:
Cc:; Oracle-L Group <> Subject: RE: RMAN backup all but delete n days old

On wto, 2009-02-17 at 13:18 -0700, Xu, Roger wrote:
> I have a similar question - hope someone can answer both :)
> Can we backup all offline redo logs and delete only the ones which have
> been successfully transferred to the standby?
> TIA!
AFAIK that is done automatically (at least in If one tries to delete with rman an archivelog which is not copied to standby it fails with
RMAN-08137: WARNING: archive log not deleted as it is still needed


Remigiusz Sokolowski <>
pos  : DBA at DUSB
addr : Nordea Bank Polska SA, Luzycka 6A Street, 81-537 Gdynia, Poland
phone: +48 58 667 17 43

Nordea Bank Polska S.A. z siedziba w Gdyni, ul. Kielecka 2, 81-303 Gdynia
wpisana do Rejestru Przedsiebiorców Krajowego Rejestru Sadowego pod numerem: 0000021828,
dla której dokumentacje przechowuje Sad Rejonowy Gdansk – Pólnoc w Gdansku,
VIII Wydzial Gospodarczy Krajowego Rejestru Sadowego,
o kapitale zakladowym i wplaconym w wysokosci: 227.593.500,00 zlotych,
NIP: 586-000-78-20, REGON: 190024711

Received on Sun Feb 22 2009 - 09:13:06 CST

Original text of this message