Skip to main content

Odiseo Snapshot

Loading snapshot status...

Update & install aria2, zstd

sudo apt update && sudo apt install aria2 zstd -y

Stop odiseo service, backup the validator state & reset

sudo service odiseo stop
cp $HOME/.achilles/data/priv_validator_state.json $HOME/.achilles/priv_validator_state.json.backup
achillesd tendermint unsafe-reset-all --home $HOME/.achilles --keep-addr-book

Set the node's database backend to the snapshot's (not known right now: replace the placeholder with pebbledb or goleveldb). The data only opens with that backend, and your node binary must be built with support for it.

sed -i -E 's/^db_backend *=.*/db_backend = "<pebbledb|goleveldb>"/' $HOME/.achilles/config/config.toml
sed -i -E 's/^app-db-backend *=.*/app-db-backend = "<pebbledb|goleveldb>"/' $HOME/.achilles/config/app.toml

Download the snapshot, extract it, and restore the validator state. If curl downloads are slow, consider using aria2 for faster speeds.

Loading the current snapshot...

Start odiseo service & monitor logs

sudo service odiseo start && sudo journalctl -fu odiseo -o cat