rotate-exclamationSync/Snapshot Options

Option 1: Sync Using Snapshot (Cumulo)

Snapshot Update Steps

  1. Stop the Node:

    sudo systemctl stop axone
  2. Backup Validator State:

    [ -f $HOME/.axoned/data/priv_validator_state.json ] && cp $HOME/.axoned/data/priv_validator_state.json $HOME/.axoned/priv_validator_state.json.backup
  3. Remove Old Data:

    rm -rf $HOME/.axoned/data
  4. Download & Extract Snapshot:

    curl -L https://snap.cumulo.pro/axone/axoned.tar.lz4 | lz4 -d | tar -xf - -C $HOME/.axoned
  5. Restore Validator State (if backed up):

    [ -f $HOME/.axoned/priv_validator_state.json.backup ] && mv $HOME/.axoned/priv_validator_state.json.backup $HOME/.axoned/data/priv_validator_state.json
  6. Restart the Node:

    sudo systemctl restart axone
  7. Monitor Logs:

    sudo journalctl -u axone -f --no-pager

Option 2: State Sync

  1. Stop the Node:

  2. Reset the Node:

  3. Configure State Sync:

    • Set RPC server:

    • Get block height and hash:

    • Update config.toml:

  4. Restart the Node:

  5. Monitor Logs:

  6. Check Sync Status:

Last updated