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

Know how Elrond Platform is building a Foundation block for the new global economy

Creating a game with my daughter (Part III)

LeetCode Problem: 217 — Contains a Duplicate | With the Best solution

Variables! — The building blocks of programming

An Engineer’s Guide To Scholarships WWCD Mentorship Program 2.0 [Week3]

How To Use Google Pay?

Service Discovery: Why What, Approaches and When

The Full-stack Dev Is Bent Out of T-shape

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

GitHub vs GitLab; which code repository should you choose

Frequently seen Bugs and their ‘Species’

My idea on Test-driven development was completely changed