@jexp I love how performant the binary export/import is when compared to using neo4j-shell -c dump or neo4j-shell -file for exporting and import respectively.
The issue I'm running into is I would like to import a local file to a remote host in a similar vein to the mysqldump and mysql commands. The neo4j-shell supports remote hosts and bash supports reading from STDIN so I can definitely do,
> neo4j-shell -host <remote> -file < /tmp/graph.cql
where /tmp/graph.cql is local, however when using import-binary the input filename is embedded in the command, so in a local context the following works,
> neo4j-shell -host localhost
NOTE: Remote Neo4j graph database service 'shell' at port 1337
neo4j-sh (?)$ import-binary -i /tmp/graph.bin
however this clearly fails as the /tmp/graph.bin doesn't exist on the remote machine.
> neo4j-shell -host <remote>
NOTE: Remote Neo4j graph database service 'shell' at port 1337
neo4j-sh (?)$ import-binary -i /tmp/graph.bin
/tmp/graph.bin (No such file or directory)
Do you know if there's any workaround for this, i.e. is it possible to import data from a local machine to a remote host running Neo4j without explicitly copying the file?