Subject Re: IBBackupService
Author Adam
> I have just installed classic on my development machine. The error
> message I get is now different !
>
> gbak: ERROR: multiple sources or destinations specified
> gbak: Exiting before completion due to errors
>
>
> I tried changing the path to just off C drive as you suggested and
got
> the following error...
>
> gbak: readied database localhost:C:\ChreosAccounts.fdb for backup
> gbak: ERROR: size specification either missing or incorrect for
file
> C:\Chreos
> gbak: Exiting before completion due to errors
>
> However I can run GBak from the command prompt and successfully
backup
> this database. You are right, the space thing was a coincidence.
I
> think the error message is too long and returns only part of that
line.
>
> It feels like either my installations dodgy (I removed SS,
rebooted,
> installed Classic, rebooted) or that the IBBackupService just isn't
> compatible with Classic (which also sounds unlikely as you and
probably
> others are using it).

I am only using it against SS at this stage, so someone else may have
to confirm that.

>
> I tried Gbak with the -se switch and got the following error...
>
> gbak: ERROR: service name parameter missing
> gbak: Exiting before completion due to errors
>
> I assume I am supposed to add something after -se?

Yep, something like the following (watch the wrap)

gbak.exe -b -se [servername]:service_mgr [aliasname]
c:\path\to\backup.fbk –user SYSDBA –password masterke -v

See below for how to configure an alias.

>
> We don't use Alias's for a number of reasons so I am not familiar
with
> the process. We were not looking to change this.
>

It is a pretty simple process, open the following file in notepad
c:\Program Files\Firebird\Firebird_1_5\aliases.conf

Add the line:

ChreosAccounts = c:\path\to\ChreosAccounts.fdb

Save the file.

Now your connection string from the client is

servername:ChreosAccounts

(servername is the hostname or IP address of the Firebird server). Of
course you can use localhost or 127.0.0.1 if that is what you want to
connect to.

Adam