How to move a site from one farm to another in SharePoint 2007
I have a site (not a site collection) on a farm which I am trying to move to another. I have used following export command to export from the source server.
C:\>stsadm -o export -url "http://mosstrn/connect" -filename "C:\ExportFile" -includeusersecurity -CompressionSize 1000
This command runs successfully and creates 4 .cmp files ExportFile1.cmp, ExportFile2.cmp, ExportFile3.cmp and ExportFile.cmp
Don't know why it's creating 4 files and not 1 and how to use these 4 files. However, just for a try I copied these files onto my target
server (in another farm) and ran the following import command:
C:\>stsadm -o import -url "http://win2008devb/apps/teamspaces" -filename "D:\connect\backup\ExportFile.cmp"
this gives me following error:
Start Time: 5/24/2012 4:05:35 PM.
Progress: Initializing Import.
FatalError: Could not find WebTemplate company#100001
with LCID 1033.
at Microsoft.SharePoint.Deployment.ImportRequirementsManager.VerifyWebTemplat
e(SPRequirementObject reqObj)
at Microsoft.SharePoint.Deployment.ImportRequirementsManager.Validate(SPRequi
rementObject reqObj)
at Microsoft.SharePoint.Deployment.ImportRequirementsManager.DeserializeAndVa
lidate()
at Microsoft.SharePoint.Deployment.SPImport.VerifyRequirements()
at Microsoft.SharePoint.Deployment.SPImport.Run()
Progress: Import Completed.
Finish Time: 5/24/2012 4:05:43 PM.
Completed with 0 warnings.
Completed with 1 errors.
Log file generated:
D:\connect\backup\ExportFile.cmp.import.log
Could not find WebTemplate company#100001 with LCID
1033.
Can anyone please tell me what mistake I am making in the whole process and how this can be fixed.
Thanks
May 24th, 2012 11:17am
Hi Agsiddiqui,
Firstly export creating different file blocks since you used the "-CompressionSize 1000" switch specifying max filesize be "1000". If you don't use that switch it would create only 1 file. However I don't believe this is the problem. Have you checked
the export log - if there were any error/ warning messages during the export?
As a workaround you could try to
save the site as template (with content) and then re-create the site in the target location from that template. From your description it seems to me your site size is not big.
Note - out of box site template has a 10 MB limit.
Hope this helps!
BlueSky2010
Please help and appreciate others by using these features: "Propose As Answer", "Vote As Helpful" and
"Mark As Answer"
Free Windows Admin Tool Kit Click here and download it now
May 24th, 2012 1:03pm
Hi Agsiddiqui,
Firstly export creating different file blocks since you used the "-CompressionSize 1000" switch specifying max filesize be "1000". If you don't use that switch it would create only 1 file. However I don't believe this is the problem. Have you checked
the export log - if there were any error/ warning messages during the export?
As a workaround you could try to
save the site as template (with content) and then re-create the site in the target location from that template. From your description it seems to me your site size is not big.
Note - out of box site template has a 10 MB limit.
Hope this helps!
BlueSky2010
Please help and appreciate others by using these features: "Propose As Answer", "Vote As Helpful" and
"Mark As Answer"
May 24th, 2012 1:07pm
From the error seems like you might have installed Fantastic 40 Templates on the source farm which might be missing on the destination farm. Please check for those missing and install them and then try to import in the destination
Free Windows Admin Tool Kit Click here and download it now
May 31st, 2012 11:08am