Testnet
Snapshot

Snapshot

Loading...
  • We periodically take Snapshots of our networks.

Process Snapshot

Stop Story and Geth services

1sudo systemctl stop story story-geth

Backup val state and reset data

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

Clean Story data folder

1rm -rf $HOME/.story/story/data

Download and unpack Story snapshot

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

Restore val state

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

Clean Geth chaindata folder

1rm -rf $HOME/.story/geth/odyssey/geth/chaindata

Download and unpack Geth snapshot

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

Restart node

1sudo systemctl restart story story-geth
2sudo journalctl -u story-geth -u story -f