BGSAVE

Since 1.1.0ServerKnown issue

Syntax

BGSAVE
  • Flags: admin
  • ACL categories: @admin, @dangerous, @server, @slow
  • Arity: -1

Writes a snapshot of the dataset to dump.kdb in the background, and replies at once.

Known issue

With the append-only file off, the dataset is copied a part at a time rather than at one moment: a transaction or script whose keys are in two parts can be saved half applied. Filed as kividb#148, fixed in 1.2.

Examples

> BGSAVE
Background saving started