type: redis produces an RDB snapshot in one of two modes:
- Live dump (default) — runs
redis-cli --rdb <out>against a running server. Redis triggers a background save and streams the resulting RDB to snapr. - File copy — when
pathis set, snapr copies the existing RDB file from disk. No server connection is made.
Example
snapr.yaml
Options
Requirements
- For live dumps,
redis-climust be installed on the snapr host and available inPATH(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~* +@allfor 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.rdbinside the job’s working directory.
File copy
snapr.yaml