Will redis automatically save data to the hard disk after shutdown?

WBOY
Release: 2016-09-02 08:57:07
Original
1949 people have browsed it

Since you want to upgrade the redis version, you need to stop the original redis first.
So, will the data be automatically saved to the hard disk after redis shutdown?

Reply content:

Since you want to upgrade the redis version, you need to stop the original redis first.
So, will the data be automatically saved to the hard disk after redis shutdown?

No if it is an accidental exit. Executing the shutdown command will first save the data locally.
shutdown adopts shutdown save mode by default
You can also manually specify shutdown nosave not to save.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!