Redis – Backup
Redis SAVE command is used to create a backup of the current Redis database. Syntax Following is the basic syntax of redis SAVE command. 127.0.0.1:6379> SAVE Example Following example creates a backup of the…
Redis SAVE command is used to create a backup of the current Redis database. Syntax Following is the basic syntax of redis SAVE command. 127.0.0.1:6379> SAVE Example Following example creates a backup of the…
Redis TIME command returns the current server time as a two-items list − a Unix timestamp and the amount of microseconds already elapsed in the current second. Basically, the interface is similar…
Redis SYNC command is used to sync slave to master. Return Value Simple string reply. Syntax Following is the basic syntax of Redis SYNC command. redis 127.0.0.1:6379> SYNC Example redis 127.0.0.1:6379> SYNC Entering slave…
The Redis Slow Log is a system to log queries that exceeded a specified execution time. The execution time does not include I/O operations like talking with the client, sending…
Redis SLAVEOF command can change the replication settings of a slave on the fly. If a Redis server is already acting as a slave, the command SLAVEOF NO ONE will turn off…
Redis SHUTDOWN command stops all clients, performs a save, flushes all append only files (if AOF is enabled) and quits the server. Return Value Simple string reply on error. On success nothing…
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…
Redis ROLE is a debugging command that streams back every command processed by the Redis server. It can help in understanding what is happening to the database. This command can be used…
Redis MONITOR is a debugging command that streams back every command processed by the Redis server. It can help in understanding what is happening to the database. This command can be used…
Redis LASTSAVE command returns the UNIX TIME of the last DB save executed with success. A client may check if a BGSAVE command succeeded reading the LASTSAVE value, then issuing a BGSAVE…