Skip to content

Commit 26fa59f

Browse files
Document the option to change backup memory settings via --additional-config (#2747)
1 parent b06f437 commit 26fa59f

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

modules/ROOT/pages/backup-restore/online-backup.adoc

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -275,17 +275,22 @@ This needs to be changed if backups are to be taken from another machine.
275275
[[online-backup-memory]]
276276
=== Memory configuration
277277

278-
The following options are available for configuring the memory allocated to the backup client:
279-
280-
* Configure heap size for the backup::
278+
You can configure the memory allocated to the backup client in several ways:
281279

280+
* Configure heap size:
281+
+
282282
`HEAP_SIZE` configures the maximum heap size allocated for the backup process.
283-
This is done by setting the environment variable `HEAP_SIZE` before starting the operation.
283+
Define the variable `HEAP_SIZE` before starting the operation.
284284
If not specified, the Java Virtual Machine chooses a value based on the server resources.
285285

286-
* Configure page cache for the backup::
286+
* Configure page cache:
287+
+
288+
Set the page cache size with the `--pagecache` option of the `neo4j-admin database backup` command.
289+
290+
* Override the memory settings:
291+
+
292+
Use the `--additional-config` option of the `neo4j-admin database backup` command to override the memory configurations in the _neo4j.conf_ file.
287293

288-
The page cache size can be configured by using the `--pagecache` option of the `neo4j-admin database backup` command.
289294

290295
[TIP]
291296
====

0 commit comments

Comments
 (0)