Re: Logical log backup - Why!?
Posted in 1997
This feature was only recently implemented, right? ~7.2x?
Previously, (7.1x?) setting LTAPEDEV to /dev/null _did_ mean your backups
were sent to that device when you ram `ontape`. But newer versions simply
free the used logical logs if online is initialized w/ the LTAPEDEV setting
of /dev/null - and you don't need to run `ontape` to dump the logs.
Mark D. Stock wrote:
> Gary L. Burnore wrote:
> >
> > On 4 Dec 1997 03:50:52 GMT, "Irwin Goldstein" <irwin@objectsoft.com>
> > wrote:
> >
> > :It really depends on your needs. If the risk of losing a day's
> worth
> > of
> > :data is acceptable, then setting the log tape device (LTAPEDEV) to
> > :/dev/null is a reasonable option. If you do this, you don't even
> > need to
> > :run the continuous backup -- the engine seems to know that /dev/null
> > means
> > :the backup would only be thrown away and therefore frees each log as
> > soon
> > :as it is no longer needed for rolling back open transactions.
> >
> > I was under the impression that setting it to /dev/null actually wrote
> > the
> > output that would normally go to tape (/dev/rct or whatever) to
> > /dev/null.
> > Not that it would understand the string /dev/null to mean don't back
> > it up.
>
> No, /dev/null is seen as a special device, and your logs are thrown
> away. This is regardless of whether you intend to use OnTape or not,
> so be careful to set this field to anything OTHER than /dev/null if you
> want to back up your logs with say OnBar.
>
> Cheers,
> --
> Mark.
>
> +----------------------------------------------------------+-----------+
> |Mark D. Stock - Informix SA http://www.informix.com |//////// /|
> |mailto:mdstock@informix.com FAQ http://www.iiug.org |///// / //|
> | +-----------------------------------+//// / ///|
> | Tel: +27 11 807 0313 |If it's slow, the users complain. |/// / ////|
> | Fax: +27 11 807 2594 |If it's fast, the users keep quiet.|// / /////|
> |Cell: +27 83 250 2325 |Therefore, "No news: travels fast"!|/ ////////|
> +----------------------+-----------------------------------+-----------+
--
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
ADDRESS ALTERED TO FOIL SPAMMERS: Remove "*NO-SPAM*" to reply.
Cosmo Lee Multi-User Computer Systems Brooklyn, NY
"JUST SAY 'NO' TO SPAM"
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *