PROBLEM
When running the webgisdr utility to backup Portal for ArcGIS, the process fails, returning the following error:
Error: { "error":{ "code":500, "details": null, "message": "Failed to export site. Export of the Portal repository failed. \\\\PortalDirectory\\arcgisportal\\content\\items\\" } }
Portal for ArcGIS cannot find the location of the relevant item data to backup, as the item no longer exists in the Portal content directory.
In a federated environment, when a service with feature access capabilities is published as a hosted service, the following occurs:
If the hosting server is removed, or is not correctly configured after an upgrade is performed, an item may display in the content directory, but it cannot be accessed. Attempting to delete this item results in an error, and deleting the item folder from the content directory does not remove it. Reindexing does not resolve the issue.
Follow the workaround below to resolve.
https://<machine_name>.<domain>.com/<webadaptorhost>/portaladmin
Note: For items without content folders to restore, create a new folder with the same content item ID name, and copy-paste any sub-folders from another item.
Article ID: 000019078
Get help from ArcGIS experts
Download the Esri Support App