Restore a Spectrum repository backup
Use this procedure to restore the Spectrum respository from a backup created by the Admiinistration Uitility server backup
CLI command.
- Stop the Spectrum Technology Platform server.
-
Unzip the backup.zip file obtained from running the CLI
server backup
command. -
Open the Command Prompt as administrator, and on the command line navigate to the SpectrumDirectory/repository/bin directory.
On the Linux platform, use the
ls -l
command to check thatneo4j-admin
is executable. -
Run the following command:
Platform Command Windows neo4j-admin.bat restore --from=unzip-path --database=graphdb Linux ./neo4j-admin restore --from=unzip-path --database=graphdb --force In the command line, unzip-path is the directory in which you expanded the contents of the backup.zip file in step 2. -
After the
restore
command completes, verify that a folder named graphdb is present in databases folder in the following path:SpectrumDirectory/repository/data/databases/graphdb - Start the Spectrum Technology Platform server.