Subject Re: [ib-support] gbak
Author Claudio Valderrama C.
""Henner Kollmann"" <Henner.Kollmann@...> wrote in message
> >
> > > 2. gbak is logging to stderr under Win2K not to stdout.
> >
> > I don't understand well: are you saying that "-y" doesn't
> > generate anything in the file, because all the logging goes
> > to stderr? Is this is true, we may need something like the
> > "-Merge" switch in isql that gbak doesn't have.
> No, i want to pipe the output int o a file. Gbak -v .... >> somefile.log
> This would not work, must use Gbak -v .... 2>> somefile.log under Win2K

This is exactly what you want, as I said, but you didn't get the idea. The
merge switch in isql redirects stdout and stdin to the same target, be it
the screen or a file. Gbak doesn't have that option. Only isql understands
it. Ideally, you should be able to do
gbak <operation> -v -merge -y file
and get anything in "file", but "merge" is the missing piece here.

Claudio Valderrama C. - -
Independent developer
Owner of the Interbase® WebRing