Welcome to TechNet Blogs Sign in | Join | Help

Limitations of STSADM -o export/import related to publishing sites

STSADM -o export/import is often used to split site collections into multiple pieces when they reached a certain limit. Or to do the vice versa and consolidate multiple site collections into one larger one. Both of these actions work fine as long as the migrated content does not use the publishing feature.

For site collections that make use of the publishing feature it is not supported to migrate root sites into sub sites or sub sites into root sites.

The reason for this limitation is that the publishing feature stores vital information like page layouts but also various properties like information about variation, reusable content and so on in the root site of a site collection.

When migrating a root site into a subsite the imported content will link to the new location of the previous root site. E.g. the page layout URLs will afterwards point to the page layouts library in the sub site and not of the root site which does not work as the publishing feature requires these items to be in the root site. So additional actions like moving the page layouts to the root site and adjusting all page layout urls would be required. Similar things would be required for variations and reusable content.

On the other hand when migrating a sub site to a root site it gets even worse: in this situation important content which was stored in the root site of the site collection is no longer available as the sub site does not contain the necessary information as they haven't been exported in the first place. So after importing the subsite as new root site items based on the publishing feature will be non functional.

Be aware that this limitation will also affect sites with custom features which store information outside the current site.

Valid migration scenarios when using the publishing feature are the following:

  • export the site collection starting at the root site and import as root site into a new site collection
    (using a custom application you can specify which sub sites to export if you would like to avoid to export all of them)
  • export sub sites of the site collection and import them as sub sites into an existing site collection that has the publishing feature enabled
Published Wednesday, May 27, 2009 9:15 AM by Stefan_Gossner

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# Valuable Internet Information » Stefan Go??ner : Limitations of STSADM -o export/import related to …

Thursday, May 28, 2009 9:19 AM by SharePoint Daily

# Bamboo Releases SharePoint Project Management Central, Windows 7 Touch Pack, Office 2010 Not So Special?

Top News Stories 5 Tips for Maximizing SharePoint (Intranet Journal) Though tools such as Microsoft's

Sunday, May 31, 2009 10:08 AM by Sushant

# re: Limitations of STSADM -o export/import related to publishing sites

I am a regular follower of your posts. This post is also bang on target as usual :) just want to double check:

Are you saying that to migrate a very large publishing site what i need to do is to 1st migrate the root site along with some subsites to a root site and then migrate the individual subsites? Please confirm.

Sunday, May 31, 2009 11:08 AM by Stefan_Gossner

# re: Limitations of STSADM -o export/import related to publishing sites

Hi Sushant,

if you just need to migrate the whole site collection you can do this at once.

But if you need to split the site collection into multiple pieces you need to ensure that each piece that does not start at the root of the site collection in the source site has to be migrated as a subsite of an existing site collection.

Cheers,

Stefan

Wednesday, June 03, 2009 7:23 PM by Nishant's World

# SubSite to Site Collection

Lets consider a scenario where a subsite (web) becomes substantially larger and you wish you could have

Friday, June 12, 2009 4:54 AM by Paul

# re: Limitations of STSADM -o export/import related to publishing sites

Hi Stefan,

I'm a MOSS 2007 novice and extremely concerned regarding our initial setup/structure of our initial MOSS 2007 implementation.  Our sub sites have been created with the Publishing template and I would like to like to convert them to their own site collections.  We are reasonably early in our MOSS 2007 implementation but I can see in the future one site collection/database etc may/will cause some headaches in the future eg ability to set quotas, database restores in a timely fashion etc.  Is there other tools available to convert sub sites to site collections or are we better off recreating the new site collection and migrating the doc etc manually?

Thanks

PaulN

Friday, June 12, 2009 7:30 AM by Stefan_Gossner

# re: Limitations of STSADM -o export/import related to publishing sites

Hi Paul,

if the amount of data is reasonable I would suggest to recreate the site collections.

If not you could use the workaround to create a new site collection for using the publishing template and then import as sub site.

Cheers,

Stefan

Tuesday, June 16, 2009 3:51 AM by Mike Edwards

# re: Limitations of STSADM -o export/import related to publishing sites

I've been using the Export command to export 70 subsites. These sites were below a Publishing site, but not using any features from this site.

Export of the sites creates all the relevant .cmp files (one set per site) I then import them into a new site collection and they import without errors but not all of the data is there. Lots of the lsits are only partially populated, and some of the Doc libraries are missing many docs. Why would this be?

I've used the -Versions 4 switch, as most of the Doc libs have versionig on.

Tuesday, June 16, 2009 4:10 AM by Stefan_Gossner

# re: Limitations of STSADM -o export/import related to publishing sites

Hi Mike,

if I understand correct you exported team sites from the site collection. Is this correct?

The description sounds like a potential database inconsistency. I would recommend to open a support case with Microsoft to get this analyzed.

Cheers,

Stefan

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker