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:15 UTC
Pruning | Indexer | Version Tag |
---|---|---|
100/0/19 | null | v1 |
Block | Age | Download |
---|---|---|
2078480 | 6 hours | snapshot (0.73 GB) |
Stop the service and reset the data
sudo systemctl stop quasarnoded
cp $HOME/.quasarnode/data/priv_validator_state.json $HOME/.quasarnode/priv_validator_state.json.backup
rm -rf $HOME/.quasarnode/data
Download latest snapshot
curl -L https://snapshots.kjnodes.com/quasar-testnet/snapshot_latest.tar.lz4 | tar -Ilz4 -xf - -C $HOME/.quasarnode
mv $HOME/.quasarnode/priv_validator_state.json.backup $HOME/.quasarnode/data/priv_validator_state.json
Restart the service and check the log
sudo systemctl start quasarnoded && sudo journalctl -u quasarnoded -f --no-hostname -o cat