Skip to main content
type: redis produces an RDB snapshot in one of two modes:
  1. Live dump (default) — runs redis-cli --rdb <out> against a running server. Redis triggers a background save and streams the resulting RDB to snapr.
  2. File copy — when path is set, snapr copies the existing RDB file from disk. No server connection is made.

Example

snapr.yaml

Options

Requirements

  • For live dumps, redis-cli must be installed on the snapr host and available in PATH (Debian/Ubuntu: redis-tools).
  • For file copies, snapr only needs read access to the RDB file — no client tools required.
  • When ACLs are enabled, the configured user needs at least ~* +@read +bgsave +replconf +psync +ping, or simply ~* +@all for a dedicated backup user.

Notes

  • A live dump triggers a save on the server side. On large datasets, the snapshot fork can briefly affect memory and latency.
  • The output filename is always dump.rdb inside the job’s working directory.

File copy

snapr.yaml