LEVELDBSNAPSHOTINC
extensions commercialConfiguration parameters
-
warpscript.extensions
-
leveldb.secret
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.