Skip to main content

Snapshot

When a new node joins a network, it can use a snapshot — a compressed backup of the chain's data — to quickly synchronize with the current state. Snapshots expedite the process, reducing the need to download and verify every transaction from the beginning.

📘How to Use

Click on any snapshot to paste it into the code block.

info

Snapshots are taken every 6 hours.

sudo systemctl stop lavad

# make a backup
cp $HOME/.lava/data/priv_validator_state.json $HOME/.lava/priv_validator_state.json.backup

# reset your node and download a snapshot
lavad tendermint unsafe-reset-all --home $HOME/.lava --keep-addr-book
wget <snapshot_url> | lz4 -dc - | tar -xf - -C $HOME/.lava

# replace the priv_validator_state.json you have backed up
mv $HOME/.lava/priv_validator_state.json.backup $HOME/.lava/data/priv_validator_state.json

sudo systemctl restart lavad && sudo journalctl -u lavad -f -o cat

You can also use other snapshots:

ITRocket:

https://testnet-files.itrocket.net/lava/snap_lava.tar.lz4

kjnodes:

https://snapshots.kjnodes.com/lava-testnet/snapshot_latest.tar.lz4

𝐥𝐞𝐬𝐧𝐢𝐤 | 𝐔𝐓𝐒𝐀:

https://share101.utsa.tech/lava/snap-lava.tar.lz4

LiveRaveN:

https://snapshots.liveraven.net/snapshots/lava/lava-testnet-2_latest.tar.lz4

Stake Village:

http://snapshots.stakevillage.net/snapshots/lava-testnet-2/snapshot_latest.tar.lz4