Solved

Sharepoint Restore error

Posted on 2013-01-21
3
576 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 500 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

We had a requirement to extract data from a SharePoint 2010 Customer List into a CSV file and then place the CSV file into a directory on the network so that the file could be consumed by an AS400 system. I will share in Part 1 how to Extract the Da…
In case you ever have to remove a faulty web part from a page , add the following to the end of the page url ?contents=1
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

738 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