Loading

LEVELDBSNAPSHOTINC

extensions commercial
This extension is available with commercial support. Please contact sales team for more information.
Configuration parameters

Creates an incremental LevelDB snapshot.

The snapshot creation process first closes the LevelDB subsystem, then creates a directory under the snapshots directory in the LevelDB data directory and then creates hard links to the SST files and the log, manifest and CURRENT files which are only in the current LevelDB file set. Once those hard links are created, the LevelDB subsystem is reopen and the files which were both in the current LevelDB file set and the reference snapshot are linked from the reference snapshot. This allows for the snapshot process to only close the LevelDB subsystem during the linking of files which were created since the reference snapshot was created.

Since the snapshot mechanism works by creating hard links, it can only work if the snapshots directory is on the same device (volume) as the LevelDB data directory.

The content of the newly created snapshot can be copied to third party storage for archival purposes.

LEVELDBSNAPSHOTINC is available since version 2.7.0.

See also

Signatures

Examples

'snapshot-ref' 'snapshot-new' secret' LEVELDBSNAPSHOT