This example moves a SharePoint 2007 application into a subcollection but can be used to move a site anywhere.
stsadm -o export -url http://mysharepointsite -filename z:\mysharepointsite.cmp -includeusersecurity -nofilecompression
-nofilecompression will allow you to write directly to the tartget drive without having to cache the export to the environmentvariables temp folder which is a problem if you’re running out of space on the machine you’re moving from.
2: Create a blank site at:
3: Then overwrite it using an import of mysharepointsite.cmp
stsadm -o import -url http://myportalsite/sites/mysharepointsite -filename mysharepointsite.cmp -includeusersecurity