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 04:00 UTC

Pruning Indexer Version Tag
100/0/19 null v3.3.0
Block Age Download
20588940 22 minutes snapshot (4.89 GB) with sha256sum e41bf1

Stop the service

sudo systemctl stop gitopia.service

Reset the data and save validator state

cp $HOME/.gitopia/data/priv_validator_state.json $HOME/.gitopia/priv_validator_state.json.backup
rm -rf $HOME/.gitopia/data

Download latest snapshot and recover validator state

curl -L https://snapshots.kjnodes.com/gitopia/snapshot_latest.tar.lz4 | tar -Ilz4 -xf - -C $HOME/.gitopia
mv $HOME/.gitopia/priv_validator_state.json.backup $HOME/.gitopia/data/priv_validator_state.json

Restart the service and check the log

sudo systemctl start gitopia.service && sudo journalctl -fu gitopia.service -o cat