FireDAC.Phys.SQLite.TFDSQLiteBackup

From RAD Studio API Documentation
Jump to: navigation, search

FireDAC.Phys.SQLite.TFDSQLiteServiceFireDAC.Phys.TFDPhysDriverServiceFireDAC.Stan.Intf.TFDComponentSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTFDSQLiteBackup

Delphi

TFDSQLiteBackup = class (TFDSQLiteService)

C++

class PASCALIMPLEMENTATION TFDSQLiteBackup : public TFDSQLiteService

Properties

Type Visibility Source Unit Parent
class public
FireDAC.Phys.SQLite.pas
FireDAC.Phys.SQLite.hpp
FireDAC.Phys.SQLite FireDAC.Phys.SQLite

Description

The class implementing the SQLite backup, restore and copy database functionality.

Use the TFDSQLiteBackup component to add a backup, restore, copy database capability to an application. 

To produce a DB backup, an application should:

Other properties and methods are optional. 

The SQLite backup actually copies the specified database into a new file. The copying is consistent and does not depend on the currently connected users. 

Also, the copying can be performed not only between files, but also between memory and file or backwards. In this case, use DatabaseObj or DestDatabaseObj to specify the connected memory database.

See Also