summaryrefslogtreecommitdiffstats
path: root/iredis/data/commands/lastsave.md
blob: 8a4dea1ee92a2a46a0b5a468997ba3486b2be73f (plain)
1
2
3
4
5
6
7
8
Return the UNIX TIME of the last DB save executed with success. A client may
check if a `BGSAVE` command succeeded reading the `LASTSAVE` value, then issuing
a `BGSAVE` command and checking at regular intervals every N seconds if
`LASTSAVE` changed.

@return

@integer-reply: an UNIX time stamp.