English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Redis Lastsave Command

Redis Server

The Redis Lastsave command returns the time when Redis last successfully saved data to disk, in UNIX timestamp format.

Syntax

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

redis 127.0.0.1:6379> LASTSAVE

Available Version

>= 1.0.0

Return Value

A collection of strings, text lines.

Online Examples

redis 127.0.0.1:6379> LASTSAVE 
(integer) 1410853592

 

Redis Server