Moving up Web applications on different server
>> Saturday, June 16, 2012
Moving up Web applications on different server
Hello guys,
I have windows 2003 server and all the internet related applications installed on it. Now I wanted to maintain one more server with some of the application of the previous server, hence the current situation is i wanted to move some specific Web applications from old server to new server.
for installing the server all I need the installation documentation, and for rebuilding an web application should I just copy entire Inetpub and database from old server to new server?
Any suggestions would be appreciated..
#2
23-10-2008
Golfert
Member
Join Date: Apr 2008
Posts: 156
Hi,
Have you taken content database backup of your web application and restore it on destination and attach the database by using command line tool.
If yes please let me know.
#3
23-10-2008
Pageous
Member
Join Date: Apr 2008
Posts: 142
Yes, I have taken the back up of my previous server, just explain me the further steps
#4
23-10-2008
Golfert
Member
Join Date: Apr 2008
Posts: 156
so, here are the steps:
Steps required moving web application is defined below:
Step # 1: Identify Content Database (s) of Web Application
* Open MOSS 2007 Central Administration
* Go to "Application Management" Tab and Click link "Site Collection List"
Step # 2: Content Database Backup
* After identifying the content database in the previous step, take the identified database backup by using SQL Server 2005 Management Studio.
Step # 3: Restore Content Database on Destination Server
* Logged into Destination Server and restore content database by using SQL Server 2005 Management Studio
Step # 4: Create New Web Application on Destination Server
* Open MOSS 2007 Central Administration on destination server.
* Go to "Application Management" Tab and Click link "Create or extend Web Application" under "SharePoint Web Application Management".
* Next Screen click "create a new web application".
Step # 5: Detach/Remove Content Database of Web Application
* Click "Content Databases" under "SharePoint Web Application Management" on Application Tab.
* Next Page, Select you’re newly created web application and then click content database as shown in the figure below.
Note: Normally content database name is WSS_Content_[GUID].
* Next Page, Choose "Remove Content Database", you will get a warning message.
* Click "OK".
See figure below:
* Click "OK" button at the bottom of the page to remove content database.
Step # 6: Attach Content Database of Web Application
* Now there is no content database associated with web application.
* In order to attach content database restored on Step # 3, we will use command line tool.
* Open Command Prompt, navigate to folder "C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN\"
Run the following Command:
stsadm -o addcontentdb -url [http://webapplication:port] -databasename [WSS_Content_GUID] -databaseserver [Database Server Instance]
* Replace URL, databasename and database server name according to your scenario.
* After running the command you will get a message “Operation completed successfully”.
* Now restart IIS by running IISRESET Command on command prompt.
0 comments:
Post a Comment