Snapshot
Loading...
- We periodically take Snapshots of our networks.
Process Snapshot
Stop the service
1sudo systemctl stop junod
Backup val state and reset data
1cp $HOME/.juno/data/priv_validator_state.json $HOME/.juno/priv_validator_state.json.backup2junod tendermint unsafe-reset-all --home $HOME/.juno
Clean data folder
1rm -rf $HOME/.juno/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/juno/snapshot.tar.lz4 | lz4 -c -d - | tar -x -C $HOME/.juno
Restore val state
1cp $HOME/.juno/data/priv_validator_state.json.backup $HOME/.juno/priv_validator_state.json
Restart node
1sudo systemctl restart junod && sudo journalctl -u junod -f