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

My snapshot: https://snap.aznope.com/downloads/airchains/junction.tar.lz4

Instructions

  1. Stop the service and reset the data

sudo systemctl stop junction
cp $HOME/.junction/data/priv_validator_state.json $HOME/.junction/priv_validator_state.json.backup
junctiond tendermint unsafe-reset-all --home $HOME/.junction--keep-addr-book
rm -rf $HOME/.junction/data
  1. Download latest snapshot

curl -L 
https://snap.aznope.com/downloads/airchains/junction.tar.lz4 | tar -Ilz4 -xf - -C $HOME/.junction
mv $HOME/.junction/priv_validator_state.json.backup $HOME/.junction/data/priv_validator_state.json
  1. Restart the service and check the log

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

Last updated