Tuesday, 9 December 2014

Simple way to move content database of SharePoint 2010


I want to share a simple way to move content database of SharePoint 2012 from SharePoint Database to another.


 You know in some cases we do not want to take a lot of time to configure of a Web Application with already a lot of Site Collection and a lot of Sites.

The simple solution is replace the content of the configured database to the destination database. But with SharePoint 2010's content database, it not allow we restore as normal database.

So we must restore the needed content database to the destination's SharePoint Database then use Central Admin of SharePoint 2010 to remove the current then add the needed database into the web application the we want to run with.

Original Site Collection of a Team Site of SharePoint Server 2010 (Destination)


The Site collection of configured Team Site (the source need to move to destination)

Now we want the http://HR must use the content database of http://s:100
(Note both servers HR and S are standalone SharePoint Server)

 Here are list of steps to move content database from server S to Server HR

1. Backup the WWS_Content_100 database of a web application of server S

2. After copy the WSS_Content_100.bak to the HR server then restore to HR server, the new database location.

3. Click on Manage content databases of Application Management section of Central Administration

4. Click on WSS_Content to edit or remove it

 https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3GYGwzwFjMOSh54Vqnr8mEsa_-TpSnPZUoK8u6OSItmC0jC7Kf-ttwUMjEF0Ht3dZ2ItCLE4S1yHE_97X1fIa7IyobRjYp11lnYC57RuWGL5G8jmEVlh2npGxpPy9YfaLHfqtseBn1nF4/s1600/Click+on+WSS_Content+to+edit+or+remove+it.jpg

 5. Choose Remove content database then click OK

 https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhp3nZY9XbABSfXZiyQNKG2-EWFT4Yw0dCJtP8GHaLVjD0aWuwwI_-TgHIL-94dWqQzmEV7joE-yL-yZqi7m6FM1H3fZ_HJCSECoa3Ejj-1zGu5EzTnnC6bPEw7zXB6Xg-n90yk3XQzCu86/s1600/Choose+Remove+content+database+then+click+OK.jpg

6. Click on Add a content database to add a new database for the web application

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjF1eBeWKGrZ-feJDAij6fU9o1fnVZepeFeRWKs1H-flD3fGOtZeT4MDiudvYqUJWcoY1ZZPsBAZ3uSfK2mSqjQnCQW7tnD8J6xac2IPl5OzDCQclLL6ih1oK_knWAT2eneYhuBYVgpA4vd/s1600/Click+on+Add+a+content+database+to+add+a+new+database+for+the+web+application.jpg

7. Choose database  WSS_Content_100 then add to web application

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAlVI6GzxvD4eb0SnPOrB5dITN302oUia2MMPR4lHXkEOe8Js0Ws6ZUod5-c2wzSuCTXRLi5MbX88im33n-RgrUnxa-gRl3J0Jn08e4jT6zVMXITcmd0ixGmDyI1c30QyBTMxNV2q5DAdV/s1600/Choose+database++WSS_Content_100+then+add+to+web+application.jpg

8. The new database just add to a web application

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijuthsahNgswtfkwdcWobqZqRW9iownCD5jlKtdsxMpbZp07j8NAxkcOyKrZ7rdayVTvqZK_i2DiQm2gj_JdAHyS4KnERdqV1gMO9UFB7Hf5gSEoSPOY8A_erYRr2ffjgsEs-lK4EFiJ1v/s1600/The+new+database+just+add+to+a+web+application.jpg

 9. The moving database to the destination well



Reference:

http://sharepointtaskmaster.blogspot.in/2012/03/simple-way-to-move-content-database-of.html

No comments:

Post a Comment