Skip to content

Commit c169329

Browse files
authored
feat: add pruned snapshot URL (#958)
* feat: add pruned snapshot URL * mainnet * add -c
1 parent a2a8258 commit c169329

1 file changed

Lines changed: 11 additions & 8 deletions

File tree

docs/base-chain/node-operators/snapshots.mdx

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,21 +31,24 @@ These steps assume you are in the cloned `node` directory (the one containing `d
3131

3232
| Network | Client | Snapshot Type | Download Command (`wget …`) |
3333
| -------- | ------ | ------------- | ----------------------------------------------------------------------------------------------------------------- |
34-
| Testnet | Reth | Archive (recommended)| `wget https://sepolia-reth-archive-snapshots.base.org/$(curl https://sepolia-reth-archive-snapshots.base.org/latest)` |
35-
| Testnet | Reth | Full | Coming Soon |
36-
| Testnet | Geth | Full | `wget https://sepolia-full-snapshots.base.org/$(curl https://sepolia-full-snapshots.base.org/latest)` |
37-
| Mainnet | Reth | Archive (recommended)| `wget https://mainnet-reth-archive-snapshots.base.org/$(curl https://mainnet-reth-archive-snapshots.base.org/latest)` |
38-
| Testnet | Reth | Full | Coming Soon |
39-
| Mainnet | Geth | Full | `wget https://mainnet-full-snapshots.base.org/$(curl https://mainnet-full-snapshots.base.org/latest)` |
34+
| Testnet | Reth | Archive (recommended)| `wget -c https://sepolia-reth-archive-snapshots.base.org/$(curl https://sepolia-reth-archive-snapshots.base.org/latest)` |
35+
| Testnet | Reth | Pruned | `wget -c https://sepolia-reth-pruned-snapshots.base.org/$(curl https://sepolia-reth-pruned-snapshots.base.org/latest)` | |
36+
| Testnet | Geth | Full | `wget -c https://sepolia-full-snapshots.base.org/$(curl https://sepolia-full-snapshots.base.org/latest)` |
37+
| Mainnet | Reth | Archive (recommended)| `wget -c https://mainnet-reth-archive-snapshots.base.org/$(curl https://mainnet-reth-archive-snapshots.base.org/latest)` |
38+
| Mainnet | Reth | Pruned | `wget -c https://mainnet-reth-pruned-snapshots.base.org/$(curl https://mainnet-reth-pruned-snapshots.base.org/latest)` | |
39+
| Mainnet | Geth | Full | `wget -c https://mainnet-full-snapshots.base.org/$(curl https://mainnet-full-snapshots.base.org/latest)` |
4040

4141
<Note>
42-
Ensure you have enough free disk space to download the snapshot archive (`.tar.gz` file) _and_ extract its contents. The extracted data will be significantly larger than the archive.
42+
Ensure you have enough free disk space to download the snapshot archive (`.tar.gz` / `.tar.zst` file) _and_ extract its contents. The extracted data will be significantly larger than the archive.
4343
</Note>
4444

45-
3. **Extract Snapshot**: Untar the downloaded snapshot archive. Replace `<snapshot-filename.tar.gz>` with the actual downloaded filename:
45+
3. **Extract Snapshot**: Untar the downloaded snapshot archive. Replace `snapshot-filename` with the actual downloaded filename:
4646

4747
```bash
4848
tar -xzvf <snapshot-filename.tar.gz>
49+
50+
# For .tar.zst
51+
tar -I zstd -xvf <snapshot-filename.tar.zst>
4952
```
5053

5154
4. **Move Data**: The extraction process will likely create a directory (e.g., `reth` or `geth`).

0 commit comments

Comments
 (0)