Subject | Re: Automating gbak (2) |
---|---|
Author | Didier Gasser-Morlay |
Post date | 2004-01-29T15:08:26Z |
Along the same lines, it might even be cleaner to rely instead of gbak
returning 0 on success and 1 or something else in case of any error ?
(you never know there might be a translated version of gbak or the new
backup strategy in the future 1.6/2.0 might decide not to go home ...
I did some tests & it seems that gbak is consistent with it's return
values but would like to have a reassurance that it is ALWAYS the case.
Thanks in advance
Didier
--- In firebird-support@yahoogroups.com, "Didier Gasser-Morlay"
<Didiergm@n...> wrote:
returning 0 on success and 1 or something else in case of any error ?
(you never know there might be a translated version of gbak or the new
backup strategy in the future 1.6/2.0 might decide not to go home ...
I did some tests & it seems that gbak is consistent with it's return
values but would like to have a reassurance that it is ALWAYS the case.
Thanks in advance
Didier
--- In firebird-support@yahoogroups.com, "Didier Gasser-Morlay"
<Didiergm@n...> wrote:
> Probably the easiest / safest you're rightgbak
> thanks Paul
>
> Didier
>
> --- In firebird-support@yahoogroups.com, Paul Reeves <paul@f...> wrote:
> > On Wednesday 28 January 2004 12:26, Didier Gasser-Morlay wrote:
> > >
> > > that's not difficult to set up but I am wondering if ALL errors
> > > messages in gbak do have the word ERROR or if I should be looking to
> > > some other words (e.g. warning or else)
> > > any idea ?
> > >
> >
> > I'd work from the other end, if I was you. If the last line of the
> > output doesn't say 'finishing, closing and going home' or whateverreported.
> is the
> > precise wording then something went wrong, even if no error is
> >
> > Paul
> > --
> > Paul Reeves
> > http://www.ibphoenix.com
> > Supporting users of Firebird and InterBase