?
Solved

Sharepoint Restore error

Posted on 2013-01-21
3
Medium Priority
?
578 Views
Last Modified: 2013-02-06
Hello Team:
I am trying to restore the SP site... getting following error

:\backup\mcc.bak -Force -Confirm:$False
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 <<<<  "http://localhost/sites/mccclone" -Path C:\backup\mcc
.bak -Force -Confirm:$False
    + CategoryInfo          : InvalidData: (Microsoft.Share...dletRestoreSite:
   SPCmdletRestoreSite) [Restore-SPSite], InvalidOperationException
    + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletRestoreS
   ite
0
Comment
Question by:CalmSoul
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 12

Expert Comment

by:NormanMaina
ID: 38804283
How are you doing the restore?
0
 
LVL 14

Expert Comment

by:KoenVosters
ID: 38804456
The error means that the available content databases either have reached their site collection limit (which is set at 9000) IIRC or that you said them to readonly for the restore...

My guess is that you are restoring the site collection while it is still there. You need to remove it first before you can restore it.
0
 
LVL 38

Accepted Solution

by:
Justin Smith earned 2000 total points
ID: 38805314
If you are trying to make a clone of your site, by backing it up and restoring it to a different URL, you may see this issue.  In order to restore a site to the same web application (and a different URL) you have to restore it to a separate content database.  

In this case, verify your web app has at least two content databases (you can add another one in Central Admin - Web App Mgmt).  On your Restore-SPSite command, specify the name of the database using -ContentDatabase <name of database> .  Make sure you use a database that doesn't contain the original site.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you create your solutions on SharePoint sooner or later you will come upon a request to set  permissions of the item depending on some of the item's meta-data - the author, people assigned as approvers, divisions, categories etc. The most natu…
I used to be SharePoint evangelist in our company, so my Outlook always full of questions about how to do this, or where I can find that. One day I found such an email with the following question: "how to attach 3-State workflow (one of the workflow…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question