snapshot


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

Snapshot

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: v12.0.1-rc1

Instructions

Quick setup

One liner to get moving quickly

sudo systemctl stop xiond
cp .xiond/data/priv_validator_state.json .xiond/priv_validator_state.json.backup
rm -rf .xiond/data
curl -L https://snapshots.lavenderfive.com/testnet-snapshots/xion/xion_9935257.tar.lz4 | tar -Ilz4 -xf - -C .xiond
mv .xiond/priv_validator_state.json.backup .xiond/data/priv_validator_state.json
sudo systemctl start xiond && sudo journalctl -u xiond -f --no-hostname -o cat

Stop xiond and reset the data

sudo systemctl stop xiond
cp .xiond/data/priv_validator_state.json .xiond/priv_validator_state.json.backup
rm -rf .xiond/data

Download latest snapshot

curl -L https://snapshots.lavenderfive.com/testnet-snapshots/xion/xion_9935257.tar.lz4 | tar -Ilz4 -xf - -C .xiond
mv .xiond/priv_validator_state.json.backup .xiond/data/priv_validator_state.json

Restart xiond and check the log

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

Last updated