summaryrefslogtreecommitdiffstats
path: root/iredis/data/commands/lastsave.md
blob: cfec6253abc0a59f5d23e098529b7f0421c280f0 (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.