Backup properties

Below is a list of backup properties and their functions. These properties are located in the spectrum-container.properties file.

General backup properties

PropertyDescription
spectrum.backup.enabledEnable or disable all system backups 
spectrum.backup.cronQuartz cron configuration for scheduled backups: For more information on the cron configuration, visit https://freeformatter.com/cron-expression-generator-quartz.html. 

Configuration database backup properties

The following properties in the spectrum-container.properties file must be changed when running a database backup in a separated configuration database environment.

PropertyDescription
spectrum.backup.repository.enabledEnable or disable the backup of the configuration database, specifically: Overrides the general enabled flag (spectrum.backup.enabled). To enable, uncomment the property and set the value to True. 
spectrum.backup.repository.databaseURLURL/Host of the machine where Neo4j repository runs; Do not modify unless Neo4j is running on a different machine than the server 
spectrum.backup.repository.directoryDirectory where Neo4j backup files are stored. By default, this location is ../server/backup/repository. In clustered setups, we suggest that you point this directory to a network share location. This location has changed from the default location in previous releases, which was ../server/app/repository/store/backup. 

Index backup properties

PropertyDescription
spectrum.backup.index.enabledEnable or disable the backup of the Search Index index repository, specifically: Overrides the general enabled flag (spectrum.backup.enabled) 
spectrum.backup.index.directoryDirectory where backup files are stored: By default, this location is ../server/backup/index. IMPORTANT: In a clustered environment, this property must point to a network share location.  

To restore an Elasticsearch snapshot, invoke the restoreSnapshot operation using the Index Snapshot/Backup Manager in the JMX Console:

MBean:  com.pb.spectrum.platform.common:manager=IndexSnapshotManager