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