Import Site

Description

The importSite operation lets you restore your site from a backup site configuration file that you created using the exportSite operation. It imports the site configuration file into the currently running portal site.

The importSite operation will replace all site configurations with information included in the backup site configuration file. See the exportSite operation documentation for details on what the backup file includes. The importSite operation also updates the portal content index.

CautionCaution:

This operation is computationally expensive and can run for a long time. Since this operation changes the portal site configuration completely, it is highly recommended that you do not access portal items or administer the site while the operation is running.

Request parameters

Parameter

Details

location

A file path to an exported configuration.

f

The response format. The default response format is html.

Values: json | html

Example usage

https://<portaladmin>/importSite
     location=\\server\share\backup\Oct-06-2015_10-20-55.portalsite

JSON response syntax

{
     "status": "success"
}

7/5/2017