HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
Redis SAVE command is used to create a backup of the current database.
redis Save command basic syntax is as follows:
redis 127.0.0.1:6379> SAVE
redis 127.0.0.1:6379> SAVE OK
This command creates dump.rdb file redis installation directory.
redis 127.0.0.1:6379> CONFIG GET dir 1) "dir" 2) "/usr/local/redis/bin"
The above commandCONFIG GET dir output redis installation directory is / usr / local / redis / bin .
Redis create backup files can also use the commandBGSAVE, the command in the background.
127.0.0.1:6379> BGSAVE Background saving started