Create a snapshot

replace "mantrachaind" =project name id

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

Last updated