Wednesday, 22 June 2016

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

 

Hello Dmitry,

>> As per original example:
>> Here's the command:
>> C:\Program Files\Firebird\Firebird_3_0>gbak -b -m -t -se service_mgr –v
>> -user sysdba -pas masterkey
>> "MARTIJN-WS-DEV/3054:e:\temp\2014 FB Conference.fdb"
>> "e:\temp\2014 FB Conference.bak"
>>
>> In my book, this -looks- like a connection string with host.
>
>I understood you as that regular gbak does not work when the database is
>in use, so now you try the -se switch.

That is correct, but as you can see, using -se resulted in an error.

>> So I tried:
>>
>> C:\Program Files\Firebird\Firebird_3_0>gbak -b -m -t
>> -se "martijn-ws-dev/3054:service_mgr"
>
>Quotes are not needed here.

OK, nevertheless, I got the same error about 'multiple destinations'. Also,
where does the docs say to use the host before 'service_mgr' instead of
the (source) database string?

>> -v -user sysdba -pas masterkey
>> "e:\temp\2014 FB Conference.fdb" "e:\temp\2014 FB Conference.bak"
>
>Did you try using filenames without embedded spaces (and thus without
>quotes)?

No, cause the database name contains spaces ;) And it works fine using the
services API (via a Delphi component).

Could that be the cause of the multiple sources/destinations error? If so,
I'll
take it this is a parsing error in gbak?

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 (7)

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