Redis-server store cache in which folder

To be able to know this run the below command

redis-cli config get dir
1) "dir"
2) "/home/cuongld"

In my case the cache file is stored in /home/cuongld

Go to that folder then I see the dump.rdb file

To start redis-server with existing dump.rdb file, run this

redis-server --dir /path/to/dumpfile // this is a directory, not file

~~ Hope it helps ~~

Enjoy coding!!

--

--

--

A passionate automation engineer who strongly believes in “A man can do anything he wants if he puts in the work”.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Amazon Cloud (AWS) Becomes Strategic Partner and Incubator of Space SIP Game

Google Spreadsheets- An unconventional use case

A Beginner’s Guide to Static Libraries in C

How to design a highload app

5 To-Do’s That Can Help you Become a Great Developer

Kubernetes: Build a custom automation system for a containerized infrastructure.

Options to submit spark job from remote(edge) node to aws emr cluster.

Encoding Video with .NET Core and Azure Media Services — Part 1

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Donald Le

Donald Le

A passionate automation engineer who strongly believes in “A man can do anything he wants if he puts in the work”.

More from Medium

DHIS2 Database Migration/Restoration Process

What the hell is this Docker ?

Code Generation; the Nuclear power of programming!

Local Development Environment: from Vagrant to Docker