Rapid Node Initialization(Devnet)

๐Ÿงฐ Initialization Using Snapshots

Follow these steps to bootstrap a Pharos node using the latest snapshot:

โœ… Step 1: Download the Latest Snapshot

We periodically publish new snapshots. Use the following command to download and extract:

wget https://snapshot.dplabs-internal.com/devnet/snapshot-latest.tar.gz
tar -zxvf snapshot-latest.tar.gz

Check this page regularly for updates. Only use snapshots that match your target network.

๐Ÿงฏ Step 2: Stop the Running Node Container

docker stop pharos-devnet

Make sure the node is fully stopped before continuing to avoid data corruption.

๐Ÿงน Step 3: Replace Old Data with the Snapshot

Remove the outdated data directory and move in the extracted snapshot:

rm -rf /data/pharos-devnet/pharos-node/domain/light/data/public
mv public /data/pharos-devnet/pharos-node/domain/light/data/public

Adjust the file path to match your actual mount or installation directory.

๐Ÿš€ Step 4: Restart the Node Container

docker start pharos-devnet

Your node should now resume from the latest synced snapshot.

Last updated