<xml></xml>

Collapse All Expand All Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++

Berkeley DB .NET API Documentation
DatabaseEnvironmentConfig..::.HotbackupInProgress Field
DatabaseEnvironmentConfig Class See Also Send Feedback

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

Namespace: BerkeleyDB
Assembly: libdb_dotnet53 (in libdb_dotnet53.dll) Version: 5.3.28.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 will force 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. Please see the discussion of hot backups in the Getting Started With Transactions Guide, and the description of the Bulk attribute in Bulkfor more information.

# See Also

DatabaseEnvironmentConfig Class
BerkeleyDB Namespace