Neo4j - SPLessons

Neo4j Backup Restore

Home > Lesson > Chapter 16
SPLessons 5 Steps, 3 Clicks
5 Steps - 3 Clicks

Neo4j Backup Restore

Neo4j Backup Restore

shape Description

Databases are used to store huge amount of data and it becomes very crucial to Backup the data. In the event of some software or hardware failures, backup data can be used to recover the data. The current chapter Neo4j Graph Database Backup and Restore fundamentals provides the necessary security for protecting data stored in the Neo4j Graph Databases server.

shape Step - 1

Open Neo4j Community Edition.

shape Step - 2

Click on Start button.

shape Step - 3

Click on http://localhost:7474/.

shape Step - 4

All the files getting generated.

shape Step - 5

Before taking database backup first we need to press the Stop button.

shape Step - 6

All the Neo4j files are available in c:\Neo4j2.0db.

shape Step - 7

Open command prompt.

shape Step - 8

Type the below command.

shape Step - 9

It will create a new folder.

shape Step - 10

Type the below command.

shape Step - 11

All the files get copied.

shape Step - 12

These are the files that get copied from the inside the database.

shape Step - 13

Click on Neo4jDbBackup-01 followed by 7-Zip and Add to Neo4jDbBackup-01.zip.

shape Step - 14

NeojDbBackup-01.zip file has been created.

Neo4j Restore

shape Description

Neo4j Graph Database Restore is used to restore the files containing the data into the database server.

shape Step - 1

Before that we have to shut sown the server.

shape Step - 2

The database folder has to be empty.

shape Step - 3

Right click on Neo4jDbBackup-01-zip and select 7-Zip followed by extract Here button.

shape Step - 4

Type the below command in command prompt.

shape Step - 5

Start the server by clicking start button.

shape Step - 6

After click the link all the files get restored inside the database.

Summary

shape Key Points

  • Backup and Restore - Describe the process for performing the backup and restore operational executions.