Skip to content

Commit c175f79

Browse files
Document the option to change backup memory settings via --additional-config (#2747) (#2754)
1 parent 4223058 commit c175f79

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
@@ -266,17 +266,22 @@ This needs to be changed if backups are to be taken from another machine.
266266
[[online-backup-memory]]
267267
=== Memory configuration
268268

269-
The following options are available for configuring the memory allocated to the backup client:
270-
271-
* Configure heap size for the backup::
269+
You can configure the memory allocated to the backup client in several ways:
272270

271+
* Configure heap size:
272+
+
273273
`HEAP_SIZE` configures the maximum heap size allocated for the backup process.
274-
This is done by setting the environment variable `HEAP_SIZE` before starting the operation.
274+
Define the variable `HEAP_SIZE` before starting the operation.
275275
If not specified, the Java Virtual Machine chooses a value based on the server resources.
276276

277-
* Configure page cache for the backup::
277+
* Configure page cache:
278+
+
279+
Set the page cache size with the `--pagecache` option of the `neo4j-admin database backup` command.
280+
281+
* Override the memory settings:
282+
+
283+
Use the `--additional-config` option of the `neo4j-admin database backup` command to override the memory configurations in the _neo4j.conf_ file.
278284

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

281286
[TIP]
282287
====

0 commit comments

Comments
 (0)