How to take the backup of Redis database
We can use the redis-cli utility to take the backup of Redis database.
#redis-cli -u 'redis://<username>:<password>@<hostname>:<port>' --rdb backup-file.rdb
Here we need to replace username, password, hostname, port, backup-file with the appropriate values.
That's all…