sharepoint站点移植方案

1、备份网站和内容数据库
    "%systemdrive%\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN\stsadm.exe" -o   backup -url http://172.18.33.238:8000 -filename "E:\backup\%date:~0,10%.data" –overwrite

2、备份文件系统内的文件
     a、自定义Feature文件:12\template\Feature
     b、网站端口下的文件:web.config,bin,wpresources
     c、GAC内的DLL:C:\WINDOWS\assembly\GAC_MSIL

3、目标机器恢复文件系统文件

4、手动安装所有自定义Feature
    stsadm.exe -o installfeature -filename CustomInfopathFormT\feature.xml -force
    stsadm.exe -o activatefeature -id 3c9c457d-6e02-42a8-b538-c7261e2f31b6 -url http://localhost
5、恢复网站和内容数据库
   stsadm.exe -o restore -url <Site URL> -filename <filename> -overwrite

posted @ 2010-02-24 18:18  玛雅人  阅读(400)  评论(0编辑  收藏  举报