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

I know the process involves backing up the site collection. And restoring it afterwards.

I'm looking for specific steps on the restore process.

I have a site collection at the root of a web application: http://myServer:40123/ I now want to move this root site collection to a different path, e.g. http://myServer:40123/sites/myOldRoot/, so that I can have a new/different root site collection.

What are the steps I need to do? Will I need to create this site collection beforehand or will Restore-SPSite do everything for me?

share|improve this question
add comment

1 Answer 1

You can use PowerShell to do that, check Restore-SPSite cmdlet.

Restore-SPSite http://server_name/sites/site_name -Path C:\Backup\site_name.bak
share|improve this answer
    
That is incorrect. I cannot restore a top-level web site to a subsite. –  Dennis G Nov 18 '11 at 12:21
    
Hmm, just tried it again and it works. I used top site collection and restored it to same web application as a sub site collection. Did you receive an error or what? –  Toni Frankola Nov 18 '11 at 12:28
    
"Restore-SPSite:The specified URL is not a top level Web site. The backup and restore operations work only for top-level Web sites.". See this post for more information: social.technet.microsoft.com/Forums/eu/sharepoint2010setup/… - I got it to work now by using Export-SPWeb and Import-SPWeb - maybe you can edit your answer so I have something to accept ;-) –  Dennis G Nov 18 '11 at 14:41
    
Are you trying to move Site Collection (SPSite) or just a single Site (SPWeb), your question is about moving (restoring) entire site collection to another location, while you comment is about moving a single site, so I am bit confused here :) –  Toni Frankola Nov 18 '11 at 15:30
    
Sharepoint and naming of things... I want to move the site collection (SPSite) located at the URL above. This site collection contains only a root web anyways, so in this case my SPSite == SPWeb. In any case: You cannot restore a backed up root site collection to another sub-path. You can only restore it to a root again. –  Dennis G Nov 19 '11 at 19:04
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.