One consideration for your ArcGIS Knowledge site is developing a plan to restore the site in the event of hardware failure or data loss. You can export the components of your ArcGIS Enterprise deployment to a backup file that can later be used to restore it. However, the graph store used by the ArcGIS Knowledge site must be backed up separately.
If you are using a NoSQL data store with your ArcGIS Knowledge site, there are additional factors to consider to ensure the Neo4j databases associated with your site can be restored. You must create a plan to back up and restore your Neo4j databases that is coordinated with your plan to back up and restore ArcGIS Enterprise.
Back up an ArcGIS Knowledge site
Follow the steps below to back up your ArcGIS Enterprise deployment and the graph store used by your ArcGIS Knowledge site.
- Back up your ArcGIS Enterprise deployment using the webgisdr utility.
- Back up the graph store using the ArcGIS Data Store backupdatastore utility.
Sites with NoSQL data stores
When you use Neo4j databases as NoSQL data stores associated with your ArcGIS Knowledge site, your Neo4j databases must be backed up using Neo4j utilities in a manner that is appropriate for your version of Neo4j and your operating environment.
The graph store associated with your ArcGIS Knowledge site stores schema information that must be kept in sync with the entities and relationships stored in the Neo4j database. It is critical that the graph store and the Neo4j database are backed up at the same time, and that additional write operations are not made to either one until both backup operations are complete. Therefore, the Neo4j database must be placed in read-only mode and in read-write mode at the appropriate points in the process. Edits to the Neo4j databases are only supported through ArcGIS Pro and ArcGIS Enterprise.
Learn about administering your Neo4j databases
- Back up your ArcGIS Enterprise deployment using the webgisdr utility.
- Put the Neo4j databases associated with your ArcGIS Knowledge site in read-only mode using Neo4j administrative commands.
- Back up the graph store using the ArcGIS Data Store backupdatastore utility.
- Back up the appropriate Neo4j databases using Neo4j utilities.
- Put the appropriate Neo4j databases back in read-write mode using Neo4j administrative commands.
Restore an ArcGIS Knowledge site
Follow the steps below to restore your ArcGIS Enterprise deployment and the graph store used by your ArcGIS Knowledge site.
- Restore your ArcGIS Enterprise deployment using the webgisdr utility.
- Restore the graph store using the ArcGIS Data Store restoredatastore utility.
Sites with NoSQL data stores
When you use Neo4j databases as NoSQL data stores associated with your ArcGIS Knowledge site, your Neo4j databases must be restored using Neo4j utilities in a manner that is appropriate for your version of Neo4j and your operating environment.
The graph store and the Neo4j databases associated with your ArcGIS Knowledge site that are restored must represent the same backup point because the data they contain must be in sync. Write operations must not be made to either one until both the graph store and the Neo4j databases are restored. Therefore, the Neo4j database must be placed in read-only mode and in read-write mode at the appropriate points in the process.
Learn about administering your Neo4j databases
- Restore your ArcGIS Enterprise deployment using the webgisdr utility.
- Restore the Neo4j databases associated with your ArcGIS Knowledge site using Neo4j utilities.
- Put the appropriate Neo4j databases in read-only mode using Neo4j administrative commands.
- Restore the graph store using the ArcGIS Data Store restoredatastore utility.
- Put the appropriate Neo4j databases back in read-write mode using Neo4j administrative commands.