Peev711
asked on
backup fbird
How can i backup my database from app.
The name of the backup file must be Tdate(now) .
The name of the backup file must be Tdate(now) .
ASKER
sorry.database is firebird.language - delphi(pascal).
a want a create a app. that will be make a backup and the backup have a name for example date.
a want a create a app. that will be make a backup and the backup have a name for example date.
If you using Delphi program you must use service API to implement backup/restore service.
You can name the backup file whatever you want.
You can name the backup file whatever you want.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Ok i Try whit this
with IBBackupService1 do
begin
ServerName := 'localhost';
LoginPrompt := False;
Params.Clear;
Params.Add('user_name=sysd ba');
Params.Add('password=maste rkey');
Protocol := TCP;
Active := True;
try
Verbose := True;
Options := [NonTransportable, IgnoreLimbo];
DatabaseName := '127.0.0.1:D:\OPIT.FDB';
BackupFile.Clear;
BackupFile.Add('D:\XX.FBK' );
ServiceStart;
While not Eof do
Memo1.Lines.Add(IBBackupSe rvice1.Get NextLine);
finally
Active := False;
end;
end;
But get some error 'connection rejected by remote interface '
I Use FireBird 2.1 delphi 7.
Some Help Please !
with IBBackupService1 do
begin
ServerName := 'localhost';
LoginPrompt := False;
Params.Clear;
Params.Add('user_name=sysd
Params.Add('password=maste
Protocol := TCP;
Active := True;
try
Verbose := True;
Options := [NonTransportable, IgnoreLimbo];
DatabaseName := '127.0.0.1:D:\OPIT.FDB';
BackupFile.Clear;
BackupFile.Add('D:\XX.FBK'
ServiceStart;
While not Eof do
Memo1.Lines.Add(IBBackupSe
finally
Active := False;
end;
end;
But get some error 'connection rejected by remote interface '
I Use FireBird 2.1 delphi 7.
Some Help Please !
ASKER
I Have GDS32.dll only in system directory
I think you are using different version between gds32.dll and firebird server.
Please copy fbclient.dll from bin directory from firebird install directory to system32 then rename it to gds32.dll
Thank your points!
Please copy fbclient.dll from bin directory from firebird install directory to system32 then rename it to gds32.dll
Thank your points!
What type of database? What app? Are you just a user or are you trying to modify that app to do this? If so what language?
What is Tdate(now) suppose to refer to? If a specific language then which. This in the Misc zone so you must provide a lot more info.
Let me know if you have any questions or need more information.
b0lsc0tt