LastsaveCommand: Contents
  LASTSAVE
    Return value

LastsaveCommand

#sidebar ControlCommandsSidebar

LASTSAVE

Return the UNIX TIME of the last DB save executed with success.A client may check if a BGSAVE command succeeded reading the LASTSAVEvalue, then issuing a BGSAVE command and checking at regular intervalsevery N seconds if LASTSAVE changed.

Return value

Integer reply, specifically an UNIX time stamp.