Please note, this is a STATIC archive of website www.w3resource.com from 19 Jul 2022, cach3.com does not collect or store any user information, there is no "phishing" involved.
w3resource

Redis Server: LASTSAVE

LASTSAVE

Redis LASTSAVE command returns 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.

Syntax:

LASTSAVE

Available since

1.0.0.

Return Value

Integer replies a UNIX time stamp.

Return Value Type

Integer

Example: Redis LASTSAVE

redis 127.0.0.1:6379> LASTSAVE 
(integer) 1410853592

Previous: INFO
Next: MONITOR