Subject | Re: [ib-support] gbak |
---|---|
Author | Claudio Valderrama C. |
Post date | 2002-03-25T09:06:17Z |
""Henner Kollmann"" <Henner.Kollmann@...> wrote in message
news:003a01c1d3db$70752af0$1e5562c1@......
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.
C.
--
Claudio Valderrama C. - http://www.cvalde.com - http://www.firebirdSql.org
Independent developer
Owner of the Interbase® WebRing
news:003a01c1d3db$70752af0$1e5562c1@......
> >This is exactly what you want, as I said, but you didn't get the idea. The
> > > 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
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.
C.
--
Claudio Valderrama C. - http://www.cvalde.com - http://www.firebirdSql.org
Independent developer
Owner of the Interbase® WebRing