Snapshots allows a new node to join the network by recovering application state from a backup file. Snapshot contains compressed copy of chain data directory. To keep backup files as small as plausible, snapshot server is periodically beeing state-synced.
Snapshots are taken automatically every 6 hours starting at 07:00 UTC
Pruning | Indexer | Version Tag |
---|---|---|
100/0/19 | null | v0.1.1 |
Block | Age | Download |
---|---|---|
4853141 | 4 weeks | snapshot (2.13 GB) with sha256sum b93c72 |
Stop the service
sudo systemctl stop andromeda.service
Reset the data and save validator state
cp $HOME/.andromeda/data/priv_validator_state.json $HOME/.andromeda/priv_validator_state.json.backup
rm -rf $HOME/.andromeda/data
Download latest snapshot and recover validator state
curl -L https://snapshots.kjnodes.com/andromeda/snapshot_latest.tar.lz4 | tar -Ilz4 -xf - -C $HOME/.andromeda
mv $HOME/.andromeda/priv_validator_state.json.backup $HOME/.andromeda/data/priv_validator_state.json
Restart the service and check the log
sudo systemctl start andromeda.service && sudo journalctl -fu andromeda.service -o cat