Skip to content

Commit

Permalink
Update aptos-db-restore.md
Browse files Browse the repository at this point in the history
  • Loading branch information
saharct authored and areshand committed Jun 21, 2023
1 parent 6b8be29 commit e7b4ec6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions developer-docs-site/docs/nodes/full-node/aptos-db-restore.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ aptos node bootstrap-db \
```

### Restore a fullnode with full history from genesis
To restore a fullnode with full history from genesis, set `ledger-history-start-version` to 0 and disable the pruner by disabling ledger pruner as described [here](https://aptos.dev/guides/data-pruning).
To restore a fullnode with full history from genesis, set `ledger-history-start-version` to 0 and disable the pruner by [disabling the ledger pruner](../../guides/data-pruning.md).

Example command:

Expand All @@ -90,11 +90,11 @@ aptos node bootstrap-db \
--command-adapter-config /path/to/s3-public.yaml \
--target-db-dir /path/to/local/db
```
Disable the pruner in node config to prevent the early history being pruned when you start the node.
Disable the pruner in the node config to prevent the early history from being pruned when you start the node.
```Yaml
storage:
storage_pruner_config:
ledger_pruner_config:
enable: false

```
```

0 comments on commit e7b4ec6

Please sign in to comment.