How to Import/Restore Neo4j Graph Database from a Backup Compressed File(tar.gz)🗜️
Neo4j is a graph database management system. Popular use cases are knowledge graphs, digital twin, POLE, etc.
I am assuming you have neo4j desktop installed in your system.
Procedure:
- Get a database backup/file.
2. Extract the folder. You will get a folder with the name “data”.
3. Open your neo4j desktop.
4. Create a database.
5. Don’t start database yet.
6. Open Settings.
7. Uncomment the following line in “Settings…”
# Enable this to be able to upgrade a store from an older version.
dbms.allow_upgrade=true
8. Press Apply.
9. Open Neo4j terminal.
10. Enter following command in your terminal with path of your extracted backup, including “path_to_folder/data/neo4j”
./bin/neo4j-admin restore --from=/path/to/your/data/folder/data/neo4j --database=neo4j --force
11. Press enter, You will see a success message.
Congratulations, your database has been restored.
12. Close terminal and start database.
13. Open Neo4j browser and browse your database. Run queries, build knowledge graphs. Have fun. Cheers🎉
For further reference:
Hire Me:
Are you seeking a proficient Neo4j Certified individual? I am available and eager to undertake the task at hand. I look forward to hearing from you in regard to potential opportunities.
About Author:
Asim is an applied research data engineer with a passion for developing impactful products. He possesses expertise in building data platforms and has a proven track record of success as a dual Kaggle expert. Asim has held leadership positions such as Google Developer Student Club (GDSC) Lead and AWS Educate Cloud Ambassador, which have allowed him to hone his skills in driving business success.
In addition to his technical skills, Asim is a strong communicator and team player. He enjoys connecting with like-minded professionals and is always open to networking opportunities. If you appreciate his work and would like to connect, please don’t hesitate to reach out.