Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
04-03-2020 12:50 AM
HI,
we always had only to do backup of the existing DB. Thus, since we created it, we did minor changes to the structure and of course, no one documented them ...
I'm planning to recreate a new instance , so I would like to know if it is possible to get an export/extract of the DB structure ( like mysql for the ones who knows it )
I found many docs on backup/restore ( like this official one : https://neo4j.com/docs/operations-manual/current/tools/dump-load/) but I can't find the info.
note that we don't need to have the data .. we will probably restart from scratch
Thanks for your insights !
Solved! Go to Solution.
04-15-2020 12:50 PM
04-03-2020 06:26 AM
structure? as in you need to know the indexes and constraints configured?
if so https://neo4j.com/developer/kb/using-cypher-to-generate-cypher-statements-to-recreate-indexes-and-co... might be of help
04-05-2020 02:22 AM
Hi Dana,
Thanks a lot
yes it is this
I'm now investigating on why call db.schemaStatements(); is an unknown procedure on my install ( last explanation on the link )
With constraints, indexes and fields definitions, I should be good
04-05-2020 07:35 PM
call db.schemaStatements() is only valid in 4.0.x forward
04-06-2020 02:26 AM
yes, that's what I found.
Any idea on how I can perform the same ? ( my version is 3.5.6 ) ?
04-07-2020 06:48 AM
describes both the steps for a 3.x environment as well as a 4.x environment.
04-15-2020 12:50 PM
Thanks a lot
all set !
All the sessions of the conference are now available online