Chain ID: namada.5f5de2dd1b88cba30586420 | Current Node Version: v1.1.1
Latest
|
Block Height
|
Size
|
Timestamp
|
Download
|
---|---|---|---|---|
1848086 | 84 GB | 5 hours ago | namada_1848086.tar.lz4 |
We take one node snapshot every day. We then delete all the previous snapshots to free up the space on the file server.
Install lz4 if needed
sudo apt install lz4
Download the snapshot
wget -O namada_1848086.tar.lz4 https://snapshots.polkachu.com/snapshots/namada/namada_1848086.tar.lz4 --inet4-only
Stop your node
sudo service namada stop
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. When in doubt, reach out
to the project team.
# Back up priv_validator_state.json if needed
cp ~/.local/share/namada/namada.5f5de2dd1b88cba30586420/cometbft/data/priv_validator_state.json ~/.local/share/namada/namada.5f5de2dd1b88cba30586420/priv_validator_state.json
# Reset cometbft data
rm ~/.local/share/namada/namada.5f5de2dd1b88cba30586420/cometbft/data -rf
# Reset pd data
rm ~/.local/share/namada/namada.5f5de2dd1b88cba30586420/db -rf
Decompress the snapshot to your database root location. You database
location
will be something to the effect of
~/.local/share/namada/namada.5f5de2dd1b88cba30586420
depending on your node implementation.
lz4 -c -d namada_1848086.tar.lz4 | tar -x -C ~/.local/share/namada/namada.5f5de2dd1b88cba30586420
If everything is good, now restart your node
sudo service namada start
Remove downloaded snapshot to free up space
rm -v namada_1848086.tar.lz4
Make sure that your node is running
sudo service namada status