LASTSAVE

Since 1.1.0ServerKnown issue

Syntax

LASTSAVE
  • Flags: admin, fast
  • ACL categories: @admin, @dangerous, @fast, @server
  • Arity: 1

Returns the Unix time of the last snapshot saved, 0 if none.

Known issue

0 after every restart, even when a snapshot was just loaded, and it does not move for the save at shutdown or a rewrite of the append-only file. Filed as kividb#149, fixed in 1.2.

Examples

> LASTSAVE
(integer) 0