Repairing sites with “stsadm -o export”

We had a rather awful public relations fiasco with a Sharepoint site over the past three weeks. Users replying to existing posts in discussion board web parts always receive “User not found” errors (their replies get posted, but they get no notification of this). I was almost incapable of getting help from Microsoft on this (after burining many hours trying to resolve the issue on my own).

Ultimately, the support engineers concluded that the site had experienced some corruption of security profiles. They were hesitant to use their internal tool for purging security profiles from the site for fear that this would create other problems. Ultimately, they recommended using stsadm -o export with the -includeusersecurity flag to create a backup of the site. (“Export” is different from “Backup” in that it does not create a full backup of the site… it just backs up the content.) We then use “import” to restore the backup file to a new, blank site. Using this process, new security profiles are created but site content stays the same.

Here is the full procedure for rebuilding a site using stsadm:

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s