FireDAC.Phys.IBBase.TFDIBRestore.Options

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Options: TIBRestoreOptions read FOptions write FOptions default [];

C++

__property Firedac::Phys::Ibwrapper::TIBRestoreOptions Options = {read=FOptions, write=FOptions, default=0};

Properties

Type Visibility Source Unit Parent
property published
FireDAC.Phys.IBBase.pas
FireDAC.Phys.IBBase.hpp
FireDAC.Phys.IBBase TFDIBRestore

Description

Specifies the restore options.

Use the Options property to specify additional options controlling the restore task. The default value is an empty set.

Option Description

roDeactivateIdx

Do not build user indexes during the restore operation. This option corresponds to gbak -inactive.

roNoShadow

Do not recreate shadow files during the restore operation. This option corresponds to gbak -kill.

roNoValidity

Do not enforce validity conditions (for example, NOT NULL) during the restore operation. This option corresponds to gbak -no_validity.

roOneAtATime

Commit after completing the restore operation of each table. This option corresponds to gbak -one_at_a_time.

roReplace

  • When specified, then the database will be replaced, if one exists. If it does not exist, then the database will be created. This option corresponds to gbak -replace.
  • When not specified, then the database will be created, if one does not exist. If it exists, then exception will be raised. This option corresponds to gbak -create.

roUseAllSpace

Do not reserve 20 percent of each data page for future record versions. This option is useful for read-only databases and corresponds to gbak -use_all_space.

roValidate

Enable validation during a restore operation. This option corresponds to gbak -validate.

roFixFSSData

Upgrade UNICODE_FSS data to FixCharSet. This option corresponds to gbak -FIX_FSS_DATA and is supported by Firebird 2.5 and higher.

roFixFSSMetaData

Upgrade UNICODE_FSS metadata to FixCharSet. This option corresponds to gbak -FIX_FSS_METADATA and is supported by Firebird 2.5 and higher.

roMetaDataOnly

Restore metadata only with empty tables from the backup file. This option corresponds to gbak -metadata and is supported by Firebird 2.5 and higher.


See Also