I am using Neo4j Desktop. I have got a remote database named "Remote DBMS" as shown in the photo. I want to import dump into existing remote DBMS. You can see the dump file is named "dbms-neo4j-Dec-13-2022-10-12-01.dump" in the screenshot.
I try your syntax below and i got an error "Archive does not exist". As you can see in the screenshot in my last post the file "dbms-neo4j-Dec-13-2022-10-12-01.dump" does exists
bash-3.2$ bin/neo4j-admin load --from=data/dumps/dbms-neo4j-Dec-13-2022-10-12-01.dump --database=Remote --force
Selecting JVM - Version:11.0.14.1+1-LTS, Name:OpenJDK 64-Bit Server VM, Vendor:Azul Systems, Inc.
Archive does not exist: data/dumps/dbms-neo4j-Dec-13-2022-10-12-01.dump
I try another path by using the finder to reveal the path of the file. I did this command below and got this error
Unmatched arguments from index 2: 'Support/Neo4j', 'Desktop/Application/relate-data/projects/project-7732f753-6ffd-4904-8ce5-28ab316a005f/dbms-neo4j-Dec-13-2022-10-12-01.dump
I think is to do with the white space. So I try the command below by replacing the white spaces with %20 and now i got this error
Selecting JVM - Version:11.0.14.1+1-LTS, Name:OpenJDK 64-Bit Server VM, Vendor:Azul Systems, Inc.
Archive does not exist: Users/james/Library/Application%20Support/Neo4j%20Desktop/Application/relate-data/projects/project-7732f753-6ffd-4904-8ce5-28ab316a005f/dbms-neo4j-Dec-13-2022-10-12-01.dump