Snapshot Recovery on Atomone Network

Recovering your Atomone node from a snapshot is an efficient way to restore your node without syncing from genesis, significantly reducing downtime. This guide provides detailed instructions on how to use snapshots from s3.chainroot.io for recovery.

Prerequisites

Before starting the recovery process, ensure that you have:

  • A running Atomone node that you can stop and restart.
  • Sufficient disk space to accommodate the snapshot and future blocks.
  • A stable internet connection for downloading the snapshot.

Steps for Snapshot Recovery

1. Stop your Atomone node

Ensure that no processes are running that might modify the data while you’re performing the snapshot recovery.

    sudo systemctl stop atomoned

    

2. Download the Snapshot

Download the latest snapshot available from s3.chainroot.io. It’s recommended to use wget or curl for downloading.

    wget https://s3.chainroot.io/snapshots/atomone/atomone-latest.tar.lz4

    

3. Extract the Snapshot

Once the download is complete, extract the snapshot file to the appropriate directory, typically where your Atomone data is stored.

    lz4 -c -d atomone-latest.tar.lz4 | tar -x -C $HOME/.atomone

    

4. Restart your Atomone node

After successfully extracting the snapshot, restart your node. It will start syncing from the point the snapshot was taken.

    sudo systemctl start atomoned

    

Verifying Node Sync

After starting your node, it’s important to verify that it is syncing correctly.

    atomoned status

    

This command should show that your node is catching up from the snapshot height to the current block height.

Conclusion

Using snapshots for recovery can significantly reduce the time it takes to get your Atomone node operational after downtime or when migrating to new hardware. Always ensure that snapshots are obtained from reliable sources and that you have backups of your own node to prevent data loss.

For more advanced recovery options or troubleshooting, consult the Atomone documentation or reach out to the support community.