<?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>Dave Hildebrand.com &#187; Sharepoint Server 3.0</title>
	<atom:link href="http://www.davehildebrand.com/tag/sharepoint-server-30/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.davehildebrand.com</link>
	<description>The IT Crowd</description>
	<lastBuildDate>Sun, 05 Sep 2010 06:25:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Moving WSS 3.0 Databases</title>
		<link>http://www.davehildebrand.com/2008/11/18/moving-wss-30-databases/</link>
		<comments>http://www.davehildebrand.com/2008/11/18/moving-wss-30-databases/#comments</comments>
		<pubDate>Tue, 18 Nov 2008 23:42:19 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Tech Help]]></category>
		<category><![CDATA[Sharepoint Server 3.0]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.davehildebrand.com/?p=164</guid>
		<description><![CDATA[WSS 3.0 uses Microsoft SQL Embedded Edition (MSEE) for its data store. When MSEE is installed, the data files are installed to your C: drive by default. Since you do not want to have a file on your system drive that can grow exponentially, you need to move it to another drive. Here is how [...]]]></description>
			<content:encoded><![CDATA[<p>WSS 3.0 uses Microsoft SQL Embedded Edition (MSEE) for its data store.  When MSEE is installed, the data files are installed to your C: drive by default.  Since you do not want to have a file on your system drive that can grow exponentially, you need to move it to another drive.  Here is how you do it.</p>
<p><em>Note: While completing this process your WSS site will be offline to your users.</em></p>
<ol>
<li>Shutdown all Windows Sharepoint services &#038; IIS Admin service:  This will ensure that there are no locks on the files you need to move.</li>
<li>Open a cmd prompt and cd to <em>C:\Program Files\Microsoft SQL Server\90\Tools\binn</em></li>
<li>Enter <em>sqlcmd -S \\.\pipe\mssql$microsoft##ssee\sql\query -E</em>: This starts the Microsoft SQL Server 2005 Command Line Query Utility</li>
<li>Enter the following commands to view the available databases &#038; hit Enter after each:</li>
<ul>
<li>SELECT name from sysdatabases</li>
<li>GO</li>
</ul>
<p>You should see a number of DBs, move the following 4 databases (GUID&#8217;s may be different):</p>
<ul>
<li>SharePoint_Config_c464b7ce-59ef-4820-9f75-f46a0937c08e</li>
<li>SharePoint_AdminContent_451452bf-9dc0-40c9-be18-14f14bc23007</li>
<li>WSS_Search_NETSERVER_86a140c5958d4a5d97c8c2cbee745424</li>
<li>WSS_Content</li>
</ul>
<li>Enter the following commands &#038; hit Enter after each line.  Repeat for each database.
<ul>
<li>EXEC sp_detach_db @dbname = &#8216;<em>Content_Database_name&#8217;</em></il></p>
<li>GO</li>
</ul>
</li>
<li>Move the databases to their new location.  They can be found in <em>C:\Windows\SSQL\Data\<dbname>.mdf</em> and <em><dbname>_log.ldf</em></li>
<li>After the files have been moved run the following commands (Make sure to change the itialic sections to your specifics):</li>
<ul>
<li>EXEC sp_attach_db @dbname = &#8216;<em>Content_Database_name</em>&#8216;, @filename1 = &#8216;<em>drive:\path\Data\<dbname>.mdf&#8217;</em>, @filename2 = &#8216;<em>drive:\path\Data \<dbname>_log.ldf&#8217;</em></li>
<li>Go</li>
</ul>
<li>Repeat step 7 for each database you moved.</li>
<li>Restart IIS Admin services and all Windows Sharepoint services</li>
<li>Ensure your Sharepoint site is working</li>
</ol>
<p>If this is done before you build your site it will take no time at all to move the DBs to the new location.  </p>
]]></content:encoded>
			<wfw:commentRss>http://www.davehildebrand.com/2008/11/18/moving-wss-30-databases/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
