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

Redis Save Command

Redis Server

The Redis Save command performs a synchronous save operation, taking a snapshot of all the data in the current Redis instance and saving it to the hard disk in the form of an RDB file.

Syntax

The basic syntax of the Redis Save command is as follows:

redis 127.0.0.1:6379> SAVE

Available Version

>= 1.0.0

Return Value

Returns OK when saved successfully.

Online Examples

redis 127.0.0.1:6379> SAVE 
OK

 

Redis Server