Difference between stsadm export/import and Site Template
Hi,We have created a sub-site in our devlopment enviornment,we have usedsharepoint designer to create thissubsite. We needto move this sub-siteunder a site collection to ourproduction enviornment farm. So we can either use stsdam export/import or save the sub-site as site template(include contents)and create sub-site in production enviornment using that site template. I wanted to knowwhats thedifference between above two methods, or both does the same things.NOTE: As only one sub-site will be created using this site template, so we thought we will not be creating asite defination for this.Thanks in advance,Sanban
November 27th, 2009 9:25pm

Sanban, Save site as template is use full and quick way to migrate sub sites between site collections or other environment. However this method has one limitation. If the site and its sub sites has more than 10 MB of data, you can not use save site as template. In that case, you can use export/import to migrate content. Here the teched link http://support.microsoft.com/default.aspx/kb/925189/en-us For this requirement, I believe you do not need to create site definition. Thanks, Himadrish
Free Windows Admin Tool Kit Click here and download it now
November 27th, 2009 9:51pm

Thanks Himadrish...Ya I'm aware of that 10mb limitation, but there is a workaround for that as well. We can increase the size by using this commandstsadm -o setproperty -propertyname max-template-document-size -propertyvalue <size_in_bytes>I wanted to know if there is any difference in above methods for moving/copying site between different enviornments, or it does the same things?
November 28th, 2009 5:23am

Well, the Backup/Restore operation is basically executed for site collection level. In other words, if you have a site collection lets say http://companyweb.sharepoint.com/sites/SITE1 and if you want to copy the image to a new SharePoint http://companyweb.sharepoint.com/sites/SITE2, simple way is to use Backup/Restore. However if you want to migrate the content to other environment, proceed with export/import. There are other differences as well and here are two links which may helps you :) http://www.venkat.org/2007/10/stsadmin-backuprestore-vs-importexport.html http://blogs.msdn.com/joelo/archive/2007/03/09/sharepoint-backup-restore-high-availability-and-disaster-recovery.aspxThanks, Himadrish
Free Windows Admin Tool Kit Click here and download it now
November 28th, 2009 10:55am

I was asking about site template backup & restore and stsadm export/import difference. But your explanation talks about site back/restore and export/import.
December 2nd, 2009 7:56pm

In SharePoint 2010, Save Site as Template will create a WSP file. You can grab that WSP file and reuse it on another farm, or import it in Visual Studio 2010 and perform changes to it. (In 2007, this functionality used to create an STP file, which was locked...) The import/export functionality is a bit different. It uses the Content Migration API, which exports XML representations of your objects (and sticks them in a single file). It has many limitations, and a great list can be found here: http://www.sharepointjoel.com/Lists/Posts/Post.aspx?List=0cd1a63d%2D183c%2D4fc2%2D8320%2Dba5369008acb&ID=405 Hope this clarifies it for you!SharePoint 2010 MCM. Feel free to contact me http://www.sharepoint.bg/radi
Free Windows Admin Tool Kit Click here and download it now
January 19th, 2011 9:59am

Yes Thanks
January 28th, 2011 12:44pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics