Move SharePoint Server


Move SharePoint Server

To move a SharePoint Portal to another MOSS Server this is as easy as the installation.

  1.     You must install MOSS on the new Server
  2.     Configure the server as you need it.
  3.     Create a new WebApplication.
  4.     Create a new SiteCollection
  5.     Backup the old portal with the following command stsadm –o backup –url http://yourportalurl/ –filename c:\temp\portal_backup.bak

           (stsadm tool can be found under C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN)

           6.       Copy the *.bak file to the new server

 N        7.   Now restore your *.bak file using the command stsadm –o restore –url http://yournewportalurl/ –filename c:\temp\portal_backup.bak –overwrite

8.       That’s it

I can’t believe at first that MS has made this so easy so I check all Sites after restoring, but everything seems to be OK.

So Thanks MS for this easy solution!!!




Posted Jan 16 2008, 03:16 PM by Nadine Storandt
Filed under: ,


Ash wrote re: Move SharePoint Server
on 02-04-2009 6:20

Hey that's pretty easy thanks.

What if you don't have access to the original server & only have it's database MDF & LDF files? How easy is it to restore these in a new SharePoint environment?

Nadine Storandt wrote re: Move SharePoint Server
on 02-04-2009 8:57

Hey Ash,

it is a easy as moving the sharepoint server :)

I was really surprised about it.

The only thing you must think about, it would be nice if the new server has the same name and same settings as the old one. Then you can install the SharePoint Server and have to made the basic configuration.

After that you can restore your SSP with the Database File of the SSP. Now you must only create a new WebApplication and link the old Content DB in the new Server. And that's it.

Ash wrote re: Move SharePoint Server
on 02-06-2009 0:22

Hey Nadine,

Sorry to bother you, but may be you can help me out?

We lost our standalone MS Office SharePoint 2007 intranet server (Windows Server 2003 blue screen of death which looks a total re-install job).

No backups were even done.....  

From the hard drive I recovered the SQL Server 2005 Express database files (MDF's & LDF's):








I have installed SharePoint on a test server, where I can attach the MDF files within SQL Server.

I've Google'd a number of websites on how to restore the data in to SharePoint, but the information seems contradictory... Some say restore the Config database 1st via the SharePoint Config wizard, others say to deploy a default Config database then restore the Content database via the command prompt after creating a default web app.

Either way, I run into errors...

At the command prompt I run:

stsadm -o addcontentdb -url http://<servername> -databasename wss_content -databaseserver <servername>

This produces the result:

The specified SPContentDatabase Name=wss_content Parent=SPDatabaseServiceInstance has been upgraded to a newer version of SharePoint. Please upgrade this SharePoint application server before attempting to access this object.

Can you please help me with some clear steps?

Any help very much appreciated!



Nadine wrote re: Move SharePoint Server
on 03-19-2009 16:46

Hey Ash,

sorry your post has been moved to spam :(

The problem that you ran into is that the new server does not have all Updates or patches that the old one has. You must install every Service Pack and Patch before you can attach the old Database.

If you want to know which version you have in the old DB have a look in the database SharePoint_Config in the Table Versions, here you find the actual Version of the portal.

And here is a link to a page where you can identify which patches and service packs you will need.


SugiLion wrote re: Move SharePoint Server
on 07-18-2009 22:47

Hi anyone help with wanting to change the computer name. When I do this I loose the cinfiguration databases ... looks like they are pointing to the old server name I guess?

Details help pleased (i.e. which menu optins in which administrator screen)

Thanks in advance :)


Thomas wrote re: Move SharePoint Server
on 10-06-2009 7:56

Hi and thanks for the article!

It solved my problem.



Velmurugan wrote re: Move SharePoint Server
on 08-26-2014 9:09

Your backup is from a different version of Windows SharePoint Services and canno

t be restored to a server running the current version. The backup file should be

restored to a server with version '' or later.

how to find the version?.please help me. is a .Net Community Blog powered by daenet GmbH.