How To Deploy A Node Using A Snapshot
Goal
Deploy a node using its node state snapshot.
Steps
Obtain snapshot via API request:
Example:
Output
The file generated is the node state snapshot. This file alone will not be enough to restore your node. You will also need two more blocklog files. These are blocks.index
andblocks.log
. Before restoring a node, these files must be in the same place where they were generated.
To deploy node using the node state snapshot, you need to specify path to the snapshot in command line:
Important
--snapshot
is incompatible with--geneis-json
and--genesis
options as the snapshot contains genesis information.
Last updated