Redis Save Command

Redis Server

The Redis Save command performs a synchronous save operation, saving a snapshot of all data in the current Redis instance 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 versions

>= 1.0.0

Return value

Returns OK when the save is successful.

Examples

redis 127.0.0.1:6379> SAVE 
OK

Redis Server

Other extensions