Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

My company is just starting to use sharepoint for some of our contractors. And I am now tasked with the administration. (yay)

Development was done on a standalone server and they were planning on using the standalone server in production for 300+ contractors, once I was brought on board I built a farm and migrated the database over into SQL Server from SQL Express. That part worked fine.

For some reason, the portal that they built is a subsite of a subsite, of course besides for the links down, the site collection and subsite are empty. What I need to do is move that sub-subsite up to the root level. Perferably in a host-header site collection so that I can give it a specific name.

The problem I am having is I dont know enough about Sharepoint I guess. When I use: stsadm -o Export "blahserver/blah/blah/" -filename C:\blah.bak -includeusersecurity it seems to run correctly, no errors, however the blah.bak file generated is only 5k.

when I run stsadm -o import "blahserver/" -filename C:\blah.bak -includeusersecurity It runs, no errors, however I cant find anything that is actually created or moved.

I followed http://www.casualcoder.com/sharepoint-change-subsite-level/ exactly.

I also attempted to use export-spweb and import-spweb, I cant find the exact error from that attempt but it was in regards to the database, and was undefined.

I've been beating my head against the wall for days(If this was in anything besides sharepoint, it would be a simple drag and drop... One click). I'm to the point where a consultant might be a good idea on this one.

Any ideas how I can make it work?

share|improve this question
    
Just to make sure you have it right: Did you actually create a new site at the level you want to move your exported site to? If not you want to first create a site at the level you need and then import using the new site path, basically overwriting the content with the exported site. –  user7400 Jan 31 '13 at 20:42
    
General Workflow: 1. Export Spserver/SiteA/SubsiteA 2. Create a new site at your new level SpServer/SiteB 3. Import SpServer/SiteB -filename c:/SiteA.bak –  user7400 Jan 31 '13 at 20:50
    
I will run that workflow in a few minutes, but should that .bak be only 5k? –  Matt Bear Jan 31 '13 at 21:00
    
The 5KB size is surprising. Is your site quite bare? –  user7400 Jan 31 '13 at 21:27
    
not particularly, the log file generated is about 150k too, the site's DB is a couple hundred megs ATM –  Matt Bear Jan 31 '13 at 21:30
show 2 more comments

1 Answer 1

up vote 0 down vote accepted

Found it finally, the account I was running export under did not have the correct permissions to the subsite. Added the account into sharepoint and I was able to do the full export. I'm still working out some issues but at least I got the import/export working.

share|improve this answer
    
Nice...Way to go! –  user7400 Feb 1 '13 at 13:30
    
Now I have a different problem, the sub-subsite was created using a blank template, and the site, and subsite were created using a team template, so I cant just promote, and there is a dependancy somewhere that I need to find. This is going to be complicated... I was able to bring the subsite up to the site level, so the sub-subsite is now a subsite. –  Matt Bear Feb 1 '13 at 18:49
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.