Services
  • Supported chains
  • MAINNET
    • Atomone
      • Installation
      • Upgrade
      • Snapshot
      • Useful commands
    • Fuel
      • Installation
      • Upgrade
      • Snapshot
      • Useful commands
    • Sge
      • Installation
      • Upgrade
      • Snapshot
      • Useful commands
    • Avail
      • Installation
      • Upgrade
      • Snapshot
      • Useful commands
    • Ario
      • Installation
      • Upgrade
      • Snapshot
      • Useful commands
    • Crossfi
      • Installation
      • Upgrade
      • Snapshot
      • Useful commands
    • Arkeo
      • Installation
      • Upgrade
      • Snapshot
      • Useful commands
  • TESTNET
    • Atomone
      • Installation
      • Upgrade
      • Snapshot
      • Useful commands
    • Union
      • Installation
      • Upgrade
      • Snapshot
      • Useful commands
    • Sge
      • Installation
      • Upgrade
      • Snapshot
      • Useful commands
    • Selfchain
      • Installation
      • Upgrade
      • Snapshot
      • Useful commands
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
  1. MAINNET
  2. Atomone

Snapshot

PreviousUpgradeNextUseful commands

Last updated 2 months ago

Was this helpful?

Snapshot

To restore a snapshot, follow the steps below:

sudo systemctl stop atomoned
cp $HOME/.atomone/data/priv_validator_state.json $HOME/.atomone/priv_validator_state.json.backup
rm -rf $HOME/.atomone/data
SNAP_NAME=$(curl -s "https://server-1.ruangnode.com/mainnet/atomone/" | grep -oE "atomone_[0-9-]+_[0-9]+_snap\.tar\.lz4" | sort -t_ -k3 -nr | head -n 1)
curl https://server-1.ruangnode.com/mainnet/atomone/${SNAP_NAME} | lz4 -dc - | tar -xf - -C $HOME/.atomone
mv $HOME/.atomone/priv_validator_state.json.backup $HOME/.atomone/data/priv_validator_state.json
sudo systemctl restart atomoned && sudo journalctl -u atomoned -f