Add description option '--database=<name>' to dumping or loading database

This commit is contained in:
Wolfgang Huß 2023-12-12 15:52:34 +01:00
parent e4fabc47a0
commit c931c27a10

View File

@ -74,6 +74,8 @@ neo4j% exit
$ docker cp <docker-image-name('neo4j')>:/var/lib/neo4j/neo4j-dump <local-folder-path>/$(date +%F)-neo4j-dump
```
If you need a specific database name, add the option `--database=<name>` to the command `neo4j-admin dump`.
### Import Neo4j Dump
To import a dump into Neo4j running in a Docker container:
@ -92,6 +94,8 @@ neo4j% neo4j-admin load --expand-commands --database=neo4j --from /var/lib/neo4j
neo4j% exit
```
If you need a specific database name, add the option `--database=<name>` to the command `neo4j-admin load`.
## Commands
Here we describe some rarely used Cypher commands for Neo4j that are needed from time to time: