Easy Tutorial
❮ Strings Decrby Server Cluster Slots ❯

Redis Lastsave Command

Redis Server

The Redis Lastsave command returns the time of the most recent successful save of Redis data to disk, represented 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

❮ Strings Decrby Server Cluster Slots ❯