

İlk sorun şu :
2. Mesaj:I tried Backup but TpFIBBackupService did NOT backup. I Tested in Delphi 2007 by fib+ example BackupRestore.dpr
Delphi standart IB componets (TIBBackupService) same it not work too
I tested this in IBExpert and EMS FireBird Tools. But same, It not works
BackupService1.DatabaseName := 'Mydb 2007';
BackupService1.Protocol := (TCP);
BackupService1.ServerName := '127.0.0.1';
result is
*** Database file: ***
Mydb 2007
*** Backup file(s): ***
C:\Mydb.fbk
==================== Backup started ====================
gbak: readied database Mydb 2007 for backup
gbak: creating file C:\Mydb.fbk
.......
this is okey. But, if the db on server and NOSHAREd folder, NO any permissions on Server's HDD(Just connect to db via tcp/ip [exam: 10.0.0.1:Mydb 2007] everythink is okey) can NOT backup.
BackupService1.DatabaseName := 'Mydb 2007';
BackupService1.Protocol := (TCP);
BackupService1.ServerName := '10.0.0.1';
Error is:
Unsuccessful execution caused by a system error that precludes
succeddful execution of subsequent statements.
Cannot open backup file C:\Mydb.fbk.
Test system is
Client XP pro
Server Windows 2003
FireBird Server 1.5.3.4870
this is my test code:
BackupService1.DatabaseName := 'Mydb 2007';
BackupService1.Protocol := (TCP);
BackupService1.ServerName := '10.0.0.1';
BackupService1.BackupFile.Clear;
Memo1.Clear;
Memo1.Lines.Add('*** Database file: ***');
Memo1.Lines.Add(BackupService1.DatabaseName);
Memo1.Lines.Add('*** Backup file(s): ***');
BackupService1.BackupFile.Add('C:\MyDb.fbk');
Memo1.Lines.Add('C:\MyDb.fbk');
Memo1.Lines.Add(
'==================== Backup started ====================');
BackupService1.Active := True;
BExit.Enabled := False;
BBackup.Enabled := False;
BRestore.Enabled := False;
BackupService1.ServiceStart;
while not (BackupService1.Eof) do Memo1.Lines.Add(BackupService1.GetNextLine);
BackupService1.Active := False;//Error line
BExit.Enabled := True;
BBackup.Enabled := True;
BRestore.Enabled := True;
Memo1.Lines.Add(
'==================== Backup ended ====================');
I think this is bug, becouse this command line is working correctly
d:\Firebird_1_5\bin\gbak.exe -v -t -user SYSDBA -password "masterkey" 10.0.0.1:"Mydb 2007" C:\Mydb.fbk
just importing Alias name has a space char (#32) so its work just Alias name add like this "Mydb 2007" not Mydb 2007
Sorry for my poor english
cevap:From: [1185] (svd) Sergey Pfaffenrot (helpdesk staff)
ok. then could you tring next experiment:
rename your database to 8.3 and start application again.
From: [3007] (freeman35) freeman35 freeman35
I did. But same problem
I renamed db name to "ABC.FDB" I tryed Alias name to "Mydb 2007" & "ABC". Same problem goes on.
I tested in IBExpert tools, but same
şimdilik bu kadar