konveyor/tackle-data-gravity-insights

Command to create an offline dump of the neo4j database is deprecated

Closed this issue · 0 comments

rahlk commented

Describe the bug
In Step 6 of the getting started guide, the command to export the neo4j DGI graph is given as

docker run --rm -v neo4j:/data -v $(pwd):/var/dump neo4j bin/neo4j-admin dump --to=/var/dump/DGI.dump

This command is now deprecated, it needs to be replaced by

docker run --rm -v neo4j:/data -v $(pwd):/var/dump neo4j bin/neo4j-admin database dump --to-path=/var/dump/ neo4j

To Reproduce
Follow the steps in the getting started guide and you will run into an error in Step 6.

Expected behavior
An exported dump file.

Additional context
Please also change the text from DGI.dump to neo4j.dump