如何重命名SharePoint的ContentDatabase

如何通过Wiz发布并从SharePoint中移除内容数据库
本文提供了一步一步的指南,详细解释了如何使用Wiz发布并从SharePoint中央管理中移除内容数据库,包括在SQL Server中拆卸数据库、在中央管理中添加新数据库等关键步骤。

转自http://www.sharepointnerd.com/blog/Lists/Posts/Post.aspx?ID=24

已经过我的验证,切实好用。

用户Attach Database的代码:http://msdn.microsoft.com/en-us/library/ms190209.aspx

  1. In Central Administration, take the content database offline.
  2. In Central Administration, remove the content database from SharePoint.  You'll get a warning here that any sites in that content database will no longer be available in SharePoint.  While that is true, it does not mean that you're deleting sites; the sites and all their data will remain in the content database.
  3. In SQL Server, detach the database.  During this process, it may be necessary for you to also drop all existing connections to the database.
  4. In SQL Server, re-attach the same database.  During this process, you should see an "Attach as" column in the upper table; it's here that you can change the name of the database, so call it what you want.  Perform the re-attachment.
  5. In Central Administration, add a content database.
    1. Be sure you have the correct web application selected.
    2. Give the "new" database the same name as the one you specified in SQL Server in step 4 above.  (You're not really "creating" a database at  this point because you want to use the existing one that you just re-attached).
    3. Click the "OK" button.
  6. The database should now appear as an available database in Central Administration.  If it's not "Started," be sure to start it.  You should then be able to navigate to any site collection contained in the content database.




转载于:https://www.cnblogs.com/teamleader/archive/2012/04/01/2429436.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值