Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

What is the best method to transfer a sharepoint site from one sharepoint install to another?

share|improve this question

5 Answers 5

up vote 4 down vote accepted

You have the following methods to move sites and site collections (there is a difference, so it helps if you know which one you're dealing with):

  1. stsadm -o backup and stsadm -o restore. This moves site collections and not sites. Lots of people are talking about sites when they really mean site collections. This is usually the easiest method and can move data at a rate of about 15 GB/hr. If your site is the only site in the site collection, this is your best bet.

  2. stsadm -o export and stsadm -o import. This moves sites. Not as easy to use as backup/restore, but does the trick. There are gotchas when it comes to permissioning, so make sure the site is accessible as expected after the move. You cannot import a site into a site collection where it already exists (which shouldn't be a problem in your case). You will need to make sure all customizations (templates, web parts, features, solutions) are deployed to the new site collection you are importing into otherwise it's error time.

  3. stsadm -o mergecontentdb. This can move a site collection from one database to another. This seems more complex at first, but is easier to use than backup/restore. This moves a site collection within a farm. Create a new content database and move it to the new db, detach, and reattach the database in the other installation (farm).

  4. stsadm -o gl-moveweb part of Gary Lapointe's stsadm extensions (every farm should have this installed). This moves a site within a farm. (gl-movesite moves a site collection).

  5. Most 3rd party SharePoint backup applications have a feature to backup/restore a site to another farm.

share|improve this answer

I've used the built-in backup / restore feature to move a site to a new install. In my case it worked without any real issues. These features are available in the Central Administration app or via stsadm.

share|improve this answer

Or you can do an export/import via stsadm

share|improve this answer

To move sites or site collections to another farm, I'd go with export/import. You'll have to pre-create a (blank) site on the target farm, however. Also, pay attention to the options of those commands, like includeusersecurity and the versions to include in the export.

I would not go with backup/restore, as this can cause conflicts with duplicate GUIDs. When you restore a site to a new farm, it only creates a new GUID for the site collection. All included objects like lists and items retain their GUID. You don't need to have a (blank) site in place when using this backup/restore.

A nice comparison of the 2 processes can be found in this article.

share|improve this answer

The easiest way is to just make a backup of the content db and reattach it to the new farm's sql server, then add the content db to the web app. Full urls in content (like for instance a publishing page's link to it's pagelayout) will need to be "realligned" though. (i.e. pages etc.)

The destination farm also has to be at the same product version (i.e. service packs and hotfixes) or higher as the source farm's installation. Usually installing the latest Cumulative Update on the destination farm solves that issue.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.