Return the Unix timestamp of last successful save.

Section: Persistence

Read time of last successful save

bash
bash
LASTSAVE

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Persistence
Rewrite AOF in background
Compact the append-only file in the background.
OpenIn sheetbashsame section
Wait for replicas to acknowledge writes
Block until writes reach a minimum number of replicas or timeout.
OpenIn sheetbashsame section
Wait for local AOF fsync
Wait for AOF persistence conditions when supported.
OpenIn sheetbashsame section
Make server replicate from a primary
Turn the current node into a replica of a primary.
OpenIn sheetbash1 tag match
Run a Lua script
Execute Lua server-side atomically.
OpenIn sheetbash1 tag match
Inspect cluster state
Read cluster state, slot coverage, and message counters.
OpenIn sheetbash1 tag match