Redis Lastsave Command

Redis Server

The Redis Lastsave command returns the time of the last successful save of data to disk by Redis, expressed in UNIX timestamp format.

Syntax

The basic syntax of the redis Lastsave command is as follows:

redis 127.0.0.1:6379> LASTSAVE 

Available Versions

>= 1.0.0

Return Value

String, a collection of text lines.

Example

redis 127.0.0.1:6379> LASTSAVE 
(integer) 1410853592

Redis Server

Other Extensions