I just found out that if I have restored a site but then realized that I need to put it on a different URL, I can't add it anymore.
Here's what happen ...
We have 2 SP servers, the live one and the test one:
- live --> sp.company.org
- test --> sharepoint2010
The plan was to backup the site collection from the live one and restore it on the test server.
The site in question called mysite and the current URL (on live server) is
Using SharePoint2010 Management Shell, I did:
restore-spsite -identity http://sharepoint2010 -path c:\backup\mysite.bak
And I realized that mysite was restored at the root of
http://sharepoint2010 ... I thought it will re-create the path (/sites/mysite).
So I delete that '/' collection and tried to restore it
again to a different path.
restore-spsite -identity http://sharepoint2010/sites/mysite -path c:\backup\mysite.bak
--> note that the mysite part is a non-existent path to avoid using
but then it gave an 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 t
View Complete Post