Documents
Search
K

Snapshot

Instruction

If you didn't install lz4, let's do this first

sudo apt update
sudo apt install snapd -y
sudo snap install lz4

Download our snapshot

wget -O snapshot_stargaze.tar.lz4 https://kalia.network/snapshots/snapshot_stargaze.tar.lz4

After download the data

sudo systemctl stop starsd

Make sure to backup your priv_validator_state.json

cp $HOME/.starsd/data/priv_validator_state.json $HOME/.starsd/priv_validator_state.json.backup

Decompress the snapshot and restart the service

rm -rf ~/.starsd/data
lz4 -c -d snapshot_stargaze.tar.lz4 | tar -x -C $HOME/.starsd
cp ~/.starsd/priv_validator_state.json.backup ~/.starsd/data/priv_validator_state.json
sudo systemctl restart starsd
sudo journalctl -u starsd -f -o cat