I have one web application with site collections. Then I have a subsite inside. I want to export this subsite (and only this one), and import it in a new web app I will create.
Question is : Is this possible ? I'm guessing, ofc, with powershell Import/Export-SPWeb. This seems easy. But When I will import it, will my subsite, becoming a entire site, will use a the new web app's database ? Because I want to separate its database.
If you have any advice :)
Thanks
Nico.
UPDATE1: The Export-SPWeb
and Import-SPWeb
exit with errors : HRESULT : 0x80070005 (E_ACCESSDENIED)
on some files (like AllItems.aspx). But it creates documents libraries as I expected. But it does not create the home page, and the personnalization I did.
And the documents libraries it created returns a 404 not found when I try to open them...
I tried using -UseSqlSnapshot with my Export-SPWeb
but it seems like my SQL version does not support this. But I don't think that this parameter would have change anything.