DCS Redis Help Documentation

Is Data Persistence Supported?

2024-05-25 02:13:24

Yes. All specifications support the RDB+AOF persistence policies to improve backup and restoration efficiency.

Redis provides two methods for persistence:

RDB persistence: Redis periodically writes a dataset snapshot to disks. A snapshot is a binary file that contains a copy of the dataset at a certain point in time. RDB persistence is triggered by calling the SAVE or BGSAVE command, and you can configure the conditions to trigger the snapshot automatically. RDB files are very useful for backup and disaster recovery, but some data may be lost because the data is only persisted at a specified point in time.

AOF persistence: Redis records write operations by adding the write command to an AOF file. AOF persistence records every write operation and thereby reduces data loss. The AOF file is stored in text format. When the server restarts, data can be restored by re-executing the commands in the AOF file.


Kd0WNSVPxEQV