Page 1 of 1
TIBCBackupService : how to use it
Posted: Wed 20 Jan 2010 08:13
by dehorter
Hi
I have some pb to implemente this componant whereas it seems not very complicated...
I success to active the componant after connection to my database, but it didn't find the result of the backup ????
I didn't find an example of this componant of your demo,
is it possible to add it for a next demo ?
regards
olivier
Posted: Thu 21 Jan 2010 09:25
by Plash
Call the Attach method to connect to the server. Then call the ServiceStart method to create backup. The backup is created in a file specified in the BackupFile property (on the server side).
Posted: Tue 26 Jan 2010 10:00
by upscene
Plash wrote:Call the Attach method to connect to the server. Then call the ServiceStart method to create backup. The backup is created in a file specified in the BackupFile property (on the server side).
how do you specify the backup file size? With IBX, this would be possible by adding "=" behind the filename.
Does IBDac support this, if so, how?
When I try to do that, I get a "clumplet too long" error.
Posted: Thu 04 Feb 2010 14:57
by upscene
upscene wrote:Plash wrote:Call the Attach method to connect to the server. Then call the ServiceStart method to create backup. The backup is created in a file specified in the BackupFile property (on the server side).
how do you specify the backup file size? With IBX, this would be possible by adding "=" behind the filename.
Does IBDac support this, if so, how?
When I try to do that, I get a "clumplet too long" error.
Any news on this?
Posted: Fri 05 Feb 2010 12:11
by Plash
We have fixed this problem. The fix will be included in the next build of IBDAC.
Posted: Tue 09 Mar 2010 14:06
by dehorter
hi
I tried but
I wrte this code on "beforedatabaseconnection"
Code: Select all
GestBag_Backup.ClientLibrary := BaseBagueursFB.ClientLibrary;
GestBag_Backup.Database := BaseBagueursFB.Database;
GestBag_Backup.Server := BaseBagueursFB.Server;
GestBag_Backup.Username := BaseBagueursFB.Username;
GestBag_Backup.Password := BaseBagueursFB.Password;
GestBag_Backup.BackupFile.Clear;
GestBag_Backup.BackupFile.Text := 'C:\Users\EG\Documents\_test.fbk';
GestBag_Backup.Attach;
//GestBag_Backup.Active := True;
GestBag_Backup.ServiceStart;
may i something wrong ?
regards
Posted: Mon 05 Apr 2010 07:59
by dehorter
no answer
there is something wrong in the code ?
olivier
Posted: Tue 06 Apr 2010 08:25
by Dimon
Try to use the following code:
Code: Select all
GestBag_Backup.Attach;
GestBag_Backup.ServiceStart;
while GestBag_Backup.IsServiceRunning do
begin
Application.ProcessMessages;
end;
GestBag_Backup.Detach;
Posted: Tue 06 Apr 2010 08:43
by dehorter
Thanks for your answer
I received this message for the first time (so better to understand) :
EIBCerror with the message : cannot open backup file C:\Users\EG\Documents\_test.fbk
this helps you ?
where is my mistake ?
regards
olivie
Posted: Tue 06 Apr 2010 10:09
by Dimon
This is an InterBase server error.
Please specify the exact version of your InterBase server.
Posted: Tue 06 Apr 2010 11:49
by dehorter
Hi
in fact i use firebird 2.1
regards
olivier
Posted: Wed 07 Apr 2010 08:57
by Dimon
It seems that this problem is connected with the specificity of Firebird server work and not with IBDAC.
Please try to use standard Delphi InterBase Service components and check if the problem still exists. IBDAC IBC Service components have interface that is compatible with standard Delphi InterBase Service components.
Posted: Wed 07 Apr 2010 11:54
by tsteinmaurer
Is C:\Users\EG\Documents\ a valid directory on the server?
Thomas
Posted: Wed 07 Apr 2010 12:36
by dehorter
Hi
Dimon
i tried to use the IBBackupService but i receive during the execution this message :
Interbase library gds32.dll not found in the directory, please install interbase to use this functionnality
I prefere not install interbase, maybe conflict could be occur with firebird !!
Thomas :
Yes this is a valid directory, but anyway i'll test with a public directory (just in case)
reagrds
olivier
Posted: Thu 08 Apr 2010 07:31
by Dimon
It seems that this problem is connected with the Firebird client library work.