snapshot


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

Snapshot

Terra
Terra

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: v2.11.1

BLOCKAGEDOWNLOAD

10365846

2 hours

Instructions

Quick setup

One liner to get moving quickly

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

Stop terrad and reset the data

sudo systemctl stop terrad
cp $HOME/.terra/data/priv_validator_state.json $HOME/.terra/priv_validator_state.json.backup
rm -rf $HOME/.terra/data

Download latest snapshot

curl -L https://snapshots.lavenderfive.com/snapshots/terra2/terra2_10365846.tar.lz4 | tar -Ilz4 -xf - -C $HOME/.terra
mv $HOME/.terra/priv_validator_state.json.backup $HOME/.terra/data/priv_validator_state.json

Restart terrad and check the log

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

Last updated