Take a synchronous RDB snapshot
RedisPersistenceCommand
SAVEWhat 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.