Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Exporting and Importing web permissions

Status
Not open for further replies.

justmike2

Programmer
Jan 3, 2008
4
I wanted to create a moss2007 dev environment with a subset of data from the production content db's. I created a copy of the content db's and removed all the webs via stsadm. I then exported a subset of data from the prod content db and imported it into the Dev db. That all worked fine, however the permissions seem to been broken in all the subsites. Did I do something wrong or is this the way it works?
I am reletively new to sharepoint, so i apologize if this is too vague..

Wondering if I should have removed the site collection from Dev also then imported that then the individual webs?

Here are example commands (the names have been changed to protect the innocent)
Remove web
""C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN\STSADM.exe" -o deleteweb -url " "

Export
"C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN\STSADM.exe" -o export -url " -filename "\\%FileLocation%\C$\_ExportImportDB\Data\name_4.bak" -overwrite -includeusersecurity

Import
"C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN\STSADM.exe" -o import -url " -filename "\\%FileLocation%\C$\_ExportImportDB\Data\name_4.bak" -includeusersecurity
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top