Re: BackUp LogFiles
Posted in 1998
In article <362C4CE7.2E04@informatik.uni-leipzig.de>,
graefe@informatik.uni-leipzig.de (Sven Graefe) wrote:
> >
> > Hello,
> >
> > How can I delete (clear) full log-files, without any BackUp on disk or
> > tape?
> >
> > If there no possibility, how can I make the easiest BackUp on disk?
> > I don't need the log-files. But I have to use unbuffered logging and
> > so
> > the log-files are full in a shortest time.
> >
>
> I had set LTAPEDEV=/dev/null before I initialize this database-server
> with oninit -i.
>
> (database-server: 9.14.UC2-1 on Sun Solaris (2.5.1))
>
> When will the log-files be cleared, after all log-files are full or one
> log-file will be cleared, if it is no longer in use?
>
> Can I shutdown the server, so that whenever I start server the log-files
> are clear?
>
> Thanks, for your help
>
If LTAPEDEV is set to /dev/null when the engine is started then the logs
are released as they fill, effectively mimicking ontape -c. If you change
the device to /dev/null after the engine has started then the logs are
cleared using normal practises.
Paul Watson # I don't suffer from
WF Software Ltd. # stress, I'm just
Tel. (+44) 1436 674729 # a carrier
Fax. (+44) 1436 678693 #
www.wfsoftware.co.uk