BACKUP START

Since 1.1.0ServerKiviDB commandKnown issue

Syntax

BACKUP START

Starts a backup: writes a snapshot of the dataset as of now into the backup directory, then collects the writes that follow.

Known issue

After a restart, a sealed backup's files are left in the directory, and it refuses to start until they are deleted by hand. Filed as kividb#150, fixed in 1.2.

Reply

  • OK.
  • ERR a backup is already in progress.

Examples

> BACKUP START
OK
> BACKUP STATUS
1) "state"
2) "snapshotting"
...