if you have already exported a sahrepoint site or subsite then you can import it into another WSS site or into a WSS site sitting underneath your MOSS 2007 site. Here is the command line instructions:
stsadm.exe -o import -url
-filename
-includeusersecurity
-haltonwarning
-haltonfatalerror -updateversions <1-4>
1 - Add new versions to the current file
2 - Overwrite the file and all its versions
3 - Ignore the file
4 - Terminate with conflicts
-quiet
And here is an example:
stsadm.exe -o import -url http://sharepointsitname/NewlyImportedSite -filename C:\backups\backup.bak -includeusersecurity -haltonfatalerror -updateversions 1
This will import my backup file named backup.bak to the site named NewlyImportedSite that sites beneath my MOSS site, it will, of course, include all of the user security from the exported site, it will stop importing if it encounters a fatal error and will update the versions of the site instead of deleting them and replacing them.
No comments:
Post a Comment