The snapshot is designed for node opeartors to run an efficient node on Aura chain. To make the snapshot as small as possible while still viable as a validator, we use the following setting to save on the disk space. It might be helpful for you to sync with our snapshot periodically because Tendermint chain storage grows over time regardless of the pruning. Since we periodically state-sync our snapshot nodes, you might notice that sometimes the size of our snapshot is surprisingly small.
Reset your node. This will erase your node database. If you are already running validator, be sure you backed up your `priv_validator_key.json` prior to running the the command. The command does not wipe the file. However, you should have a backup of it already in a safe location.
WARNING: If you use this snapshot on a validator node during a chain halt, make sure you back up priv_validator_state.json and then replace it after the snapshot is extracted but before you start the node process. This is very important in order to avoid double-sign.
# Stop your node
sudo systemctl stop aurad
# Back up priv_validator_state.json if needed
cp $HOME/.aura/data/priv_validator_state.json $HOME/.aura/priv_validator_state.json.backup
# Reset tendermint chain
aurad tendermint unsafe-reset-all --home $HOME/.aura --keep-addr-book
Download latest snapshot
# Download the Aura snapshot
wget -O aura_latest.tar.lz4 https://snapshots.tienthuattoan.com/mainnet/aura/aura_latest.tar.lz4
# Decompress the Aura snapshot
lz4 -c -d aura_latest.tar.lz4 | tar -x -C $HOME/.aura
# Replace with the backed-up priv_validator_state.json
mv $HOME/.aura/priv_validator_state.json.backup $HOME/.aura/data/priv_validator_state.json