Cannot dump database in Neo4j Desktop on Windows

102 Views Asked by At

I cannot dump a database from Neo4j Desktop on Windows 10. I am using OpenJDK 11, Neo4j Desktop v1.4.11 and the DB version is v4.4.2.

From what I have seen in other posts, this works fine on Linux/Mac but not on Windows. Also, as this is using the Neo4j Desktop interface, I have no control over the path name.

The error I get in the Desktop log file is:

[error] Selecting JVM - Version:11.0.8+10-LTS, Name:OpenJDK 64-Bit Server VM, Vendor:Azul Systems, Inc.
java.nio.file.InvalidPathException: Illegal char <:> at index 143: C:\Users\Glen Rutherford\AppData\Local\Neo4j\Relate\Data\projects\project-808d9e7f-36da-4a8e-a49e-7036d2129eb2\dev-strategy-neo4j-7-Jan-2022-12:29:54.dump
    at java.base/sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
    at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
    at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
    at java.base/sun.nio.fs.WindowsPath.parse(WindowsPath.java:92)
    at java.base/sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:229)
    at java.base/java.nio.file.Path.of(Path.java:147)
    at org.neo4j.commandline.dbms.DumpCommand.openDumpStream(DumpCommand.java:142)
    at org.neo4j.commandline.dbms.DumpCommand.dump(DumpCommand.java:154)
    at org.neo4j.commandline.dbms.DumpCommand.execute(DumpCommand.java:115)
    at org.neo4j.cli.AbstractCommand.call(AbstractCommand.java:71)
    at org.neo4j.cli.AbstractCommand.call(AbstractCommand.java:34)
    at picocli.CommandLine.executeUserObject(CommandLine.java:1953)
    at picocli.CommandLine.access$1300(CommandLine.java:145)
    at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2352)
    at picocli.CommandLine$RunLast.handle(CommandLine.java:2346)
    at picocli.CommandLine$RunLast.handle(CommandLine.java:2311)
    at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)
    at picocli.CommandLine.execute(CommandLine.java:2078)
    at org.neo4j.cli.AdminTool.execute(AdminTool.java:93)
    at org.neo4j.cli.AdminTool.main(AdminTool.java:79)
0

There are 0 best solutions below