From bdff179bdacc6446c0021d05b9d036f9491b81d9 Mon Sep 17 00:00:00 2001 From: Ton-Chanh Le Date: Wed, 7 Jan 2026 14:25:58 -0500 Subject: [PATCH 1/2] update restore instruction --- README.md | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index d154abd..b33638d 100644 --- a/README.md +++ b/README.md @@ -464,29 +464,25 @@ The setup includes services for backing up and restoring your node data. You can To quickly sync your node using provided snapshots: -1. Download and verify snapshots: +1. Download and verify snapshots (`curl` or `wget` can be used but `aria2c` is highly recommended): ```bash - # Download snapshot files (replace DATE with actual date, e.g., 20241104) - wget https://storage.googleapis.com/vana-snapshots/DATE/geth-chaindata-DATE.tar.zst{,.md5} - wget https://storage.googleapis.com/vana-snapshots/DATE/beacon-chaindata-DATE.tar.zst{,.md5} + # Download snapshot files (replace DATE with actual date in the format YYYYMMDD, e.g., 20250528) + aria2c -c -s 16 -x 16 https://storage.googleapis.com/vana-snapshots/DATE/beacon-chaindata-DATE.tar{,.md5} + aria2c -c -s 16 -x 16 https://storage.googleapis.com/vana-snapshots/DATE/geth-chaindata-DATE.tar{,.md5} # Verify checksums md5sum -c *.md5 ``` -2. Extract snapshots to the backups directory: +2. Extract snapshots to the data directory: ```bash - zstd -d geth-chaindata-DATE.tar.zst -o "backups/geth_backup_DATE.dat" - zstd -d beacon-chaindata-DATE.tar.zst -o "backups/beaconchain_DATE.db" + tar -xf geth-chaindata-DATE.tar + tar -xf beacon-chaindata-DATE.tar ``` -3. Restore the snapshots: +3. Start your node: ```bash - # For Geth (requires interactive terminal) - docker compose run -it --rm geth-restore - - # For Beacon chain (requires interactive terminal) - docker compose run -it --rm beacon-restore + docker compose --profile init --profile node up -d ``` > **Note**: make sure you trust the snapshot provider and verify the checksums before restoring! From e6a79da1f5ab05478cfe80f4e30b8b56514826d6 Mon Sep 17 00:00:00 2001 From: Ton-Chanh Le Date: Wed, 7 Jan 2026 14:47:54 -0500 Subject: [PATCH 2/2] update restore instruction --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b33638d..99ba6a6 100644 --- a/README.md +++ b/README.md @@ -476,8 +476,8 @@ To quickly sync your node using provided snapshots: 2. Extract snapshots to the data directory: ```bash - tar -xf geth-chaindata-DATE.tar - tar -xf beacon-chaindata-DATE.tar + tar -xvf geth-chaindata-DATE.tar + tar -xvf beacon-chaindata-DATE.tar ``` 3. Start your node: