RE: RMAN backup all but delete n days old
Date: Sun, 22 Feb 2009 10:13:06 -0500
Message-ID: <49a16b7f.1b17400a.500e.6522_at_mx.google.com>
This is a quick update regarding using this cmd
Backup
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 <remigiusz.sokolowski_at_nordea.com>
Sent: Wednesday, February 18, 2009 4:16 AM
To: Roger.Xu_at_dpsg.com
Cc: fmhabash_at_gmail.com; Oracle-L Group <oracle-l_at_freelists.org>
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 10.2.0.3).
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
regards
Remigiusz
-- ---------------------------------------------------------------------- Remigiusz Sokolowski <remigiusz.sokolowski_at_nordea.com> 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 ----------------------------------------------------------------------------------------- -- http://www.freelists.org/webpage/oracle-lReceived on Sun Feb 22 2009 - 09:13:06 CST