Simplified Guide to Process Humans Snapshot

Preparing Your System - Install lz4 Compression Tool

sudo apt update
sudo apt install lz4

Downloading the Snapshot

Use wget to download the snapshot file:

wget -O humans_snapshot.tar.lz4

Stop Your Node

sudo service humansd stop

Backup Important Files (If running a validator)

Backup your priv_validator_key.json:

cp ~/.humansd/data/priv_validator_state.json ~/.humansd/priv_validator_state.json

Reset Your Node

humansd tendermint unsafe-reset-all --home $HOME/.humansd --keep-addr-book

Decompress the Snapshot

Decompress and extract the snapshot to your data directory:

lz4 -c -d humans_snapshot.tar.lz4 | tar -x -C $HOME/.humansd

Restore the Validator File (If applicable)

If you're a validator, restore your priv_validator_state.json:

cp ~/.humansd/priv_validator_state.json ~/.humansd/data/priv_validator_state.json

Restart Your Node

  • sudo service humansd start

Remove the Downloaded Snapshot

To free up space, delete the snapshot file:

rm -v humans_snapshot.tar.lz4

Check Node Status

Check if your node is running correctly:

sudo service humansd status
sudo journalctl -u humansd -f

Last updated