- URL:
- https://<root>/importSite
- Methods:
POST- Required Capability:
- Administrator
- Version Introduced:
- 12.2
Description
ArcGIS Data Pipelines Server provides the import operation to restore the site's configuration store from a backup site configuration file. The backup site configuration file can be obtained through the Export Site operation, which writes the information to a file location accessible to ArcGIS Data Pipelines Server.
As part of this operation, all machines participating in the site will be restarted automatically.
Request parameters
| Parameter | Details |
|---|---|
| Specify the full path for the backup site configuration file ( Example |
| This parameter validates the path specified in the Values: Example |
| The response format. The default response format is Values: |
Response properties
| Property | Details |
|---|---|
| Indicates success or failure of the import operation. |
| A list containing the messages returned from the import operation. |
Example usage
The following is a sample POST request for the import operation:
POST /<context>/admin/importSite HTTP/1.1
Host: organization.example.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
location=\\server\share\backups\export_may2026.agssite&validate=true&f=pjsonJSON Response examples
The following is an example response when the operation succeeds:
{
"backupFileName": [{
"messages": [
{
"level": "INFO",
"message": "Validation complete and imported site file to location : 'C:\\InstallDirectory\\DataPipelines\\framework\\runtime\\tomcat\\temp\\tmp-ags-unzip-30319035841066967801655396020849300'."
},
{
"level": "INFO",
"message": "Import operation is about to complete. The following steps have been completed successfully 'Imported machines registered'. The pending steps are 'Security configuration'."
},
{
"level": "INFO",
"message": "Import operation completed in '00hr:00min:01sec'."
},
{
"level": "INFO",
"message": "Restarting services for the site as a final step of the importSite process."
}
],
"source": "SITE"
}],
"status": "success"
}The following is an example response when the operation fails due to an inaccessible site configuration file:
{
"error" : {
"code" : 500,
"message" : "Unable to read from /server/no_access/20260520-074806.agssite. Verify the file is accessible and the user account running the server has read permissions.",
"details" : null
}
}