Snapshot Guide
Setup Server
# Install Necessary package
sudo apt update
sudo apt-get install snapd lz4 -y
Turn off state-sync
sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1false|" ~/.band/config/config.toml
# Stop the service and reset the data
sudo systemctl stop bandd
cp $HOME/.band/data/priv_validator_state.json $HOME/.band/priv_validator_state.json.backup
rm -rf $HOME/.band/data
# Download Latest Snapshot
curl -L https://snapshots.indonode.net/band/band-snapshot.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/.band
mv $HOME/.band/priv_validator_state.json.backup $HOME/.band/data/priv_validator_state.json
# Restart Service
sudo systemctl restart bandd && sudo journalctl -fu bandd -o cat
Last updated