I want to change the URL of my team site collection, to do so i have back-up the site collection from inside the old URL, and i want to restore it to the new URL. so i did the following:-
-i create a new site collection on the root of my web application .
-i back-up my current team site from the old URL.
-when i tried to restore the site collection to the new URL i got the following 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 this site collection. Create another content database for the Web application and then try the operation again. At line:1 char:1 + Restore-spsite -identity http://gvsps01:80 -path c:\root\i -force + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidData: (Microsoft.Share...dletRestoreSite: SPCmdletRestoreSite) [Restore-SPSite], InvalidOperationException + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletRestoreS ite
so can anyone advice please, as all the articles which is talking about this error, is related to if someone delete a site collection from the same URL and try to restore it, while in my case there was not any previouse site collection on the