设为首页 收藏本站
查看: 932|回复: 0

[经验分享] 备份SharePoint站点的三种方法

[复制链接]

尚未签到

发表于 2015-9-29 10:17:21 | 显示全部楼层 |阅读模式
  有三种不同的feature可以用来打包SharePoint的站点:  

  • 在SharePoint Designer中, 你可以将站点备份
  • 在SharePoint Designer中, 你可以创建一个Web package.
  • 在浏览器中, 你可以保存一个站点为一个站点模板.
  使用哪个取决于你想要完成什么样的功能.

  
  Web Package (.fwp file)   
  ============  
  当你想要共享或者重用web页面, 或者是站点, 或者是列表结构的时候, 你可以使用这个特性. 使用Web packages, 你既能够打包整个站点也可以选择你想要的特定的页面, 列表, 或者文档库. Web Package是一个很棒的方式来复制站点结构, 但是他们不能包括列表数据, 子站点, 或者安全和权限设置. 还有, 一个web package可以包括自定义的链接条. 你创建了package之后, 你可以import和deploy这个文件到任意多个web sites. 更多信息, 可以参考Export or import a Web package.  
  
  Backup and Restore (.cmp file)   
  ============  
  当你想要做整个站点或者子站点的backup时, 或者当你想要移动整个站点或子站点到另一个服务器或者地点的时候, 你都可以使用这个feature. 与Web package不同, content migration package会包括列表数据, 并且你不能选择仅包含特定的站点元素. 注意, 你会在这个过程中丢失一些自定义(customization)或者配置. 比如说, backup文件不会包含workflow, alerts, 还有在站点集水平存储的属性. 备份文件也不会包括Recycle bin的状态和在其中的对象. 要使用backup and restore, 你必须对站点拥有管理员的权限.  
  
  Site Template (.stp file)   
  ============  
  当你想要创建多个具有相同的基础内容和站点结构的web站点是, 你应该使用这个特性. 比如说, 你也许想让在一个站点里创建的所有的子站点都拥有相同的站点结构, look and feel, 甚至内容. 你可以通过保存站点为一个站点模板, 并把它加入到Site Template Gallery中, 这样的话, 所有人都可以用这个站点作为一个模板了. 与Web packages不同, 站点模板能够包含列表数据. 你必须即拥有你想要创建站点模板的站点的管理员权限, 又要拥有对site template gallery的写权限.  
  
  备份站点的步骤
  ========== On the File menu, click Open Site.  
In the Open Site dialog box, browse to and click the Web site that you want to back up, and then click Open.  
On the Site menu, point to Administration, and then click Backup Web Site.  
In the Backup Web Site dialog box, to include all subsites of the current Web site in the backup, select the Include subsites in archive check box.  
If the current Web site is low on available storage space, click Advanced, enter a new location, and then click OK.    Backing up a Web site requires a location to store temporary backup files. By default, Office SharePoint Designer 2007 uses the current Web site. You can use another site on the same server or a location on another server on the same network — for example, \\Server name\Share name.
In the Backup Web Site dialog box, click OK.  
In the File Save dialog box, select the location where you want to store the .cmp file.  
In the File name box, type the name for the file, and then click Save.    If the site that you are backing up or restoring is large, the process can take quite a while.

  
  还原站点的步骤
  =========== Step 1: Create a new empty Web site as a destination

  • On the File menu, click New.
  • In the New dialog box, click the Web Site tab, click General, and then click Empty Web Site.
  • In the Specify the location of the new Web site box, enter the location where you want to restore the backup site.    You can restore the site to a different server, and you can restore it as either a new top-level site or a subsite under an existing top-level site.
  • Click OK.
  小窍门: 为了确定是否有在备份的过程中有错误产生, 你可以查看.log文件. .log文件存储在你用户账户的Temp文件夹下(%temp%). 如果一个日志文件已经存在, 比如说之前的backup and restore留下的, 新的log文件会用不同名字来创建, 比如说smigrate_1.log, smigrate_2.log等等. 在这些文件中搜索下面的关键字:


  • cannot
  • could not
  • failure
  • server error
  • timed out
  • unable to
  • the server sent a response.
  
Step 2: Restore the backup file to the destination

  • With the destination site open, on the Site menu, point to Administration, and then click Restore Web Site.
  • In the File Open dialog box, browse to and click the .cmp file that you want to restore, and then click Open.
  • If the current Web site is low on available storage space, click Advanced, and then do any of the following:

    • To store the archive files in another temporary location, enter a new location in the Temporary location for archive files box.    Backing up a Web site requires a location to store temporary backup files. By default, Office SharePoint Designer 2007 uses the current Web site. You can use another site on the same server or a location on another server on the same network — for example, \\Server name\Share name.
    • To store the .log file in another location, enter a new location in the Location for import log file box.    You might need to choose another location for the .log file if the server cannot write to the default location. By default, Office SharePoint Designer 2007 creates an import .log file in the current Web site. You can check this file to determine if there were errors during the restore process.

  • In the Restore Web Site dialog box, click OK to confirm that you want to restore the .cmp file to the current empty Web site.    If the site that you are backing up or restoring is large, the process can take quite a while.

  
  资料来源:  
  Back up, restore, or move a SharePoint site    http://office.microsoft.com/en-us/sharepointdesigner/HA100699391033.aspx

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-120330-1-1.html 上篇帖子: How to Create custom XMLSiteMapProvider and render it in SharePoint 2007 MOSS 下篇帖子: SharePoint 2010多语言包的安装
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表