Bitcanna
HomeOur Snapshot service
At regular intervals, we capture an image of the current state of our node, known as a snapshot. To ensure the most recent and accurate data is captured, we first synchronize the node through state sync prior to taking the snapshot. This not only allows for more efficient storage but also serves as a valuable point of reference for network analysis, and as a backup for restoring the node to a previous state, if necessary.
Instruction
Stop the node
sudo systemctl stop bcnad
Download snapshot
cd $HOME
wget http://snapshot.stakeme.io:81/bitcanna/bitcanna-snap.tar.gz
Reset the node
bcnad tendermint unsafe-reset-all --keep-addr-book
Decompress snapshot
tar -C $HOME/ -zxvf bitcanna-snap.tar.gz --strip-components 1
Restart the node
sudo systemctl restart bcnad && sudo journalctl -fu bcnad -o cat
Remove snapshot
rm bitcanna-snap.tar.gz