Subject Re: [firebird-support] Re: gbak with -se switch?
Author Martijn Tonies (Upscene Productions)
Thanks but no thanks, both Dmitry Y and Dmitry S.

>Dmitry S:
>22.06.2016 11:25, 'Martijn Tonies wrote:
>>
>> Firebird 3 fails to back up when the database is in use
>
>It does not, as long as you don't use a "hostless" connection string.

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.

But, Dmitry S said:
>> any clue?
>
> Move "MARTIJN-WS-DEV/3054" from database path to service_mgr path.

So I tried:

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"
gbak: ERROR:multiple sources or destinations specified
gbak: ERROR: Exiting before completion due to errors
gbak:Exiting before completion due to errors

Didn't work.

I appreciate your time in answering, but a slightly more useful answer would
be appreciated even more ;)

And no, I couldn't find this in the documentation.


With regards,

Martijn Tonies
Upscene Productions