restore error -NODBTRIGGERS is allowed only on backup
Posted: Thu 09 Apr 2020 22:05
Hello
I'm trying to restore a firebird database using version 3.0.5 of FireBird with FireBird Embedded version 2.85 I have no problems.
the error is :
option -NODBTRIGGERS is allowed only on backup
The code I'm using is
Memo1.Clear;
Try
IBCRestore.UserName := 'SYSDBA';
IBCRestore.BackupFile.Text := 'myfile.fbk';
IBCRestore.Database.Text := 'mydatabase.fdb';
IBCRestore.Verbose := true;
IBCRestore.Active := true;
IBCRestore.ServiceStart;
while not IBCRestore.Eof do
Memo1.Lines.Add(IBCRestore.GetNextLine);
Memo1.Lines.Add('Done !!!!');
Finally
IBCRestore.Active := false;
End;
using Delphi XE with IBDAC version 6.1.7
also tested with Delphi Tokyo 10.2.3 with IBDAC version 6.3.11
Thanks for your help
Regards
Job Espejel
I'm trying to restore a firebird database using version 3.0.5 of FireBird with FireBird Embedded version 2.85 I have no problems.
the error is :
option -NODBTRIGGERS is allowed only on backup
The code I'm using is
Memo1.Clear;
Try
IBCRestore.UserName := 'SYSDBA';
IBCRestore.BackupFile.Text := 'myfile.fbk';
IBCRestore.Database.Text := 'mydatabase.fdb';
IBCRestore.Verbose := true;
IBCRestore.Active := true;
IBCRestore.ServiceStart;
while not IBCRestore.Eof do
Memo1.Lines.Add(IBCRestore.GetNextLine);
Memo1.Lines.Add('Done !!!!');
Finally
IBCRestore.Active := false;
End;
using Delphi XE with IBDAC version 6.1.7
also tested with Delphi Tokyo 10.2.3 with IBDAC version 6.3.11
Thanks for your help
Regards
Job Espejel