♻️Snapshot

Backup priv_validator_state.json

cp $HOME/.story/story/data/priv_validator_state.json $HOME/.story/story/priv_validator_state.json.backup

You can use the ITRocket service for a snapshot.

rm -rf $HOME/.story/story/data
curl https://server-3.itrocket.net/testnet/story/story_2024-10-15_1449048_snap.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/.story/story

Restore priv_validator_state.json

mv $HOME/.story/story/priv_validator_state.json.backup $HOME/.story/story/data/priv_validator_state.json

Delete geth data and unpack Geth snapshot

rm -rf $HOME/.story/geth/iliad/geth/chaindata
mkdir -p $HOME/.story/geth/iliad/geth
curl https://server-3.itrocket.net/testnet/story/geth_story_2024-10-15_1449048_snap.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/.story/geth/iliad/geth

Enable and start geth, story

sudo systemctl daemon-reload
sudo systemctl enable story story-geth
sudo systemctl restart story story-geth

Check logs

journalctl -u story -u story-geth -f

Last updated