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 6 hours starting at 12:45 UTC
Pruning | Indexer | Version Tag |
---|---|---|
100/0/19 | null |
Block | Age | Download |
---|---|---|
snapshot () with sha256sum undef |
Stop the service
sudo systemctl stop xion.service
Reset the data and save validator state
cp $HOME/.xiond/data/priv_validator_state.json $HOME/.xiond/priv_validator_state.json.backup
rm -rf $HOME/.xiond/data
Download latest snapshot and recover validator state
curl -L | tar -Ilz4 -xf - -C $HOME/.xiond
mv $HOME/.xiond/priv_validator_state.json.backup $HOME/.xiond/data/priv_validator_state.json
Restart the service and check the log
sudo systemctl start xion.service && sudo journalctl -fu xion.service -o cat