Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Archive-Log
If you use rman to do the backups, then you can use the following statement.
The script (ignore executes) will backup the logs to tape and delete them immediately, but you can change that.
replace script archlogs {
execute script alloc5;
backup
filesperset 4
format '/adsmorc/%d/db_t%t_s%s_p%p.rman'
(archivelog all delete input);
execute script rel5;
}
-- Robert Fazio, Oracle DBA rfazio_at_home.com remove nospam from reply address http://24.8.218.197/ "Christian Hartmann" <c.hartmann_at_tmp-office.de> wrote in message news:8h7ocf$2ff16$1_at_fu-berlin.de...Received on Fri Jun 02 2000 - 00:00:00 CDT
> Yes, I know. However, is is possible to implement a function in oracle to
> let it do automatically afer one week?
>
> > They can be deleted after a cold, off-line backup
> > and when they have been backupped themselves,
> > which you should always do.
> > > Hi there,
> > >
> > > is it possible to let oracle create archive-logs, but delete them if
they
> > > are older than, for example one week?
> > >
> > > If yes, how?
> > >
> > > Thanx for help,
> > >
> > > Christian Hartmann
> > >
> > >
> >
> >
>
>