1 Migrating SharePoint Databases In Windows SharePoint Services By Robert Crane Computer Information Agency
2 Terms This guide from the Computer Information Agency is provided as is. Every effort has been made by the author to ensure that information provided is correct however this cannot be guaranteed. By using this guide you also acknowledge that any work performed on production systems is a potentially dangerous act and may involve significant business risk and downtime. You hereby agree to release, waive and discharge the Computer Information Agency and/or the author from any liability incurred to yourself, your business or customers for any and all loss or damage, and any claims or demands therefore on account of problems arising from the use of this guide. By using this guide you hereby assume full responsibility for any risk to computer systems, now and forever arising out of, or related to the use of this guide on any computer system. Distribution and Duplication Guidelines This document is copyright by the Computer Information Agency. This work is licensed under a Creative Commons Attribution-NoDerivs 3.0 Unported License. You are free: to Share to copy, distribute and transmit the work to make commercial use of the work Under the following conditions: Attribution You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work). No Derivative Works You may not alter, transform, or build upon this work. With the understanding that: Waiver Any of the above conditions can be waived if you get permission from the copyright holder. By using this guide you agree to these terms.
3 It is possible to move the SharePoint content databases from one version of SQL to another via a simple detach and reattach. For most SQL databases the processes detailed here will be identical, however in this case we have chosen to illustrate the database migration from Microsoft SQL Embedded Edition (SSEE) to Microsoft SQL 2005 Express. Login to the SharePoint server console as an Administrator. Select Start Administrative tools SharePoint 3.0 Central Administration. When this screen appears select the Application Management tab.
4 On the Application Management screen click on Content Databases which is located under the SharePoint Web Application Management section.
5 On the Manage Content Databases screen locate the Web Application option in the top right of the screen. Ensure that it currently displays the correct SharePoint site from which you wish to migrate. If not then click in the Web Application setting.
6 To change the web application click the Web Application field and then select Change Web Application from the pull down that appears.
7 From the list of SharePoint sites that appears select the desired one. In this case SharePoint 80.
8 The content database name for this SharePoint application should now be displayed (in this case WSS_Content). Again, ensure that the Web Application in the upper right is displaying the SharePoint from which you wish to migrate the database. Take a note of the content database name because you will need to locate this database on the source SQL server. Click on the content database name to configure.
9 In the Manage Content Database settings screen that appears locate the option Remove Content Database and place a check in the box. Immediately upon doing this you will receive a warning like the one shown above. Select the OK button and you will return to the Manage Content Database Settings page. Ensure there is a tick in Remove content database and press the OK button.
10 You should now see no Content databases listed for your SharePoint site.
11 Select Start Administrative Tools Services. Locate the Windows SharePoint Services Administration service. Right mouse click and select Stop from the menu that appears.
12 Next, run the graphical administration tools for the version of SQL you have installed on the source database server. Connect to the SQL database server. In this case because we are connecting to Microsoft SQL Server Embedded Edition the connection database name is \\.\pipe\mssql$microsoft##ssee\sql\query.
13 Expand the Databases folder and locate the source content database that you noted previously (in this case WSS_Content). Right mouse click this database and Select Tasks Detach from the menu that appears.
14 Click the OK button to detach the database. If you see something in the message field it normally indicates there is still a connection to that database. This normally means the SharePoint Server Administration service has not been shut down. To force the database to detach (not recommended) place a check mark in the first box called Drop Connections. Press OK to detach the database from this version of SQL server.
15 During the detachment process you should see the word Executing appear in the lower left of the windows along with a green snake indicating the command is being processed.
16 When the database has been detached you will be returned to the main management window. You should now not that the database you detached no longer appears in the list. Close this version of the SQL management tools.
17 If you plan to relocate the content database files to another location or another server you will need to open Windows Explorer and locate the SQL data directory. In this case, because the source database is Microsoft SQL Server 2005 Embedded Edition the data files are located in c:\windows\sysmsi\ssee\mssql.2005\mssql\data. Ensure you relocate both the.mdf and LDF files for the content database (in this case WSS_Content.mdf and WSS_Content_log.lef).
18 Once the content database files have been relocated into the new destination take note of their location in the file system for the attachment process into the destination SQL database server.
19 Launch the graphical SQL management tools for the destination SQL server and connect to the desired database server (in this case WIN2003ENT\OFFICESERVERS). Press the Connect button.
20 Locate the Databases folder and right mouse click on the folder. Select Attach from the menu that is displayed.
21 At the Attach Databases window select the Add button.
22 Locate the copied destination content database in the file system, select it and press the OK button.
23 Press the OK button to commence the database attachment process.
24 While the process is running you will see the word Executing in the lower left of the screen as well a green snake indicating the command is processing.
25 When the process is complete you should see the destination content database appear under the Databases folder (in this case WSS_Content). Close the SQL Management tool window.
26 Now go to the command prompt via Start Run CMD. Change to the directory c:\program files\common files\microsoft shared\web server extensions\12\bin. At the command prompt type the following: In this case Stsadm o addcontentdb url -databaseserver <Destination_SQL_Server> -databasename <destination_content_database> Stsadm o addcontentdb url -databaseserver win2003ent\officeservers -databasename WSS_Content And press Enter. The syntax used for different versions of SQL server may vary but it is generally of the form <Server_name/SQL_instance_name>
27 When this process has completed return to the Services windows and right mouse click on the Windows SharePoint Services Administration service and select Start from the menu that appears. Close the Services window.
28 If you now return to the SharePoint 3.0 Central Administration Application Management Content Databases you should see the database displayed for the SharePoint again. Remember that you may need to select the correct SharePoint site from the upper right or refresh the page if you have not done so already. Click on the content database name to configure its settings.
29 Ensure that the Search Server has been set for this content database by simply pulling down from the selection list and selecting a server. Typically there will only be one. You should also notice at the top of the server that the Database server is now different from what it was previously (in this case it now reads WIN2003ENT\OfficeServers instead of WIN2003ENT\Microsoft##SSEE). Press the OK button once any configuration changes have been made.
30 Finally ensure that the SharePoint web site displays correct by viewing it in a browser. Since you have changed the database server for this site you may also wish to set the default database server for any new SharePoint site to point to the same location. Use the following to complete this process.
31 Select Start Administrative Tools SharePoint V3 Administration. Then select the Operations tab. Select the option Default database server under the Data Configuration heading.
32 Change the Content Database Server to the new server value.
33 In this case it was changed to WIN2003ENT\officeservers. This now means any new SharePoint content databases that are created will reside on this server.
34 Author Robert Crane BE MBA MCP Robert has a degree in Electrical Engineering as well as Masters of Business Administration. He is also a Small Business Specialist and Microsoft Certified SharePoint Professional. In 2012 he was awarded the Microsoft Most Valuable Professional (MVP) title for his work with Office 365. Robert has over 15 years of IT experience in a variety of fields and positions, including working on Wall St in New York. He is the founder and principal of the Computer Information Agency. Apart from resolving client technical issues, Robert continues to present at seminars as well as write on a number for topics. He can be contacted via
Getting Started with SharePoint Online for Small Business By Robert Crane Computer Information Agency http://www.ciaops.com Terms This Guide from the Computer Information Agency is provided as is. Every
Getting Started with Companyweb By Robert Crane Computer Information Agency http://www.ciaops.com Index What is Companyweb? Page 2 What does this document contain? Page 3 How can I use Companyweb? Page
SharePoint Backup Guide for Microsoft Windows Backing up and restoring SharePoint sites and content databases using Attix5 Pro. Copyright notice and proprietary information This User Manual is published
Contents Preparing to create a Microsoft SQL backup policy... 2 Adjusting the SQL max worker threads option... 2 Preparing for Log truncation... 3 Best Practices... 3 Microsoft SQL Server 2005, 2008, or
Online Backup by Mozy Restore Common Questions Document Revision Date: June 29, 2012 Online Backup by Mozy Common Questions 1 How do I restore my data? There are five ways of restoring your data: 1) Performing
User Guide BackupAssist User Guides explain how to create and modify backup jobs, create backups and perform restores. These steps are explained in more detail in a guide s respective whitepaper. Whitepapers
Moving the TRITON Reporting Databases Topic 50530 Web, Data, and Email Security Versions 7.7.x, 7.8.x Updated 06-Nov-2013 If you need to move your Microsoft SQL Server database to a new location (directory,
SQL Server Protection Contents 1. Introduction... 2 Documentation... 2 Licensing... 2 The benefits of using the SQL Server Add-on... 2 Requirements... 2 2. SQL Protection overview... 3 User databases...
Using SMIGRATE to Backup, Restore and Migrate Team Sites in SharePoint Products and Technologies 2003 Introduction In the last paper, I looked at using the STSADM command to backup and restore either an
SOS Suite Installation Guide rev. 8/31/2010 Contents Overview Upgrading from SOS 2009 and Older Pre-Installation Recommendations Network Installations System Requirements Preparing for Installation Installing
Metalogix SharePoint Backup Publication Date: August 24, 2015 All Rights Reserved. This software is protected by copyright law and international treaties. Unauthorized reproduction or distribution of this
Samsung Auto Backup User Manual [Rev. 06 06/05/2009 Samsung Auto Backup User Manual First edition October 2008 This revision - 05] Copyright 2008 Clarus, Inc. All Rights Reserved. No part of this document
Upgrading to Document Manager 2.7 22 July 2013 Trademarks Document Manager and Document Manager Administration are trademarks of Document Logistix Ltd. TokOpen, TokAdmin, TokImport and TokExRef are registered
Version 4.61 or Later Copyright 2013 Interactive Financial Solutions, Inc. All Rights Reserved. ProviderPro Network Administration Guide. This manual, as well as the software described in it, is furnished
GP Reports Viewer Dynamics GP Reporting Made Easy GP REPORTS VIEWER USER GUIDE For Dynamics GP Version 2015 (Build 5) Dynamics GP Version 2013 (Build 14) Dynamics GP Version 2010 (Build 65) Last updated
ETS Major Field Tests Proctor Administrator Manual Updated: December 2010 Table of Contents Contents 1.0 WELCOME... 1 1.1 INTRODUCTION... 1 1.2 SYSTEM REQUIREMENTS AND SETTING-UP STUDENT WORKSTATIONS...
TOPS Internet Backup Service User Guide By TOPS Software, LLC Clearwater, Florida Document History Version Edition Date Document Software Trademark Copyright First Edition 09 2006 TOPS IBF AA 3.2.1 The
Dell Statistica 13.0 2015 Dell Inc. ALL RIGHTS RESERVED. This guide contains proprietary information protected by copyright. The software described in this guide is furnished under a software license or
TANDBERG MANAGEMENT SUITE 10.0 Installation Manual Getting Started D12786 Rev.16 This document is not to be reproduced in whole or in part without permission in writing from: Contents INTRODUCTION 3 REQUIREMENTS
ADOBE DRIVE CC USER GUIDE 2 2013 Adobe Systems Incorporated. All rights reserved. Adobe Drive CC User Guide Adobe, the Adobe logo, Creative Cloud, Creative Suite, Illustrator, InCopy, InDesign, and Photoshop
Using CRM Business Process Guide for All CRM Agents Table of Contents GETTING STARTED IN CRM...3 WHAT IS CRM?...4 ACCESSING CRM...5 CUSTOMIZE YOUR CASE VIEW...6 SHOW MY CASES ON HOME PAGE...8 SEARCHING
QuickStart Guide Welcome to the QuickStart Guide This QuickStart Guide provides the information you need to install and start using Express Software Manager. For more comprehensive help on using Express