How to export and import database in Neo4j for Windows?

Hello!

Neo4j-Admin is and has always been included in Neo4j Desktop, the desktop edition is actually the Enterprise edition of Neo4j, so supports live backups as well (which Community edition doesn't :( ).

In your Desktop environment, if you press 'Open Folder'
image

You'll be taken to the install folder of your instance.

If you copy the folder location, and open up a PowerShell instance (as administrator), then CD to that folder:

You can then cd bin and ls to see the Neo4j-Admin tooling.

At this point, I would import the .psd1 file, for which you might need to Set-ExecutionPolicy bypass -scope currentuser depending on your rights, then run Import-Module .\Neo4j-Management.psd1

image

Now you can run Invoke-Neo4jAdmin backup or Invoke-Neo4jAdmin restore as you want.