我可以通过停止该网站而不是完全关闭WS上的IIS来分离/移动DB
题
在我的SharePoint 2010场和Web服务器上。我有很多不同的网站。 Prod SharePoint,MySite,单独的ContentType集线器和2007个站点的附加数据库。
我想通过分离/附加过程将附加的2007站点的内容DB移动到SQL Server上的另一个驱动器。该网站仅适用于旧的存档数据,很少访问(主要用于审计)。 要启动分离,我必须关闭我的SP Web服务器上的所有IIS服务,还是可以在IIS管理器下停止“站点”,而不会影响其余的生产?
解决方案
Set the database to read-only mode and that should be enough. No need to stop IIS site.
UPDATE
To set the database readonly using SQL Query use:
ALTER DATABASE DBName SET READ_ONLY
Same task can be performed by selecting the database in SQL management studio. Right click on the database, select properties, then select options, scroll down to State section and change Database Read-only prperty to true.