STSADM -o export with DAT files
I performed an export using the following command STSADM -o export -url http://localhos:12345 -filename PortailMapaqFonctionnel.cab -overwrite -versions 3 -nofilecompression Now I want to do an Import but the export created a .cmp folder instead of a file. There is a ton of .dat files in there as well as a manifest.xml and other files. I figured out that it should have been a CAB file. I'm trying to package it into a cab. Is there a way to porform the import using the dat even if they are not into a CAB file. Daniel Siconnelli There is neither good nor evil... only mogwais and gremlins
June 28th, 2010 6:40pm

Hi Dan, Actually, in my experience, STSADM export does not care what the file extension is. As you can see in your backed up file, the manifest and all the dat files are all present and accounted for. You should be able to import the file regardless of what you called the extension... Troy Lanphier http://blog.sharepointcookbook.com
Free Windows Admin Tool Kit Click here and download it now
June 28th, 2010 8:19pm

I'm running this. Wiki.cmp is a Folder containing all extracted DAT. @set APP_URL=http://localhost:44499 @set FILE_NAME="D:\MySystem\Exports Site\Wiki.cmp\" @SET STSADM="c:\program files\common files\microsoft shared\web server extensions\12\bin\stsadm.exe" %STSADM% -o import -url %APP_URL% -filename %FILE_NAME% -includeusersecurity Pause And I always get The file D:\MySystem\Exports Site\Wiki.cmp" -includeusersecurity does not exist.Daniel Siconnelli There is neither good nor evil... only mogwais and gremlins
July 5th, 2010 9:00pm

Hi Dan, Using -nofilecompression on export means you it must be used on import and the filename is the foldername Reference http://technet.microsoft.com/en-us/library/cc261866(office.12).aspx -IvanIvan Sanders My LinkedIn Profile, My Blog, @iasanders.
Free Windows Admin Tool Kit Click here and download it now
July 5th, 2010 10:26pm

Hello Dan, Lets make it a bit simpler. Please try to export the site/subsite using following extension PortailMapaqFonctionnel.cmp i.e. the command will be STSADM -o export -url http://localhos:12345 -filename E:\PortailMapaqFonctionnel.cmp -overwrite -versions 3 -nofilecompression while importing this content, there will be only change in "import" instead of "export" and new URL. No need to mention version and filecompression while import. Hope this helps, Regards, RC
July 6th, 2010 2:17pm

HI Rohan, Incorrect if you use the parameter -nofilecompression on export then you need to use the parameter -nofilecompression on import. This lets stsadm know that the filename PortailMapaqFonctionnel.cmp is not a fileName but a folderName PortailMapaqFonctionnel.cmp... If you are unsure of the answer please test... -IvanIvan Sanders My LinkedIn Profile, My Blog, @iasanders.
Free Windows Admin Tool Kit Click here and download it now
July 6th, 2010 9:58pm

Hello Ivan and Dan actually I wanted to say that the version and filecompression are optional for the command but un-intentionally written something else. :) Thanks for correcting.. :) Regards, RC
July 7th, 2010 2:45pm

No worries, Happens to me all the time... -IvanIvan Sanders My LinkedIn Profile, My Blog, @iasanders.
Free Windows Admin Tool Kit Click here and download it now
July 7th, 2010 7:12pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics