Skip to content

Commit

Permalink
Document Reth snapshot URLs (#651)
Browse files Browse the repository at this point in the history
  • Loading branch information
danyalprout authored Jul 22, 2024
1 parent 0dfb609 commit fc6bf34
Showing 1 changed file with 10 additions and 25 deletions.
35 changes: 10 additions & 25 deletions apps/base-docs/tutorials/docs/0_run-a-base-node.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,31 +102,16 @@ If you're a prospective or current Base Node operator and would like to restore

#### Restoring from snapshot

In the home directory of your Base Node, create a folder named `geth-data`. If you already have this folder, remove it to clear the existing state and then recreate it. Next, run the following code and wait for the operation to complete.

**Testnet (Full)**

```
wget https://sepolia-full-snapshots.base.org/$(curl https://sepolia-full-snapshots.base.org/latest)
```

**Testnet (Archive)**

```
wget https://sepolia-archive-snapshots.base.org/$(curl https://sepolia-archive-snapshots.base.org/latest)
```

**Mainnet (Full)**

```
wget https://mainnet-full-snapshots.base.org/$(curl https://mainnet-full-snapshots.base.org/latest)
```

**Mainnet (Archive)**

```
wget https://mainnet-archive-snapshots.base.org/$(curl https://mainnet-archive-snapshots.base.org/latest)
```
In the home directory of your Base Node, create a folder named `geth-data` or `reth-data`. If you already have this folder, remove it to clear the existing state and then recreate it. Next, run the following code and wait for the operation to complete.

| Network | Client | Snapshot Type | Command |
|---------|--------|---------------|-----------------------------------------------------------------------------------------------------------------------|
| Testnet | Geth | Full | `wget https://sepolia-full-snapshots.base.org/$(curl https://sepolia-full-snapshots.base.org/latest)` |
| Testnet | Geth | Archive | `wget https://sepolia-archive-snapshots.base.org/$(curl https://sepolia-archive-snapshots.base.org/latest)` |
| Testnet | Reth | Archive | `wget https://sepolia-reth-archive-snapshots.base.org/$(curl https://sepolia-reth-archive-snapshots.base.org/latest)` |
| Mainnet | Geth | Full | `wget https://mainnet-full-snapshots.base.org/$(curl https://mainnet-full-snapshots.base.org/latest)` |
| Mainnet | Geth | Archive | `wget https://mainnet-archive-snapshots.base.org/$(curl https://mainnet-archive-snapshots.base.org/latest)` |
| Mainnet | Reth | Archive | `wget https://mainnet-reth-archive-snapshots.base.org/$(curl https://mainnet-reth-archive-snapshots.base.org/latest)` |

You'll then need to untar the downloaded snapshot and place the `geth` subfolder inside of it in the `geth-data` folder you created (unless you changed the location of your data directory).

Expand Down

0 comments on commit fc6bf34

Please sign in to comment.