Go to the FreeLists Home Page Home Signup Help Login
 



[oracle-l] || [Date Prev] [06-2007 Date Index] [Date Next] || [Thread Prev] [06-2007 Thread Index] [Thread Next]

Re: RMAN -- delete older archivelogs

  • From: Asif Momen <asif_oracle@xxxxxxxxx>
  • To: kanwar.plaha@xxxxxx
  • Date: Mon, 4 Jun 2007 07:14:10 -0700 (PDT)
Hi Kanwar,

You would use the following in RMAN script:

DELETE NOPROMPT ARCHIVELOG ALL COMPLETED BEFORE
'sysdate-10/24';

This will cause RMAN to delete all the archivelogs
older than 13 hours.

Regards


--- Kanwar Plaha <kanwar.plaha@xxxxxx> wrote:

> That's what we are currently doing ... 
> ... backup archivelog all delete input;
> 
> However, our requirement is that the logs should be
> kept on disk for (say) 13 
> hours. How do I do that from within RMAN. Even if
> more than one command is 
> required, its alright.
> 
> On Mon, 4 Jun 2007 04:41:55 pm Syed Jaffar Hussain
> wrote:
> > Kanwar,
> >
> > If you afraid that archivedlogs will fill up the
> directory,  why don't
> > create a script and run the script every 6 hrs. to
> backup the archived logs
> > and delete the backed archivelogs from disk.
> >
> > Jaffar
> >
> > On 6/4/07, Kanwar Plaha <kanwar.plaha@xxxxxx>
> wrote:
> > > Hi,
> > > Due to a backup clashing with one of the
> automated cloning script for a
> > > database, the retention policy
> > > for archivelogs needs to be 12-13 hours. How can
> I set this? Setting
> > > retention to 1 day (which I believe is
> > > the mininum) is too long and I risk the
> archivelog directory filling up.
> > >
> > > The database version is 9.2.0.6.
> > >
> > > Thanks,
> > > Kanwar
> > > --
> > > http://www.freelists.org/webpage/oracle-l
> 
> 
> --
> http://www.freelists.org/webpage/oracle-l
> 
> 
> 



       
____________________________________________________________________________________
Pinpoint customers who are looking for what you sell. 
http://searchmarketing.yahoo.com/
--
http://www.freelists.org/webpage/oracle-l






[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.