22.06.2016 13:14, Martijn Tonies wrote:
>
> When connected to the database from another application, here:
> C:\Program Files\Firebird\Firebird_3_0>gbak -b -m -t  -v
>    -user sysdba -pas masterkey
>    "e:\temp\2014 FB Conference.fdb" "e:\temp\2014 FB Conference.bak"

Hostless connection string, as I expected.

>> InterBase API Guide, page 202.
>
> I have to look in the >>API guide<< for using a command line tool?

As an end user, you should not. GBAK reference surely deserves fixing. 
As a tool/component developer, I'm pretty surprised you don't know how 
to connect to the service manager remotely.

> OK, tried that. Connected to the renamed database from another application,
> ran this statement:
>
> C:\Program Files\Firebird\Firebird_3_0>gbak -b -m -t
>    -se martijn-ws-dev/3054:service_mgr
>    -v -user sysdba -pas masterkey
>    "e:\temp\2014_FB_Conference.fdb"
>    "e:\temp\2014_FB_Conference.bak"
>
> (still used quotes, changed spaces into underscores)
>
> It ran just fine.

So the problem seems to be with embedded blanks, not with quotes.

> See above. Strangely enough, it fails when using -se, but not without
> using -se.

Because supposedly the problem is inside the service manager. GBAK uses 
a somewhat original way of interacting with it.

Worth registering in the tracker.


Dmitry


  • ... Dimitry Sibiryakov s...@ibphoenix.com [firebird-support]
  • ... Dmitry Yemanov dim...@users.sourceforge.net [firebird-support]
    • ... 'Martijn Tonies (Upscene Productions)' m.ton...@upscene.com [firebird-support]
      • ... Dmitry Yemanov dim...@users.sourceforge.net [firebird-support]
        • ... 'Martijn Tonies (Upscene Productions)' m.ton...@upscene.com [firebird-support]
          • ... Dmitry Yemanov dim...@users.sourceforge.net [firebird-support]
            • ... 'Martijn Tonies (Upscene Productions)' m.ton...@upscene.com [firebird-support]
              • ... Dimitry Sibiryakov s...@ibphoenix.com [firebird-support]
              • ... 'Martijn Tonies (Upscene Productions)' m.ton...@upscene.com [firebird-support]
              • ... Dmitry Yemanov dim...@users.sourceforge.net [firebird-support]
              • ... Dmitry Yemanov dim...@users.sourceforge.net [firebird-support]
              • ... Dmitry Yemanov dim...@users.sourceforge.net [firebird-support]
              • ... 'Martijn Tonies (Upscene Productions)' m.ton...@upscene.com [firebird-support]
              • ... Dmitry Yemanov dim...@users.sourceforge.net [firebird-support]
              • ... 'Martijn Tonies (Upscene Productions)' m.ton...@upscene.com [firebird-support]
      • ... 'Martijn Tonies (Upscene Productions)' m.ton...@upscene.com [firebird-support]

Reply via email to