Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dump/load that for CE you must stop the whole DBMS (#2168) #2176

Merged
merged 1 commit into from
Mar 10, 2025
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
3 changes: 2 additions & 1 deletion modules/ROOT/pages/backup-restore/offline-backup.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ It dumps a database into a single-file archive, called _<database>.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]]
Expand Down
4 changes: 2 additions & 2 deletions modules/ROOT/pages/backup-restore/planning.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}
Expand Down
4 changes: 3 additions & 1 deletion modules/ROOT/pages/backup-restore/restore-dump.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ Starting from Neo4j 5.20, the `neo4j-admin database load` command also supports
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]
====
Expand Down