Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Firebird (only) backup



Permlink Replies: 1 - Last Post: Feb 4, 2015 12:46 AM Last Post By: Sebastian Kumor
Sebastian Kumor

Posts: 22
Registered: 10/19/11
Firebird (only) backup
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 4, 2015 12:23 AM
Hi,
I try to backup my database. I'm using TADIBNBackup Class (firebird only)

My code:

 with Ufunkcje.Funkcje.ADIBNBackup1 do  //TADIBNBackup component to add a Firebird-only backup database
  begin
 
    UserName := 'sysdba';
    Password := 'masterkey';
    Host := 'localhost';
    Protocol := ipTCPIP;
    Database := 'c:\basefile.fdb';
    BackupFile:='c:\copy\1.fbk';
    Level:=0;
 
    Backup;
 
 
  end;


...but i get error:
First chance exception at $7526C42D. Exception class EIBNativeException with message '[FireDAC][Phys][IB]Invalid clumplet buffer structure: buffer end before end of clumplet - clumplet too long'. Process pbaza.exe (7888)

Any help or suggestion is greatly appreciated

Sebastian Kumor

Posts: 22
Registered: 10/19/11
Re: Firebird (only) backup
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 4, 2015 12:37 AM   in response to: Sebastian Kumor in response to: Sebastian Kumor
Sebastian Kumor wrote:
Hi,
I try to backup my database. I'm using TADIBNBackup Class (firebird only)

My code:

 with Ufunkcje.Funkcje.ADIBNBackup1 do  //TADIBNBackup component to add a Firebird-only backup database
  begin
 
    UserName := 'sysdba';
    Password := 'masterkey';
    Host := 'localhost';
    Protocol := ipTCPIP;
    Database := 'c:\basefile.fdb';
    BackupFile:='c:\copy\1.fbk';
    Level:=0;
 
    Backup;
 
 
  end;


...but i get error:
First chance exception at $7526C42D. Exception class EIBNativeException with message '[FireDAC][Phys][IB]Invalid clumplet buffer structure: buffer end before end of clumplet - clumplet too long'. Process pbaza.exe (7888)

Any help or suggestion is greatly appreciated


It looks, that this problem is solved in newest version of FireDac.
I've found Dmitry Arefiev answer in similar post:

"
This issue was introduced due to porting to NextGen (iOS) and
fixed after FireDAC Update 1 was released. To apply the fix do:
- open uADPhysIBWrapper.pas
- locate there TIBPBWriter.AddLongString method
- there are two places with "SizeOf(Byte)". Replace them with
"SizeOf(Word)".
"

So problem is solved. Sorry for interupt

Edited by: Sebastian Kumor on Feb 4, 2015 12:38 AM

Edited by: Sebastian Kumor on Feb 4, 2015 12:46 AM
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02