Skip to content

§ Databases · Key-value

KeyDB backups, natively.

KeyDB uses the BGSAVE flow: Xtic triggers a save, waits for it to finish and collects the RDB file.

What Xtic runs

keydb-cli
keydb-cli BGSAVE   # then collect dump.rdb once LASTSAVE moves

Shown with placeholders. Credentials never appear on a command line: they reach the tool through the environment, a file descriptor or a short-lived file in memory.

Restore paths

  • Stop, place dump.rdb, start — in a maintenance window

Verification

RDB header magic on every run. Every artifact is also hashed, and the stored copy is read back and compared before the run counts as verified.

Version rule

Restore onto the same or a newer KeyDB.

Good to know

  • KeyDB sees little development; plan a move to Redis or Valkey
  • Licence and editions: BSD — no gates.