Testnet
Snapshot

Snapshot

Loading...
  • We periodically take Snapshots of our networks.
đź’ˇ

This snapshot requires goleveldb as the backend

Process Snapshot

Stop the service

1sudo systemctl stop beacond

Backup val state and reset data

1cp $HOME/.beacond/data/priv_validator_state.json $HOME/.beacond/priv_validator_state.json.backup
2beacond tendermint unsafe-reset-all --home $HOME/.beacond

Clean data folder

1rm -rf $HOME/.beacond/data

Download and unpack the snapshot

  • One line command to download and unpack the archive at the same time.
1curl -o - -L https://blockhunters.dev/snapshots/testnet/berachainv2/snapshot.tar.lz4 | lz4 -c -d - | tar -x -C $HOME/.beacond

Restore val state

1cp $HOME/.beacond/data/priv_validator_state.json.backup $HOME/.beacond/priv_validator_state.json

Restart node

1sudo systemctl restart beacond && sudo journalctl -u beacond -f