Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions docs/HowTo/Backup/Backup.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ stored under source control.

## Data Backups

We recommend mounting a separate volume to store data. Use the [`--data-path`](../../Reference/CLI/CLI-Syntax.md#data-path)
command line option to pass the path to Besu.
If installed locally, the default data location is the directory in which Besu is installed.

We recommend mounting a [separate volume to store data](../Get-Started/Run-Docker-Image.md#starting-besu).
Use the [`--data-path`](../../Reference/CLI/CLI-Syntax.md#data-path) command line option to pass the path to Besu.

Having some data reduces the time to synchronise a new node. Periodic backups can be performed of
the data directory and the data sent to your preferred backup mechanism. For example, cron job and
Expand Down
4 changes: 2 additions & 2 deletions docs/HowTo/Get-Started/Run-Docker-Image.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ docker run -p <localportJSON-RPC>:8545 -p <localportWS>:8546 -p <localportP2P>:3
Do not mount a volume at the default data path (`/opt/besu`). Mounting a volume at the default
data path interferes with the operation of Besu and prevents Besu from safely launching.

To run a node that maintains the node state (key and database), [`--data-path`] must be set to a location
other than `/opt/besu` and a storage volume mounted at that location].
To run a node that maintains the node state (key and database), [`--data-path`](../../Reference/CLI/CLI-Syntax.md#data-path)
must be set to a location other than `/opt/besu` and a storage volume mounted at that location.

[Besu environment variables](../../Reference/CLI/CLI-Syntax.md#besu-environment-variables) can be specified with the docker image instead of the command line options.

Expand Down