BabyScope
  • 🔭BabyScope Explorer
  • ⛓️Supported Chains
  • Mainnet
    • Lava
      • Installation
      • Provider
      • Upgrade
      • Useful commands
    • Axelar
      • Installation
      • Upgrade
      • State sync
      • Useful commands
    • Evmos
      • Installation
      • Upgrade
      • State sync
      • Useful commands
    • Near
      • Installation
      • Upgrade
      • Snapshot
      • Useful commands
  • Testnet
    • LAVA
      • Installation
      • Provider
      • Upgrade
      • Useful commands
    • Union
      • Installation
      • Upgrade
      • Useful commands
  • TEAM BABYSCOPE
    • About Team
    • ✖️Twitter
Powered by GitBook
On this page
  • Instructions
  • Stop the service and reset the data
  • Download latest snapshot
  • Restart the service and check the log

Was this helpful?

  1. Mainnet
  2. Near

Snapshot

Catch the latest block faster by using our daily snapshots.

Snapshots allows a new node to join the network by recovering application state from a backup file. Snapshot contains compressed copy of chain data directory. To keep backup files as small as plausible, snapshot server is periodically beeing state-synced.

Instructions

Stop the service and reset the data

sudo systemctl stop neard
rm -rf ~/.neard/data

Download latest snapshot

aws s3 --no-sign-request cp s3://near-protocol-public/backups/mainnet/rpc/latest .
LATEST=$(cat latest)
aws s3 --no-sign-request cp --no-sign-request --recursive s3://near-protocol-public/backups/mainnet/rpc/$LATEST ~/.near/data

Restart the service and check the log

sudo systemctl restart neard && sudo journalctl -u neard -f --no-hostname -o cat
PreviousUpgradeNextUseful commands

Last updated 1 year ago

Was this helpful?