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