<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Gabe Hilado&#039;s SharePoint &#38; ASP.NET Blog &#187; Backup</title>
	<atom:link href="http://spdeveloper.net/tag/backup/feed/" rel="self" type="application/rss+xml" />
	<link>http://spdeveloper.net</link>
	<description>Microsoft, SharePoint, ASP.NET, Software Solutions</description>
	<lastBuildDate>Thu, 29 Sep 2011 15:13:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Summary of some basic STSADM commands</title>
		<link>http://spdeveloper.net/2009/04/summary-of-some-basic-stsadm-commands/</link>
		<comments>http://spdeveloper.net/2009/04/summary-of-some-basic-stsadm-commands/#comments</comments>
		<pubDate>Fri, 03 Apr 2009 17:44:00 +0000</pubDate>
		<dc:creator>Gabe Hilado</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Backup]]></category>
		<category><![CDATA[Export]]></category>
		<category><![CDATA[Import]]></category>
		<category><![CDATA[Restore]]></category>
		<category><![CDATA[STSADM]]></category>

		<guid isPermaLink="false">http://spdeveloper.net/?p=4</guid>
		<description><![CDATA[I told you about the WSS 2.0 upgrade that I did yesterday. I had to rely on good old &#8220;STSADM&#8217; to extract the data out of the WSS 2.0 environment and restore it in WSS 3.0. For WSS 3.0 and MOSS 2007, STSADM can be be found in the 12-hive bin folder, which is typically [...]]]></description>
			<content:encoded><![CDATA[<p>I told you about the <a href="http://www.spdeveloper.com/2009/04/upgraded-customers-wss-20-to-wss-30.html">WSS 2.0 upgrade that I did yesterday</a>. I had to rely on good old &#8220;STSADM&#8217; to extract the data out of the WSS 2.0 environment and restore it in WSS 3.0. For WSS 3.0 and MOSS 2007, STSADM can be be found in the 12-hive bin folder, which is typically located at <em>C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN</em>. For WSS 2.0, STSADM can be found in <em>C:\Program Files\Common Files\Microsoft Shared\web server extenstions\60\BIN</em>.</p>
<p>If you want a straight and fast backup and restore, use the stsadm backup and restore operations.</p>
<p>To back up a site, go to the 12-hive bin folder and type the following command:</p>
<p><span style="font-family:courier new;">stsadm -o backup -url </span><a href="http://mysite/"><span style="font-family:courier new;">http://mysite</span></a><span style="font-family:courier new;"> -filename myfile.dat</span></p>
<p>Then to restore your backup, use the following command:</p>
<p><span style="font-family:courier new;">stsadm -o restore -url </span><a href="http://mysite/"><span style="font-family:courier new;">http://mysite</span></a><span style="font-family:courier new;"> -filename myfile.dat</span></p>
<p>Notes about using STSADM backup and restore commands:</p>
<ol>
<li>Security settings (owners and permission levels) and other user-informated (Created By and Modified By fields) will carry over when you restore it.</li>
<li>This is faster than using STSADM export/import operations.</li>
<li>You can only do this on a top-level site. Say you want to get a subsite inside your site-collection, forget it&#8211;this operation can only get that subsite by backing up and restoring the whole site collection.</li>
<li>Point is, backup/restore is not granular. It&#8217;s an all-or-nothing backup and restore of a site collection.</li>
</ol>
<p>If you want to get &#8216;somewhat&#8217; granular, you can use STSADM export/import command. I say &#8216;somewhat granular&#8217; because you can&#8217;t really drill down to list or library level. But if you have many subsites and you just want to backup and restore (or migrate) a few, then STSADM export/import will be for you.</p>
<p>To export a sub-site, go to the 12-hive bin folder and type the following command:</p>
<p><span style="font-family:courier new;">stsadm -o export-url </span><a href="http://myserver/mysite"><span style="font-family:courier new;">http://myserver/mysite</span></a><span style="font-family:courier new;"> -filename myfile.dat</span></p>
<p>Then to &#8220;restore your backup&#8221;, use the import command:</p>
<p><span style="font-family:courier new;">stsadm -o import-url </span><a href="http://myserver/mysite"><span style="font-family:courier new;">http://myserver/mysite</span></a><span style="font-family:courier new;"> -filename myfile.dat</span></p>
<p>Notes about STSADM export/import command:</p>
<ol>
<li>Slower than using backup/restore</li>
<li>Security settings and other user information (Last Modified By, Created By, etc.) do not carry over to the new site. I didn&#8217;t had a chance to test this operation with a site that uses some type of approval workflow&#8211;I don&#8217;t think the &#8220;Assigned To&#8221; properties will stick with export/import simply based on the observed behavior on standard documents and list libraries.</li>
<li>Yes, you can export a sub-site so that you don&#8217;t have to export the whole site-collection. But you can&#8217;t export a library or list or document. You say &#8220;why not just template the site and include the content in the template&#8221;. You got size-limitations there bud and you won&#8217;t be able to &#8216;template&#8217; a site and include its content if the library or list has too many files.</li>
</ol>
<p>By the way, I&#8217;ve only shown examples using the required parameters -url and -filename. There are other optional paramters to use when using these STSADM commands. For full details, visit the Microsoft page <a href="http://technet.microsoft.com/en-us/library/cc263384.aspx">Index of STSADM Operations and properties (Office SharePoint Server)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://spdeveloper.net/2009/04/summary-of-some-basic-stsadm-commands/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgraded a customer&#8217;s WSS 2.0 to WSS 3.0</title>
		<link>http://spdeveloper.net/2009/04/upgraded-a-customers-wss-2-0-to-wss-3-0/</link>
		<comments>http://spdeveloper.net/2009/04/upgraded-a-customers-wss-2-0-to-wss-3-0/#comments</comments>
		<pubDate>Fri, 03 Apr 2009 02:05:00 +0000</pubDate>
		<dc:creator>Gabe Hilado</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Backup]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[Migration]]></category>
		<category><![CDATA[Restore]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Upgrade]]></category>
		<category><![CDATA[WSS 2.0]]></category>
		<category><![CDATA[WSS 3.0]]></category>

		<guid isPermaLink="false">http://spdeveloper.net/?p=3</guid>
		<description><![CDATA[It&#8217;s been a while since I&#8217;ve worked with WSS 2.0. I have a customer (a friend of mine) who is still running a WSS 2.0 in his business. He runs a small shop and doesn&#8217;t have a full-time person to take care of this network and applications. Well, one time he had a FT person [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a while since I&#8217;ve worked with WSS 2.0. I have a customer (a friend of mine) who is still running a WSS 2.0 in his business. He runs a small shop and doesn&#8217;t have a full-time person to take care of this network and applications. Well, one time he had a FT person but that person left and he&#8217;s managing this servers with some help from a PT person.</p>
<p>The WSS 2.0 environment has &#8220;moved around&#8221; a lot. The front-end and SQL backend has been toasted at least once and the environments had to be recreated from scratch. The only backups they had were SQL backups. The SQL backups were okay.</p>
<p>Now, he wants that WSS 2.0 upgraded to WSS 3.0. I thought, well, this should be easy&#8211;only one Web front-end and one SQL server. Also, he had no intention of keeping WSS 2.0. So, just do an in-place upgrade, and it should be done, right?</p>
<p>Well, I ran into problems when I did the pre-upgrade scan prior to running the WSS 3.0 Configuration Wizard. You&#8217;re supposed to run the pre-upgrade scan tool prior to upgrading WSS 2.0 sites to WSS 3.0. Otherwise, if you run the Configuration Wizard without running the prescan tool, you will get:</p>
<p><span style="font-family:courier new;font-size:85%;">Configuration Failed.<br />
One or more configuration settings failed. Completed configuration settings will not be rolled back. Resolve the problem and run this configuration wizard again.</span></p>
<p>To run the prescan tool, go to <em>C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Bin</em> and execute the following command:</p>
<p><span style="font-size:85%;"><span style="font-family:courier new;">prescan.exe /all</span><br />
</span><br />
(For more details, see the <a href="http://support.microsoft.com/kb/938216">Microsoft KB article 938216</a>. )</p>
<p>When I ran the prescan tool, I encountered errors and it says on the log file:</p>
<p><span style="font-family:courier new;font-size:85%;">Upgrade has encountered one or more lists that were not updated by Prescan.exe and must exit. The most likely reasons for Prescan to skip a list are covered in the Knowledge Base article at: </span><a href="http://go.microsoft.com/fwlink/?linkid=69958&amp;clcid=0x409"><span style="font-family:courier new;font-size:85%;">http://go.microsoft.com/fwlink/?linkid=69958&amp;clcid=0&#215;409</span></a><span style="font-family:courier new;font-size:85%;"> (http://go.microsoft.com/fwlink/?linkid=69958&amp;clcid=0&#215;409) For more information about the lists that are not upgraded, see the upgrade log file.</span></p>
<p>It seemed like there were orphaned objects. I told you, this WSS 2.0 had been recreated a few times and they used SQL backups to restore the contents. Things have been orphaned or convoluted along the way. Oh yeah, the Web front-end server also had several (non-WSS) virtual sites that were running on port 80; they were differentiated only via the use of host-headers. I couldn&#8217;t find the orphaned objects to drop and realized that the I&#8217;m stuck and couldn&#8217;t proceed with the upgrade. I spent an hour performing the recommendations on how to <a href="http://support.microsoft.com/kb/923904">repair/remove orphaned lists</a> and then I stopped.</p>
<p>So here&#8217;s what I did instead:</p>
<ol>
<li>Backed up the WSS 2.0 site collection using stsadm</li>
<li>I restored the WSS 2.0 site collection in a different environment/farm. I used my home lab environment for this.</li>
<li>I then upgraded my home lab WSS 2.0 to WSS 3.0.</li>
<li>I backed up the WSS 3.0 site collection using stsadm. Now I have the site upgraded to WSS 3.0.</li>
</ol>
<p>Only thing I have left to do is cleanup the Web front end server at my customer&#8217;s site and re-install WSS 3.0 without the upgrade option. Once WSS 3.0 is installed and configured, I can restore the site collection. I&#8217;ll do that tomorrow.</p>
<p>Sometimes, you just have to do what you have to do to get the job done. <img src='http://spdeveloper.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://spdeveloper.net/2009/04/upgraded-a-customers-wss-2-0-to-wss-3-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

