Solved

Sharepoint Restore error

Posted on 2013-01-21
3
564 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
3 Comments
 
LVL 12

Expert Comment

by:NormanMaina
Comment Utility
How are you doing the restore?
0
 
LVL 14

Expert Comment

by:KoenVosters
Comment Utility
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
Comment Utility
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Pimping Sharepoint 2007 without Server-Side Code Part 1 One of my biggest frustrations with Sharepoint 2007 in the corporate world is that while good-intentioned managers lock down the more interesting capabilities of Sharepoint programming in…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

772 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now