I have an enterprise wiki site collection , and i back up the site collection ( i will name it SiteA) , the i have create a new site collection (SiteB) of type enterprise wiki . What i want is to make a copy of siteA , and restore it inside site B.so i did the following.
Backup-SPSite
"http://server01/SiteA"
–Path "C:\backup\siteA.bak"Restore-SPSite
http://server01/sites/SiteB
–Path "C:\backup\siteA.bak" -Force
but the restore command raised 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.
can anyone advice what is causing this error ? Thanks