From a4577a90e946620808a7f7626d98c968baf456f5 Mon Sep 17 00:00:00 2001 From: Martin O'Hanlon Date: Mon, 10 Jun 2024 09:40:06 +0100 Subject: [PATCH] neo4j-admin: add page (#12906) * neo4j-admin: add page --------- Co-authored-by: spageektti Co-authored-by: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> --- pages/common/neo4j-admin.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pages/common/neo4j-admin.md diff --git a/pages/common/neo4j-admin.md b/pages/common/neo4j-admin.md new file mode 100644 index 0000000000..99352ae298 --- /dev/null +++ b/pages/common/neo4j-admin.md @@ -0,0 +1,32 @@ +# neo4j-admin + +> Manage and administer a Neo4j DBMS (Database Management System). +> More information: . + +- Start the DBMS: + +`neo4j-admin server start` + +- Stop the DBMS: + +`neo4j-admin server stop` + +- Set the initial password of the default `neo4j` user (prerequisite for the first start of the DBMS): + +`neo4j-admin dbms set-initial-password {{database_name}}` + +- Create an archive (dump) of an offline database to a file named `database_name.dump`: + +`neo4j-admin database dump --to-path={{path/to/directory}} {{database_name}}` + +- Load a database from an archive named `database_name.dump`: + +`neo4j-admin database load --from-path={{path/to/directory}} {{database_name}} --overwrite-destination=true` + +- Load a database from a specified archive file through `stdin`: + +`neo4j-admin database load --from-stdin {{database_name}} --overwrite-destination=true < {{path/to/filename.dump}}` + +- Display help: + +`neo4j-admin --help`