Home > Backend Development > PHP Tutorial > Will redis automatically save data to the hard disk after shutdown?

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-09-02 08:57:07
Original
2032 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:
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
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template