FireDAC.Phys.ADS.TFDADSRestore

From RAD Studio API Documentation
Jump to: navigation, search

FireDAC.Phys.ADS.TFDADSBackupRestoreFireDAC.Phys.ADS.TFDADSServiceFireDAC.Phys.TFDPhysDriverServiceFireDAC.Stan.Intf.TFDComponentSystem.Classes.TComponentSystem.Classes.TPersistentTFDADSRestore

Delphi

TFDADSRestore = class(TFDADSBackupRestore)

C++

class PASCALIMPLEMENTATION TFDADSRestore : 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 the Advantage service restoring a database from a backup.

Use the TFDADSRestore component to add a restoring database from backup capability to an application. This is a programmatic method to invoke the adsbackup tool. 

To restore a database from a DB backup, an application should do the following:

Other properties and methods are optional. 

The SourcePath is relative to the server because the TFDADSRestore restores the backup on the DB server host. The restoration can be performed using a free connection or a dictionary connection. You must be logged in as the ADSSYS user or a user in the DB:Backup group.

See Also