Bootstrap from a snapshot
Skip syncing from genesis - recover state from a Nolus-provided snapshot.
A snapshot contains a compressed copy of the Nolus chain data and wasm directories. It lets a new node join quickly by restoring application state instead of replaying every block from genesis. Recommended for new participants. Always double-check the source.
The Nolus-provided snapshot is pruned. It's suitable for a validator node but not for an RPC/archive node.
The snapshot index lives at
snapshots.nolus.network/backup/snapshots/.
Steps
-
Stop the
nolusdprocess or service:nolusd stop -
Download the latest snapshot:
wget -O nolus_snapshot.tar.gz https://snapshots.nolus.network/backup/snapshots/pirin-1_XXXX-XX-XX_XX-XX-XX.tar.gz --inet4-only -
If you're validating, back up
priv_validator_state.jsonfirst (otherwise skip):cp ~/.nolus/data/priv_validator_state.json ~/.nolus/priv_validator_state.json -
Reset node state:
nolusd tendermint unsafe-reset-all --home $HOME/.nolus --keep-addr-book -
Remove the current data and wasm directories:
rm -r ~/.nolus/data rm -r ~/.nolus/wasm -
Unpack the snapshot into the node directory:
tar -xzf nolus_snapshot.tar.gz --strip-components=1 -C $HOME/.nolus/ -
If you backed up
priv_validator_state.json, restore it (otherwise skip):cp ~/.nolus/priv_validator_state.json ~/.nolus/data/priv_validator_state.json -
Restart
nolusd. Make sure persistent peers andgenesis.jsonare still in place:nolusd start