Restoring a Server
If you lose your server due to a severe system failure or other disaster, you can restore your server using a backup of the configuration and index databases. In order to have a backup you must have either created a backup manually or have configured Spectrum Technology Platform to create scheduled backups. By default, Spectrum Technology Platform does not create backups of the configuration and index databases.
Note: This procedure is intended to be used in situations where you have a single
Spectrum Technology Platform server. If you have a cluster of Spectrum Technology Platform servers and you need to restore a single node, install a new
server and add it to the node. The configuration of the cluster will automatically
be applied to the new node, in effect restoring the node. The only scenario where
you would need to restore from a backup in a clustered environment would be in the
event of a complete loss of all nodes in the cluster.
-
Install a new Spectrum Technology Platform server.
For more information, see the Installation Guide.
- If the server is running, stop the server.
-
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 restore command to restore the configuration
database.
Platform Command Windows neo4j-admin.bat restore --from=directory path --database=graphdb Linux ./neo4j-admin restore --from=directory path --database=graphdb --force If restoring the configuration database from a manual backup created by the Administration Utility server backup CLI command, unzip the backup.zip file and fordirectory path
specify the location of the extracted directory.If restoring from a scheduled backup, fordirectory path
specify the path that was set in the spectrum-container.properties file under the Spectrum backup settings section. -
After the
restore
command completes, verify that a folder named graphdb is present in databases and transactions folders in these locations:SpectrumDirectory/repository/data/databases/graphdb
SpectrumDirectory/repository/data/transactions/graphdb - Restore the module-specific data for any modules you have installed.
- Restore the index database.
-
Start the server.
Wait for the server to fully start.
-
Apply all the updates for the platform and any modules you have installed.
For a listing of updates, see the Update Summary on the Precisely support website.