Subject Re: [firebird-support] running gbak on a remote system
Author Helen Borrie
At 07:46 AM 8/03/2005 +0100, Nando Dessena wrote:

>Hello,
>
>d> gbak -b 127.0.0.1:C:\Inetpub\mdir\MDB.FDB
>d> 127.0.0.1:C:\Inetpub\mdirb\MDB.FBK -user SYSDBA -password XXXXXXXXX
>
>d> Can someone please tell me what I'm doing wrong here, and how I might
>d> correct it?
>
>gbak -b 127.0.0.1:C:\Inetpub\mdir\MDB.FDB
>C:\Inetpub\mdirb\MDB.FBK -user SYSDBA -password XXXXXXXXX

Nando, FYI, here's the original description of the setup:

On Mon, 07 Mar 2005 16:27:43 -0000, dbambo2000 <gcampbel@...> wrote:
>
> I have a server which I access remotely (via Remote Desktop). I want
> to run a backup of a firebird db on this system (and have it store the
> backup on the same system).
>
> When I registered the database, I did this remotely so it is
> registered in this way:
>
> Under "Location Info" - "Remote Server" is checked.
> "127.0.0.1" is specified as the server and the network protocal is
> TCP/IP.

As I'm sure you already know, Nando, the localhost IP address on one
machine is not visible to any other machine. So if he's trying to access
the database from his remote machine as "127.0.0.1", the server that he
"registered" (presumably in IBConsole or some other tool that "registers
servers" is known only on the machine where the "registration" was
done. It's not known to remote clients (which have their own localhost at
that address) and it's not known to a Remote Desktop client, even if that
client is on the same physical machine as this "registered server".
--------------------------------------

However, you also said:

>And, if I was you I'd take the database out of inetpub. :-)

At least we agree 100% about that.... :-)

./hb