From edf632281f845d555ab3469d8dff417b180fcb28 Mon Sep 17 00:00:00 2001 From: Reneta Popova Date: Wed, 5 Mar 2025 13:45:51 +0000 Subject: [PATCH 1/2] Update dump/load that for CE you must stop the whole DBMS --- modules/ROOT/pages/backup-restore/offline-backup.adoc | 3 ++- modules/ROOT/pages/backup-restore/planning.adoc | 2 +- modules/ROOT/pages/backup-restore/restore-dump.adoc | 4 +++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/modules/ROOT/pages/backup-restore/offline-backup.adoc b/modules/ROOT/pages/backup-restore/offline-backup.adoc index c908b13f1..8012f1315 100644 --- a/modules/ROOT/pages/backup-restore/offline-backup.adoc +++ b/modules/ROOT/pages/backup-restore/offline-backup.adoc @@ -16,7 +16,8 @@ It dumps a database into a single-file archive, called _.dump_, and st Alternatively, `neo4j-admin database dump` can stream dump to standard output, enabling the output to be piped to another program, for example to `neo4j-admin database load`. If the database is hosted in a cluster, make sure that the database is stopped on the server you are connected to. -The command can be run only locally from an online or an offline Neo4j DBMS. +The command can be run only locally from an online or an offline Neo4j DBMS on Enterprise Edition. +On Community Edition, the command can be run only on an offline Neo4j DBMS. It does not support SSL/TLS. [[offline-command-syntax]] diff --git a/modules/ROOT/pages/backup-restore/planning.adoc b/modules/ROOT/pages/backup-restore/planning.adoc index d64819906..9948505c8 100644 --- a/modules/ROOT/pages/backup-restore/planning.adoc +++ b/modules/ROOT/pages/backup-restore/planning.adoc @@ -115,7 +115,7 @@ They must be run directly on the databases that are associated with that Composi | Run from an online Neo4j DBMS | {check-mark} -| {check-mark} +| {check-mark} label:enterprise-only[] | {check-mark} | Run from an offline Neo4j DBMS diff --git a/modules/ROOT/pages/backup-restore/restore-dump.adoc b/modules/ROOT/pages/backup-restore/restore-dump.adoc index 3ed5ccb3a..a1f08a70c 100644 --- a/modules/ROOT/pages/backup-restore/restore-dump.adoc +++ b/modules/ROOT/pages/backup-restore/restore-dump.adoc @@ -7,7 +7,9 @@ The `neo4j-admin database load` command can be used to load a database from an a If you are replacing an existing database, you have to shut it down before running the command and use the `--overwrite-destination` option. + label:enterprise-edition[] If you are not replacing an existing database, you must create the database (using `CREATE DATABASE` against the `system` database) after the load operation finishes. -The command can be run from either an online or offline Neo4j DBMS, and it must be executed as the `neo4j` user to ensure the appropriate file permissions. +The command can be run from either an online or offline Neo4j DBMS on Enterprise edition. +For Community edition, the command can be run only on an offline Neo4j DBMS. +The command must be executed as the `neo4j` user to ensure the appropriate file permissions. [NOTE] ==== From 23e2e41afd2c5072ade00047d6286041973f070a Mon Sep 17 00:00:00 2001 From: Reneta Popova Date: Mon, 10 Mar 2025 13:30:18 +0000 Subject: [PATCH 2/2] fix a mistake --- modules/ROOT/pages/backup-restore/planning.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/backup-restore/planning.adoc b/modules/ROOT/pages/backup-restore/planning.adoc index 9948505c8..b2e7e529f 100644 --- a/modules/ROOT/pages/backup-restore/planning.adoc +++ b/modules/ROOT/pages/backup-restore/planning.adoc @@ -133,7 +133,7 @@ They must be run directly on the databases that are associated with that Composi | {check-mark} | {cross-mark} -| Run against a Composite databases +| Run against a composite database | {cross-mark} | {cross-mark} | {cross-mark}