I'm attempting to copy a graph.db I created in the Community Edition on AWS AMI to my local Linux PC.
On the AWS AMI I have managed to dump the database and copy it to my local Linux PC
On AWS AMI I did the following
ssh connect to instance need to login as root to manage neo4j so need to setup a password https://aws.amazon.com/premiumsupport/knowledge-center/set-change-root-linux/ sudo su set a pwd by - passwd root add neo4j as root user - usermod -aG sudo neo4j login as neo4j - su neo4j go to home - cd ~ can now run dump/backup command - neo4j-admin dump --database=graph.db --to=backups/trove20190803 remove root passwd - from local Linux PC then used scp to copy the dump/backup locally
My problem is how to load this dump/backup into a local Neo4j Desktop
I have successfully loaded it into local neo4j using command - neo4j-admin load --from=trove20190803 --database=trove20190803.db and can access this from a browser
I have installed neo4j and 'Neo4j Desktop' on this linux PC, using the neo4j to do the tutorial and have used the 'Neo4j Desktop' to connect to the AWS AMI neo4j instance
I note in the manual that it says 'file locations for a database installed via Neo4j Desktop will be different from those described here'
I'm thinking my problem is which directory I am in matters which config file it uses
So to test this I created a new project in Neo4j Desktop and opened the browser to create an empty graph.db.
I then opened the terminal window from Neo4j Desktop for this instance and checked that I could run a neo4j-admin check-consistency and did a neo4j-admin dump which all appear to have worked.
Next step was to do a neo4j-admin load of the dump/backup from the AWS AMI and it did not give any errors
Started the database running, connected with the browser but a call db.schema.verification only returns an empty schema as if it was the empty database
Some pointers as to what I should do would be appreciated