DBAtlas · Database operations atlas

Set RDB snapshot rules

RedisPersistence

Command

CONFIG SET save "900 1 300 10 60 10000"

What it does

Sets the rules (seconds/number of changes) that trigger automatic RDB snapshots.

When to use it

When you want to change the automatic snapshot frequency.

Caution

If you pass an empty value (""), automatic RDB saving is disabled entirely and persistence may be lost.

Open in DBAtlas →

Related