HOW TO
When upgrading ArcGIS Enterprise, issues encountered during the upgrade can corrupt ArcGIS Data Store and destroy stored data. To retrieve lost data, ArcGIS Data Store must be restored to an earlier backup point. Refer to Portal for ArcGIS: Manage data store backups for more information.
This article provides instructions on how to restore ArcGIS Data Store on the same machine it was corrupted.
Note: To restore ArcGIS Data Store on a new machine, follow any of the solutions provided in Portal for ArcGIS: Recover a data store.
C:\arcgisdatastore
C:\arcgisdatastore\backup\relational\dbbackup\<most_recent_backup_file>
C:\arcgisdatastore

cd <ArcGIS Data Store installation directory>\DataStore\tools
restoredatastore --store relational --target most-recent --source-loc \\myserver\backups\spatiotemporal --data-dir C:\arcgisdatastore --server-url https://gisserver.domain.com:6443 --server-admin siteadmin --server-password MySApw
Note: After deleting the datastore folder in step 5, above, if there are any other data stores on the machine, i.e., spatiotemporal, graph, or object, the restoredatastore command must be run on all other data stores.
"datastore.lastknownstatus": "Started" "localstore.lastknownstatus": "Started"

The ArcGIS Data Store is restored to an earlier backup point.
Article ID: 000021700
Get help from ArcGIS experts
Start chatting now