Pharos Docs
  • Introduction
    • About Pharos Network
    • Vision & Mision
    • Why Pharos Network
    • Concepts
      • Degree of Parallelism (DP)
  • Architecture
    • Pharos Modular Stack
    • Node Architecture
      • About Pharos Nodes
  • Core Technologies
    • Pharos Consensus
    • Pharos Execution
      • Why A New Blockchain Compute Model
      • Pharos VM
    • Pharos Pipelining
    • Pharos Store
      • Why We Need a Blockchain-Native Store
    • Pharos SPNs
  • Network Overview
    • Pharos Networks
      • Pharos Testnet Information
    • Pharos Gas Model
    • FAQ
  • Node & Validator Guide
    • Validator Requirements
    • Validator Node Deployment
      • Using Docker (Devnet)
      • Using Docker (Testnet)
    • Node Management
    • Rapid Node Initialization
      • Rapid Node Initialization(Testnet)
      • Rapid Node Initialization(Devnet)
    • Pharos Network Snapshots
    • Node Debugging & Configuration
  • ๐Ÿ› ๏ธ Pharos Testnet: Rebuild Node with Preserved Node Info
  • Pharos Node Monitoring
  • Developer Guide
    • Foundry
      • Write Your First dApp
      • Write Your First Token
      • Write Your First NFT
      • Write Your First Uniswap Contract
    • Hardhat
      • Write Your First dApp
      • Write Your First Token
      • Write Your First NFT
      • Write Your First Uniswap Contract
    • Rust
    • Interoperability
      • Call EVM From WASM
  • API & SDK
    • JSON-RPC API Methods
  • Resources
    • EVM
    • Solidity
Powered by GitBook
On this page
  • ๐Ÿงฐ Initialization Using Snapshots
  • โœ… Step 1: Download the Latest Snapshot
  • ๐Ÿงฏ Step 2: Stop the Running Node Container
  • ๐Ÿงน Step 3: Replace Old Data with the Snapshot
  • ๐Ÿš€ Step 4: Restart the Node Container
Export as PDF
  1. Node & Validator Guide
  2. Rapid Node Initialization

Rapid Node Initialization(Devnet)

PreviousRapid Node Initialization(Testnet)NextPharos Network Snapshots

Last updated 14 days ago

๐Ÿงฐ Initialization Using Snapshots

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

โœ… Step 1: Download the Latest Snapshot

We periodically publish . 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.

new snapshots