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