Tuesday, January 26, 2010

Backup and Restore SharePoint 2007 subsites

2 options:

1. use stsadm export and import. Type stsadm -help import or stsadm-help export for options. When import, make sure to import to a blank site. Also note some data in the subsite can't be exported, such as workflow related data. For example:

stsadm -o export -url http://sitecollection/subsite -filename subsite -includeusersecurity -haltonfatalerror -cabsize 1023

Note the cabsize switch works around the default 25 MB size limit. Also see http://blog.beckybertram.com/Lists/Posts/Post.aspx?ID=28 for a good explanation of moving large subsite.

2. user SharePoint Designer. There seems to be a 25 MB backup limit or bug.