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 00:15 UTC
Pruning | Indexer | Version Tag |
---|---|---|
100/0/19 | null | v0.24.0 |
Block | Age | Download |
---|---|---|
4286156 | 5 hours | snapshot (42.08 GB) with sha256sum f1c2b1 |
Stop the service
sudo systemctl stop union-testnet.service
Reset the data and save validator state
cp $HOME/.union/data/priv_validator_state.json $HOME/.union/priv_validator_state.json.backup
rm -rf $HOME/.union/data
Download latest snapshot and recover validator state
curl -L https://snapshots.kjnodes.com/union-testnet/snapshot_latest.tar.lz4 | tar -Ilz4 -xf - -C $HOME/.union
mv $HOME/.union/priv_validator_state.json.backup $HOME/.union/data/priv_validator_state.json
Restart the service and check the log
sudo systemctl start union-testnet.service && sudo journalctl -fu union-testnet.service -o cat