FireDAC.Phys.ADS.TFDADSBackup
Delphi
TFDADSBackup = class(TFDADSBackupRestore)
C++
class PASCALIMPLEMENTATION TFDADSBackup : public TFDADSBackupRestore
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | FireDAC.Phys.ADS.pas FireDAC.Phys.ADS.hpp |
FireDAC.Phys.ADS | FireDAC.Phys.ADS |
Description
The class implementing Advantage backup database services.
Use the TFDADSBackup component to add a backup Advantage database capability to an application. This is a programmatic method to invoke the adsbackup tool.
To produce a DB backup an application should:
- Specify DriverLink, UserName, Password, Database.
- Specify BackupPath - the path to put the backup files.
- Call the Backup method.
Other properties and methods are optional.
The paths of backup files are relative to the server, as TFDADSBackup executes backup on the DB server host and writes backup files on the server host. You must be logged in as the ADSSYS user or a user in the DB:Backup group.
- Note: The TFDADSBackup works only with Advantage network server and not with the local server.
To restore a backup performed by TFDADSBackup, use the TFDADSRestore component.