Subject | Re: Trouble with Gbak on Vista |
---|---|
Author | stewartwarren |
Post date | 2007-12-11T21:38:49Z |
Thanks you Helen.
(Love your Book)
Warren
--- In firebird-support@yahoogroups.com, Helen Borrie <helebor@...>
wrote:
\bin\ directory of a server installation). If you have your old IB
gds32.dll client in \System32\ there is a risk that gbak will find it
before it finds fbclient.dll.
a network protocol AND invoke the Services Manager.
with non-transportable names. I use lower-case ascii-compliant names
for directories so that I can transplant structures across operating
systems without breaking applications...
(Love your Book)
Warren
--- In firebird-support@yahoogroups.com, Helen Borrie <helebor@...>
wrote:
>main
> At 08:05 AM 11/12/2007, you wrote:
>
> >I've got two apps trying to access the firebird database. The
> >app accesses the db OK. I take that to mean the server is runningOK
> >and TCP port 3050 is not being block by a firewall.a
> >
> >The second app is just a visual interface to gbak to give the user
> >button click approach to backups and restores. That's why thefact that command shells in Vista run as remote desktop clients.
> >message "unavailable database" threw me. With Interbase, that
> >message usually meant the Interbase server process was not running.
>
> This isn't a question of InterBase vs Firebird but is due to the
>in
>
> >The backup app is not running gbak in its install directory, but
> >another directory where we manually copied the gbak.exe file to.We
> >also manully copied the fbclient.dll file to the System32directory.
>fbclient.dll if it is in the same directory as gbak.exe (normally the
> Do make sure that gbak is using the correct client. It will use
\bin\ directory of a server installation). If you have your old IB
gds32.dll client in \System32\ there is a risk that gbak will find it
before it finds fbclient.dll.
>server's network node name. But yes, from a RDT client you must use
>
> >The gbak parameters were written for interbase 5.6 version of gbak
> >which didn't accept long Windows filenames, as I recall. So gbak
> >would be invoked as:
> >
> >gbak -B -b C:\Datdir~1\datafile.gdb C:\Datdir~1
> >\Backups\backfil.bac -user uname -password theword
> >
> >With the firebird version of gbak:
> >Can it take the long filenames?
>
> Yes, usually.
>
> >Should I use the localhost or 127.0.0.1 as part of the file path?
>
> Vista might not let you use localhost/127.0.0.1. If not, use the
a network protocol AND invoke the Services Manager.
>localhost:C:\My
>
> >For example, would this be correct:
> >gbak -B -b localhost:C:\My LongDir Name\datafile.gdb
> >LongDir Name\Backups\backfile.bac -user uname -pasword thewordC:\My
>
> No. (and -password switch has 2 s's).
>
> gbak -b -se Nodename:service_mgr C:\My LongDir Name\datafile.gdb
> LongDir Name\Backups\backfile.bac -user uname -password thewordabout spaces in directory names, e.g.,
>
> You can double-quote the paths if your Windows installation baulks
>Name\datafile.gdb" "C:\My
> gbak -b -se Nodename:service_mgr "C:\My LongDir
> LongDir Name\Backups\backfile.bac" -user uname -password thewordBut I follow the practice of NEVER placing databases in directories
>
> I don't know whether the space-thing is even an issue on Vista.
with non-transportable names. I use lower-case ascii-compliant names
for directories so that I can transplant structures across operating
systems without breaking applications...
>
> ./heLen
>