Subject | Re: IBBackupService |
---|---|
Author | Adam |
Post date | 2006-01-20T02:19:15Z |
> I have just installed classic on my development machine. The errorgot
> 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
> the following error...file
>
> gbak: readied database localhost:C:\ChreosAccounts.fdb for backup
> gbak: ERROR: size specification either missing or incorrect for
> C:\Chreosbackup
> gbak: Exiting before completion due to errors
>
> However I can run GBak from the command prompt and successfully
> this database. You are right, the space thing was a coincidence.I
> think the error message is too long and returns only part of thatline.
>rebooted,
> It feels like either my installations dodgy (I removed SS,
> installed Classic, rebooted) or that the IBBackupService just isn'tprobably
> compatible with Classic (which also sounds unlikely as you and
> others are using it).I am only using it against SS at this stage, so someone else may have
to confirm that.
>Yep, something like the following (watch the wrap)
> 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?
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.
>with
> We don't use Alias's for a number of reasons so I am not familiar
> 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