Cannot to restore SharePoint site collection

摘要:Cannot to restore SharePoint site collection


当你不断地delete 然后restore 同一个site collection 时 会发生error:

Restore-SPSite : The operation that you are attempting to perform cannot be completed successfully.  No content databases in the web application were available to store your site collection.  The existing content databases may have reached the maximum number of site collections, or be set to read-only, or be offline, or may already contain a copy of this site collection.  Create another content database for the Web application and then try the operation again. At line:1 char:15

原因:

如果你只系在CA那里删除一个site collection. 这样只会在Front End 的 Content DB 去删除这个site, 并不是完整地删除.

如果执行Get-SPDeletedSite 就会知道有那些还未完整地删除的 Site collection

例子:

WebApplicationId   : 2f210dbb-f6bb-43d2-b730-9cb61222cbdb
DatabaseId         : 213a1719-929b-420c-89f8-d03f52a06bc7
SiteSubscriptionId : 00000000-0000-0000-0000-000000000000
SiteId             : 5ce0264c-1dad-4ffa-8360-8195i24dac69
Path               : /teams/Test2
DeletionTime       : 7/4/2013 6:30:36 AM

解决方法

1. 先完整地删除site collection:

    Remove-SPDeletedSite –Identity 5ce0264c-1dad-4ffa-8360-8195i24dac69(SiteId)

2. 执行Gradual site delete timer job

    Central administration > Monitoring > Job definitions  跑一次 “Gradual Site Delete” job

原文:大专栏  Cannot to restore SharePoint site collection


猜你喜欢

转载自www.cnblogs.com/petewell/p/11465359.html