Snapshots

Stop the service and reset the data

sudo systemctl stop lavad
cp $HOME/.lava/data/priv_validator_state.json $HOME/.lava/priv_validator_state.json.backup
rm -rf $HOME/.lava/data

Download latest snapshot

curl -L https://snapshots.coinhunterstr.com/mainnet/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 restart lavad && sudo journalctl -u lavad -f --no-hostname -o cat

Last updated