Skip to content

Commit 191fa50

Browse files
author
Clément Turmel
committed
feat(docs): add cardano-db download example with a range of immutables
1 parent e7f1bc1 commit 191fa50

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/website/versioned_docs/version-maintained/manual/getting-started/bootstrap-cardano-node.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,8 @@ You will see more information about the snapshot:
446446
447447
### Step 4: Download the selected Cardano DB snapshot
448448
449+
#### Step 4.1 : Download the full Cardano DB snapshot
450+
449451
To download the selected snapshot from the remote location to your remote location, run:
450452
451453
```bash
@@ -493,6 +495,14 @@ Upgrade and replace the restored ledger state snapshot to 'LMDB' flavor by runni
493495
mithril-client --unstable tools utxo-hd snapshot-converter --db-directory db --cardano-node-version 10.4.1 --utxo-hd-flavor Legacy --cardano-network preview --commit
494496
```
495497
498+
#### Step 4.2 : Download a subset of Cardano DB snapshot
499+
500+
To download a range of immutables from the remote location to your remote location, run:
501+
502+
```bash
503+
./mithril-client cardano-db download --include-ancillary $SNAPSHOT_DIGEST --backend v2 --start 17000 --end 18000
504+
```
505+
496506
### Step 5 (optional): Convert the ledger state snapshot to another flavor
497507
498508
After restoring a snapshot with the `--include-ancillary` option, the ledger state is in the `InMemory` format. You can convert it to another UTxO-HD flavor (e.g., `LMDB` or `Legacy`) using the Mithril client `tools utxo-hd snapshot-converter` command.

0 commit comments

Comments
 (0)