What to do with the Content Migration Package file

This section describes how to import the contents of Content Migration Package into a functioning SharePoint farm by using the Windows SharePoint Services administrative application (Stsadm.exe). This information may be useful if you have chosen to save the extracted data as a Content Migration Package (.cmp) file. As a result, you have one or more .cmp files. You now can import them by running Stsadm.exe.

By default, Stsadm.exe is installed automatically with Microsoft SharePoint Server and can be found in the %CommonProgramFiles%\Microsoft Shared\web server extensions\14\BIN folder.For more information about Stsadm.exe refer to the following Microsoft knowledge base article: http://technet.microsoft.com/en-us/library/cc261866.aspx.

Usage examples

In the usage examples below:

Example 1: Various ways of resolving name conflicts

When importing a SharePoint item to a site where this item already exists, Acronis SharePoint Explorer adds a new item version. If you want to resolve name conflicts in a different way, extract the items by using Acronis SharePoint Explorer and save them as Content Migration Package.

Then, run Stsadm.exe with the following parameters:

stsadm -o import -url <URL name> -filename <import file name> -updateversions {1|2|3|4}

The -updateversions parameter value specifies how to update data:

Example 2: Importing to a different Microsoft SharePoint farm

Acronis SharePoint Explorer can import data only to the SharePoint farm where its agent is installed. If you want to import data to a different Microsoft SharePoint farm, extract the data by using Acronis SharePoint Explorer and save the data as Content Migration Package.

Then, run Stsadm.exe with the following parameters:

stsadm -o import -url <URL name> -filename <import file name>

Example 3: Clearing security information and user data

When importing a SharePoint item to a functioning site, Acronis SharePoint Explorer preserves security information and user data. If you want to clear these settings, extract the data by using Acronis SharePoint Explorer and save the data as Content Migration Package.

Then, run Stsadm.exe without the -includeusersecurity parameter:

stsadm -o import -url <URL name> -filename <import file name>