Redis – Server Save Command

  • Post author:
  • Post category:Redis
  • Post comments:0 Comments

Redis SAVE command performs a synchronous save of the dataset producing a point in time snapshot of all the data inside the Redis instance, in the form of a RDB file.

Return Value

String reply – The commands returns OK on success.

Syntax

Following is the basic syntax of Redis SAVE command.

redis 127.0.0.1:6379> SAVE

Example

redis 127.0.0.1:6379> SAVE  
OK 

Leave a Reply