WSS 3.0 - Move a subsite with subsites

Last Updated: 10/17/08

I'm working in a test WSS 3.0 environment and I would like to be able to move a subsite with subsites to another environment.  There are several ways to move a WSS 3.0 site.  The first one I tried almost worked.  I will document my attempts (and reason each attempt was or was not successful here. 

SharePoint Designer

The technique:

  • Create a placeholder for the new location of the site
    • Use WSS 3.0 browser
      • Create a site using the Blank Site template.
  • Create a backup of the site to be moved
    • Use SharePoint Designer
      • Open the site to be moved
      • On the Site Menu - point to Administration - Backup Web Site - Check Include Subsites
      • Creates a .cmp file
  • Restore the backup to the new location
    • Use SharePoint Designer
      • Open the site (new location)
      • On the Site Menu - point to Administration - Restore Web Site
      • Use the .cmp file 

Limitations:

  • The site hiearachy for the new location must be the same as the original location. 
    • For example: If you have
      • Portal Site - Projects Site - IT Projects Site - Project A Site - Project A Documentation Site - Project A Final Dcoumentation Site
      •  you cannot move it  to  move it to
      • Portal Site - Project A Documentation
  • There is a size limitation of 25MB

 

SharePoint Site Template
The Technique:
  • Create a Site Template
    • Using WSS 3.0 Browser:
      • Save the site you want to move as a template – include content
      • If moving to a different site collection:
        • Go to Site Gallery (at top level)
        • Save the template to a good place in the file system (like your desktop)
        • Go to the root site of the Site Collection of the new location
        • Go to the Site Gallery
        • Upload the saved site template (.stp file)
      • Browse to the parent site of the new location
      • Create a new site with the template you just uploaded (Select a template – Custom tab)

Limitations:

  • Subsites are not included

STSADM Export / Import

The Techique

  • Use STSADM command line tool
  • Export the subsite to a .bat file
  • Import the .bat file to the new site location
  • Must have the following permissions:
  • login account for SQL server for SharePoint databases
  • Site Collection Administrator for new location (?and maybe original location)

Results

  • Subsite and subsites were restored
  • Used -includeusersecurity parameter and SharePoint groups and users in these groups were moved

Limitations

  • STSADM is not user friendly with error messages.  Check the Application Event Log.  The message received in the command window may not be indicative of the true problem.
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati
posted @ Thursday, October 16, 2008 11:23 AM
Print

Comments on this entry:

# re: WSS 3.0 - Move a subsite with subsites

Left by David at 10/24/2008 1:21 PM
Gravatar
Awesome info. Thanks!

# re: WSS 3.0 - Move a subsite with subsites

Left by Jai at 10/27/2008 9:36 AM
Gravatar
Thank you so much!

# re: WSS 3.0 - Move a subsite with subsites

Left by Joshua at 12/17/2008 3:24 PM
Gravatar
Thank you for confirming that export handles subsites of the target URL. Very valable information which doesn't appear explicitly in most places.

# re: WSS 3.0 - Move a subsite with subsites

Left by Ashton Sheets at 3/27/2009 8:31 PM
Gravatar
Great information! Thanks for posting this!

# re: WSS 3.0 - Move a subsite with subsites

Left by Scott at 7/1/2009 9:52 AM
Gravatar
FYI - there is a limitation on template sizes:

The size of a template cannot exceed 10485760 bytes.

# re: WSS 3.0 - Move a subsite with subsites

Left by Jeff Charland at 7/23/2009 3:34 PM
Gravatar
I need to move an older WSS site to a MOSS2007 subsite. Do the same stsadmin steps work for that? I don't want to overwrite my existing MOSS2007 site.

Your comment:



(not displayed)


 
 
 
 
 

Live Comment Preview:

 
«February»
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
26272829123
45678910