Solved

Sharepoint server moving database

Posted on 2014-03-05
3
360 Views
Last Modified: 2014-03-06
HI All,

My current sharepoint 2007 is running on sql 2005.  I want to move the database to new SQL 2008 R2 version.  
Can someone help me with the steps to migrate from one server to another server for database pelase
0
Comment
Question by:romeiovasu
3 Comments
 
LVL 9

Expert Comment

by:Mohit Nair
Comment Utility
First  you need to check for the database files which means mdf and LDF. You can go to SQL Server Management Studio and right click on the database, than select properties, than go to Files, you will see two files displayed in a table on is MDF file and Log file , check the path ! go to that folder.  You need to copy both mdf and ldf files and move to the new server. Before you copy the file you should stop the SQL database engine services from services.msc.
Save this file in any location. Now go to management studio on the new server with 2008 instance and right click databases folder. Select attach and navigate to the place where u have the mdf file copied.
Perform the same step for all other databases.

The shortest and easiest way..
0
 

Author Comment

by:romeiovasu
Comment Utility
Then how can I point the sharepoint to new database.
0
 
LVL 38

Accepted Solution

by:
Justin Smith earned 500 total points
Comment Utility
Following mohit's steps above is only half the solution.  SharePoint needs to know the name of the new server.

The easiest thing to do is create a SQL Alias on your SharePoint machine.  You basically create an alias name for the existing server, and point it to the new server name.

http://sharepointpromag.com/sharepoint-administration/simple-guide-moving-sharepoint-content-databases-new-server
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

by Mark Wills Attending one of Rob Farley's seminars the other day, I heard the phrase "The Accidental DBA" and fell in love with it. It got me thinking about the plight of the newcomer to SQL Server...  So if you are the accidental DBA, or, simp…
Introduction: When running hybrid database environments, you often need to query some data from a remote db of any type, while being connected to your MS SQL Server database. Problems start when you try to combine that with some "user input" pass…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now