The class implementing FB/IB backup database service.
Use the TADIBBackup component to add a backup FB/IB database capability to an application. This is a programmatic method to invoke the gbak tool as a thread in the DB server process.
To produce a DB backup an application should:
Other properties and methods are optional.
Paths of backup files are relative to the server. Because the TADIBBackup executes backup on the DB server host, the DB Service Manager writes backup files on the server host. The DB Services Manager also creates files in the context of the server.
ADIBBackup1.DriverLink := ADPhysIBDriverLink1; ADIBBackup1.UserName := 'sysdba'; ADIBBackup1.Password := 'masterkey'; ADIBBackup1.Host := 'db_srv_host'; ADIBBackup1.Protocol := ipTCPIP; ADIBBackup1.Database := 'e:\ib\addemo.fdb'; ADIBBackup1.BackupFiles.Add('e:\ib\addemo.backup'); ADIBBackup1.Backup;
What do you think about this topic? Send feedback!