Subject Re: [firebird-support] Re: IBBackupService
Author Bogusław Brandys
Robert martin wrote:
> Thanks 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 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?
>
> 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.
>
>
>
> Rob Martin
> Software Engineer
>
> phone +64 03 377 0495
> fax +64 03 377 0496
> web www.chreos.com
>
> Wild Software Ltd
>
>
>
> Adam wrote:
>
>
>>--- In firebird-support@yahoogroups.com, Robert martin <rob@c...>
>>wrote:
>>
>>
>>
>>>Hi
>>>
>>>Further information I have discovered. In a different part of our
>>>
>>>
>>
>>app
>>
>>
>>
>>>we also do backups and this fails with a 'cannot attach to services
>>>manager'. I have done a web search and see old reports that this
>>>
>>>
>>
>>was a
>>
>>
>>
>>>problem with IB 6.0 and FB Classic as the services manager was not
>>>implemented in the classic versions. Has it been?
>>>
>>>
>>
>>>From the quick start guide:
>>http://www.firebirdsql.org/devel/doc/manual/defaulthtml/qsg15-classic-
>>or-super.html
>>
>>Classic:
>>
>>1.5: Partially implemented Services Manager, supporting tasks like
>>backup/restore, database shutdown etc. over the network. Other
>>service tasks have to be performed locally using the client tools
>>(small separate executables) that come with Firebird.
>>
>>1.5.1 and up: full Services Manager.
>>
>>Note:
>>
>>IBX is a componentset developed by Borland to connect to Interbase
>>that just happens to work with Firebird because the Firebird and
>>Interbase API have not forked to the extent where it no longer works.
>>
>>Try to do a number of tests.
>>
>>1. Does using aliases resolve the issue?
>>2. Do you have the same problem invoking the backup service using
>>gbak with -se switch?
>>3. Does it work if the database is moved to a location where no space
>>is required?
>>
>>If you are able to have success with 1 and 2, then it must be a
>>limitation of IBX. I do use the IBX backup service in a daily basis,
>>but I would have to check my code as it has been a few months now.
>>However I connect to the databases using aliases. In fact, my backup
>>process reads the aliases.conf file and backs up each alias within a
>>particular base folder to a fbk file named whatever the alias is
>>called. It then restores to a temporary location to be sure. So I
>>can't tell you whether the spaces are confusing things.
>>
>>Adam
>>
>>
>>
>>

What about using "" ? Like "c:\Program Files\Backup\Data.fdb"



Regards
Boguslaw