snapshot


description: Catch the latest block faster by using our daily snapshots.

Snapshot

BitCanna
BitCanna

Snapshots allows a new node to join the network by recovering application state from a backup file. Snapshot contains compressed copy of chain data directory. To keep backup files as small as plausible, snapshot server is periodically beeing state-synced.

Snapshots are taken automatically every 12 hours

pruning: 107/0/13 | indexer: null | version tag: v3.1.0

BLOCKAGEDOWNLOAD

14310073

9 hours

Instructions

Quick setup

One liner to get moving quickly

sudo systemctl stop bcnad
cp $HOME/.bcna/data/priv_validator_state.json $HOME/.bcna/priv_validator_state.json.backup
rm -rf $HOME/.bcna/data
curl -L https://snapshots.lavenderfive.com/snapshots/bitcanna/bitcanna_14310073.tar.lz4 | tar -Ilz4 -xf - -C $HOME/.bcna
mv $HOME/.bcna/priv_validator_state.json.backup $HOME/.bcna/data/priv_validator_state.json
sudo systemctl start bcnad && sudo journalctl -u bcnad -f --no-hostname -o cat

Stop bcnad and reset the data

sudo systemctl stop bcnad
cp $HOME/.bcna/data/priv_validator_state.json $HOME/.bcna/priv_validator_state.json.backup
rm -rf $HOME/.bcna/data

Download latest snapshot

curl -L https://snapshots.lavenderfive.com/snapshots/bitcanna/bitcanna_14310073.tar.lz4 | tar -Ilz4 -xf - -C $HOME/.bcna
mv $HOME/.bcna/priv_validator_state.json.backup $HOME/.bcna/data/priv_validator_state.json

Restart bcnad and check the log

sudo systemctl start bcnad && sudo journalctl -u bcnad -f --no-hostname -o cat

Last updated