Snapshot
Snapshot Atomone From RoomIT
How to Deploy Snapshot?
Install Compression/Decompression Tools
sudo apt install lzma -yDownload Snapshot
SNAPSHOT=$(curl -s https://roomit.xyz/snapshot/mainnet/atomone/ | grep -i "<a href=" | grep lzma | grep -v md5sum | awk -F"=" '{print $2}' | sed 's/"//g' | sed "s/>//g" | sed "s/ //g")
wget -c https://roomit.xyz/snapshot/mainnet/atomone/${SNAPSHOT} --inet4-onlyStop Your Service Blockchain
sudo systemctl stop atomone-nodeNotes : for systemd init blockchain, adjust with your name of service. systemctl stop atomoned
Backup State Validator
cp ${HOME}/.atomone/data/priv_validator_state.json ${HOME}/.atomone/priv_validator_state.jsonReset Node Blockchain
atomoned tendermint unsafe-reset-all --home $HOME/.atomone --keep-addr-bookExtract Data Snapshot
lzma -d -c ${SNAPSHOT} | tar -xv -C $HOME/.atomone Restore State Validator
cp ${HOME}/.atomone /priv_validator_state.json ${HOME}/.atomone/data/priv_validator_state.jsonStart Node Blockchain
Last updated