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