Problem: To move a site collection as subsite
To shift a site collection as a subsite to another site collection, we can make use of STSADM import/export command.
Following are the steps to achieve this
Say, we need to move the site collection http://mysite/sites/xyz to another site collection http://mysite2/sites/abc as a subsite.
Steps
1. Export the site collection http://mysite/sites/xyz using STSADM command line tool
stsadm.exe -o export -url http://mysite/sites/xyz -filename c:\mybckup\xyz.bak –includeusersecurity –nofilecompression
2. Create a new site with Blank Site template in the other site collection http://mysite2/sites/abc. Assume the blank site name is newsite. So its URL will be http://mysite2/sites/abc/newsite
3. Import the backed up site collection in c:\mybckup\xyz.bak
stsadm.exe -o import -url http://mysite2/sites/abc/newsite -filename c:\backups\sc_asite.bak
-includeusersecurity -nofilecompression
After migration, the site collection 1 will be available under the following URL as a subsite http://mysite2/sites/abc/newsite