Restoring only a site into another web application  
Author Message
raq





PostPosted: SharePoint - General Question and Answers and Discussion, Restoring only a site into another web application Top

Hi:

I've made a full backup of a web application, but I only want to restore a site into another a web application. Is ther a way to do this I'm using the new version.

Regards.



SharePoint Products and Technologies2  
 
 
Sirk





PostPosted: SharePoint - General Question and Answers and Discussion, Restoring only a site into another web application Top

Instead of doing a backup you can do an export of a single site and then import that to the other application. (if it's not possible to do an export because the original application doesn't exist, then you'll have to restore the web application temporarily and then do an export of the site)

Use the stsadm command line to do this (C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN\stsadm.exe -help export)

Export:
stsadm -o export -url http://intranet/SiteDirectory/testsite/ -filename testsite.bak

Import
stsadm -o import -url http://portal/SiteDirectory/testsite/ -filename testsite.bak