Set a flag in the environment indicating that a hot backup is in progress.

Namespace:  BerkeleyDB
Assembly:  libdb_dotnet181 (in libdb_dotnet181.dll) Version: 18.1.32.0

Syntax

C#
public bool HotbackupInProgress
Visual Basic (Declaration)
Public HotbackupInProgress As Boolean
Visual C++
public:
bool HotbackupInProgress

Remarks

When a "hot backup" copy of a database environment is taken, this attribute should be configured in the environment prior to copying. If any transactions with the bulk insert optimization enabled (i.e., started with the Bulk configuration attribute) are in progress, setting the HotBackupInProgress attribute forces a checkpoint in the environment. After this attribute is set, the bulk insert optimization is disabled, until the attribute is reset. Using this protocol allows a hot backup procedure to make a consistent copy of the database even when bulk transactions are ongoing. For more information about hot backups see the Getting Started With Transactions Guide. To learn more about the Bulk attribute see Bulk.

See Also