Deploy a node using its node state snapshot.
Obtain snapshot via API request:
$ curl --request POST --url http://<node>/v1/producer/create_snapshot
$ curl --request POST --url http://127.0.0.1:8888/v1/producer/create_snapshot
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.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:
$ nodeos --snapshot <snapshot-directory>/snapshot-<hash>.bin
--snapshotis incompatible with
--genesisoptions as the snapshot contains genesis information.