How do I create a backup snapshot of a node?
Creating a backup snapshot of a node is a good idea if you'd like to redeploy a node but would like to avoid resyncing the node from genesis.
The steps are as follows:
Install lz4
sudo apt install lz4
Stop the node
sudo systemctl stop mantrachaind
Create the snapshot
tar -c -C $HOME/.mantrachain data/ wasm/ | lz4 - mantrachain_$(date +"%d-%m-%Y-%H-%M").lz4
Start the node
sudo systemctl start mantrachaind
PreviousHow can I connect a validator from an older testnet to the newest testnet?NextHow do I restore a node from a snapshot?
Last updated