Create neo4j databse from backup inside neo4j docker

Viewed 1709

Neo4j is new to me. I have a backup of neo4j database and I would like to build a docker container by creating a database by using that backup.

I know I can use neo4j-admin restore --from=<backup-directory> [--database=<name>] [--force[=<true|false>]] command but am looking for something which a docker container would be able to use to recreate database when the container is created.

The documentation of the neo4j docker image uses an exiting database database inside container. But I need to restore a backup and create database from it.

1 Answers
Related