Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: RMAN/DG - delete *ONLY* archive logs "already shipped to the standby DataGuard database"?

Re: RMAN/DG - delete *ONLY* archive logs "already shipped to the standby DataGuard database"?

From: Carel-Jan Engel <cjpengel.dbalert_at_xs4all.nl>
Date: Mon, 10 Jan 2005 23:07:27 +0100
Message-Id: <1105394847.14908.18.camel@dbalert199.dbalert.nl>


Chris,
I'm not an experienced RMAN user, others will have better advice on that topic. But, AFAIK, RMAN is not DG-aware. You might be able to achieve this when you dynamically generate your RMAN script based on the , and use the V$ARCHIVED_LOG view to determine what change# needs to be applied in the 'BACKUP ARCHIVELOG UNTIL SCN <last forwarded SCN>' command.

Best regards,

Carel-Jan Engel

===
If you think education is expensive, try ignorance. (Derek Bok) ===

Upcoming appearances:

> Hi All,
>
> My Oracle-DB is Oracle 9205.
>
> We use RMAN to backup databases and archive logs.
> Once archive logs are backed up we also use RMAN to delete them.=20
> We implement standby using DataGuard.=20
> Sometimes RMAN backs up archive logs and deletes them before DataGuard
> ships the archive logs to stand by site.
>
> Is there any way I can instruct RMAN to backup all the archive logs=20
> BUT delete *ONLY* archive logs "already shipped to the standby DataGuard
> database".
>
> Notice that I did not say delete logs older than "n" time/date...no, I
> want to delete logs shipped not matter what the date/time is.
>
> Thanks in advance.
>
> PS Please respond directly to me as well as to the list.
>
> Chris
> Oracle DBA
> HEYMONitor(tm) - heymonitor.com
> "Oracle Monitoring & Alerting Solution"
> --
> http://www.freelists.org/webpage/oracle-l

--
http://www.freelists.org/webpage/oracle-l
Received on Mon Jan 10 2005 - 15:53:26 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US