<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>sharepointers : export</title><link>http://blogs.msdn.com/skelley/archive/tags/export/default.aspx</link><description>Tags: export</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>stsadm import / export missing content</title><link>http://blogs.msdn.com/skelley/archive/2007/07/12/stsadm-import-export-missing-content.aspx</link><pubDate>Thu, 12 Jul 2007 21:52:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3840299</guid><dc:creator>skelley</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.msdn.com/skelley/comments/3840299.aspx</comments><wfw:commentRss>http://blogs.msdn.com/skelley/commentrss.aspx?PostID=3840299</wfw:commentRss><description>&lt;p&gt;in sharepoint v3, the tool&amp;nbsp;stsadm has an operation for importing and exporting sites and/or webs. it is the replacement for smigrate from v2.&lt;/p&gt; &lt;p&gt;so say you want to move a web to a different site collection, you would need to use this tool.&lt;/p&gt; &lt;p&gt;&lt;strike&gt;unfortunately there seems to be a bug in the import / export operations. &lt;/strike&gt;&lt;/p&gt; &lt;p&gt;&lt;strike&gt;it's a rather nasty bug too that will move most of your content but not everything, making it extremely difficult to detect.&lt;/strike&gt;&lt;/p&gt; &lt;p&gt;&lt;strike&gt;for example you might have a document library with 20 files but only 5 of them get moved, all without any obvious notices in the log files.&lt;/strike&gt;&lt;/p&gt; &lt;p&gt;&lt;strike&gt;the only way you would even know that it was not a complete import is if you knew the contents you were expecting to show up.&lt;/strike&gt;&lt;/p&gt; &lt;p&gt;&lt;br&gt;&lt;/p&gt; &lt;p&gt;when exporting content you should use the following switches:&lt;/p&gt; &lt;p&gt;&lt;b&gt;stsadm -o export -url &amp;lt;url&amp;gt; -filename &amp;lt;filename&amp;gt; -includeusersecurity -versions 4&lt;/b&gt;&lt;/p&gt; &lt;p&gt;when importing that content you should try using:&lt;/p&gt; &lt;p&gt;&lt;b&gt;stsadm -o import -url &amp;lt;url&amp;gt; -filename &amp;lt;filename&amp;gt; -includeusersecurity&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;this has worked for me and my export / imports have&amp;nbsp;been much more successful then without those switches, but you should still try to&amp;nbsp;verify this for yourself as well.&lt;/p&gt; &lt;p&gt;if you're simply move a site collection to a different location you can use stsadm backup / restore which seems to be a little bit more reliable at this point.&lt;/p&gt; &lt;p&gt;&lt;strike&gt;a bug has been filed for this problem&amp;nbsp;and&amp;nbsp;the wheels are in motion to help fix this thing &lt;/strike&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;UPDATE: &lt;/b&gt;apparently this is not a bug and is by design. if there are documents which are not a published major version or draft copies, they will not be backed up unless you use the -versions 4 switch. it's likely that in almost all cases you will want to use this switch to ensure all content is migrated.&lt;br&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=3840299" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/skelley/archive/tags/stsadm/default.aspx">stsadm</category><category domain="http://blogs.msdn.com/skelley/archive/tags/export/default.aspx">export</category><category domain="http://blogs.msdn.com/skelley/archive/tags/import/default.aspx">import</category></item></channel></rss>