Snapshot-based data recovery method
The invention provides a snapshot-based data recovery method, a file management system and related equipment.The method comprises the steps that a RocksDB storage engine uses a snapshot directory to load files in a target snapshot, and the target snapshot is a snapshot made for historical files of a...
Gespeichert in:
Hauptverfasser: | , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention provides a snapshot-based data recovery method, a file management system and related equipment.The method comprises the steps that a RocksDB storage engine uses a snapshot directory to load files in a target snapshot, and the target snapshot is a snapshot made for historical files of a local file system; the file processing module identifies a file associated with a target file in the current local file system or the target snapshot based on the target file to be recovered in the target snapshot; the file processing module generates a new file in the current local file system based on the target file and the file associated with the target file. According to the method, second-level data recovery which is not influenced by the data volume in a fault scene can be realized.
本申请提供了一种基于快照的数据恢复方法、文件管理系统及相关设备,其中,方法包括:RocksDB存储引擎使用快照目录加载目标快照中的文件,其中目标快照是对历史的本地文件系统的文件所做的快照;文件处理模块基于目标快照中待恢复的目标文件,在当前的本地文件系统中或者目标快照中识别与目标文件关联的文件;文件处理模块基于目标文件和与目标文件关联的文件,在当前的本地文件系统中生成新文件。该方法可以实现故障场景下不受数据量影响的秒级数据恢复。 |
---|