Restore-SPSite Error

I deleted a site collection then I tried to restore a backup of it when I got the following error

“Restore-SPSite : The operation that you are attempting to perform cannot be com

pleted successfully. No content databases in the web application were availabl
e to store your site collection. The existing content databases may have reach
ed the maximum number of site collections, or be set to read-only, or be offlin
e, or may already contain a copy of this site collection. Create another conte
nt database for the Web application and then try the operation again.
At line:1 char:15
+ Restore-SPSite <<<< -Identity http://mol-moss-intra -Path “C:\Production Bui
ld 19-1-2012\MOLBackup\MOL.bak”
+ CategoryInfo : InvalidData: (Microsoft.Share…dletRestoreSite:
SPCmdletRestoreSite) [Restore-SPSite], InvalidOperationException
+ FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletRestoreS

In order to resolve the issue I had to do the following

  1. Open SharePoint Central Administration.
  2. Navigate to Application Management -> Manage Content Databases
  3. Select the Web Application
  4. Select Add a content database
  5. Specify the required information
  6. Re-run the Restore-SPSite command once more.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: