Wednesday, 22 June 2016

Re: [firebird-support] Re: gbak with -se switch?

 

Hello Dmitry,

>> 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.

As per my original e-mail, I'm not surprised this fails. Which is why I
switched
to attempting to use the service manager. ;)

>>> 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.

As most (if not nearly all) application developers, I don't use the API
directly.

>> 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.

It seems so.

>> 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.
>
>It seems it's already there:
>http://tracker.firebirdsql.org/browse/CORE-5263

Ah, it seems so, and quite recent I see (6th of June)

Thanks for the help.

With regards,

Martijn Tonies
Upscene Productions
http://www.upscene.com

__._,_.___

Posted by: "Martijn Tonies \(Upscene Productions\)" <m.tonies@upscene.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (14)

Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Visit http://www.firebirdsql.org and click the Documentation item
on the main (top) menu.  Try FAQ and other links from the left-side menu there.

Also search the knowledgebases at http://www.ibphoenix.com/resources/documents/

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

.

__,_._,___

No comments:

Post a Comment