Skip to content

Commit

Permalink
Update 3.manage-snapshot.md (#880)
Browse files Browse the repository at this point in the history
checkpoints directory changed
  • Loading branch information
abby-cyber authored Nov 3, 2021
1 parent 3783465 commit 241a0ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs-2.0/7.data-security/3.manage-snapshot.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ nebula> SHOW SNAPSHOTS;

Currently, there is no command to restore data with snapshots. You need to manually copy the snapshot file to the corresponding folder, or you can make it by using a shell script. The logic implements as follows:

1. After the snapshot is created, the `checkpoints` directory is generated in the installation directory of the Meta server and Storage server, and saves the created snapshot. Taking this topic as an example, when there are two graph spaces, the snapshots created are saved in `/usr/local/nebula/data/meta/nebula/0/checkpoints`, `/usr/local/nebula/data/storage/ nebula/3/checkpoints` and `/usr/local/nebula/data/storage/nebula/4/checkpoints`.
1. After the snapshot is created, the `checkpoints` directory is generated in the installation directory of the leader Meta server and all Storage server, and saves the created snapshot. Taking this topic as an example, when there are two graph spaces, the snapshots created are saved in `/usr/local/nebula/data/meta/nebula/0/checkpoints`, `/usr/local/nebula/data/storage/ nebula/3/checkpoints` and `/usr/local/nebula/data/storage/nebula/4/checkpoints`.

```bash
$ ls /usr/local/nebula/data/meta/nebula/0/checkpoints/
Expand Down

0 comments on commit 241a0ef

Please sign in to comment.