mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
Add description option '--database=<name>' to dumping or loading database
This commit is contained in:
parent
e4fabc47a0
commit
c931c27a10
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user