The Checkpoint feature enables RocksDB to create a consistent snapshot of a given RocksDB database in the specified directory. If the snapshot is on the same filesystem as the original database, the SST files will be hard-linked, otherwise SST files will be copied. The manifest and CURRENT files will be copied. In addition, if there are multiple column families, log files will be copied for the period covering the start and end of the checkpoint, in order to provide a consistent snapshot across column families.

    Given a checkpoint object and a directory, the CreateCheckpoint function creates a consistent snapshot of the database in the given directory.

      Checkpoints are used for online backup in ​MyRocks, which is MySQL using RocksDB as the storage engine. (MySQL on RocksDB) ​