Subject | Re: [firebird-support] Re: gbak with -se switch? |
---|---|
Author | Martijn Tonies (Upscene Productions) |
Post date | 2016-06-22T09:49:02Z |
Hello Dmitry,
where does the docs say to use the host before 'service_mgr' instead of
the (source) database string?
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
>> As per original example:That is correct, but as you can see, using -se resulted in an error.
>> 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.
>> So I tried:OK, nevertheless, I got the same error about 'multiple destinations'. Also,
>>
>> C:\Program Files\Firebird\Firebird_3_0>gbak -b -m -t
>> -se "martijn-ws-dev/3054:service_mgr"
>
>Quotes are not needed here.
where does the docs say to use the host before 'service_mgr' instead of
the (source) database string?
>> -v -user sysdba -pas masterkeyNo, cause the database name contains spaces ;) And it works fine using the
>> "e:\temp\2014 FB Conference.fdb" "e:\temp\2014 FB Conference.bak"
>
>Did you try using filenames without embedded spaces (and thus without
>quotes)?
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