DBAtlas · Database operations atlas

Take a synchronous RDB snapshot

RedisPersistence

Command

SAVE

What it does

Writes an RDB snapshot to disk synchronously on the main thread.

When to use it

Only before maintenance/shutdown, when no clients are being served.

Caution

SAVE blocks the entire server and no commands are processed until it finishes; prefer BGSAVE in production.

Open in DBAtlas →

Related