Chris Crowe's Blog
Ramblings of an IIS MVP ( MVP Since 1997 )

Powered By IIS 7

Search my blog

Some of my readers



My Microsoft Certifications


Dec 15, 1998

Dec 20, 2000

Jan 31, 2001

Jul 22, 2002

Nov 1, 2004

My Microsoft MVP Awards




1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
mvp.support.microsoft.com

We are currently still running WSS 2003 SP2 at work and have not yet migrated. I have had a backup system in place for quite a while now and it was time for me to test the restoring of the backup to another box to make sure I can do it.

I had a test box called CCROWE-TEST that I was going to use to restore my data from the live system which was called NZC-AP-WSS-02

This server was running Windows 2003 Server Standard Edition with SP2 .

I downloaded the Windows SharePoint Services 2003 With SP2 Install from Microsoft.

http://www.microsoft.com/downloads/details.aspx?familyid=B922B28D-806A-427B-A4C5-AB0F1AA0F7F9&displaylang=en

I then planned to install this on the CCROWE-TEST server and then perform a backup of our live server using STSADM.EXE and restore it to the new install.

Sounds pretty simple really and in general I thought it would be.

I dbl click on the stsv2.exe which is the setup file for WSS 2003 SP2, which installs a SQL Server instance with the name of SHAREPOINT and installs the product.

After a few minutes the product is installed and now it is time to make sure my two versions of WSS are the same.

Going into Control Panel and selecting the Microsoft Windows Sharepoint Services 2.0 item I click on the support info link and get shown the following dialog.

I then do this on the live server and they both are the same - both returning 11.0.7960.0

On the new test server I go into the Sharepoint Central Administration web site in IIS and view the version of the default web site which has been configured for me.

As you can see the version is listed as 6.0.2.6568 - exactly the same version as my live server.

In order to use STSADM.EXE you must open a cmd.exe prompt and navigate to the following folder.

C:\Program Files\Common Files\Microsoft Shared\web server extensions\60\BIN

You can the run commands from the STSADM.EXE utility.

Running the utility without any parameters shows you some examples and usage:

Examples:
stsadm.exe -o addpath -url http://server/sites -type wildcardinclusion
stsadm.exe -o adduser
-url http://server/site
-userlogin DOMAIN\name
-useremail someone@example.com
-role reader
-username "Your Name"
-siteadmin
stsadm.exe -o backup -url http://server/site -filename backup.dat -overwrite
stsadm.exe -o createadminvs
-admapcreatenew
-admapidname StsAdminVs
-admapidtype configurableid
-admaplogin DOMAIN\user
-admapidpwd Password
stsadm.exe -o createsite -url http://server/site
-ownerlogin DOMAIN\name
-owneremail someone@example.com
stsadm.exe -o createweb -url http://server/site/web
stsadm.exe -o deletesite -url http://server/site
stsadm.exe -o deleteweb -url http://server/site/web
stsadm.exe -o enumsites -url http://server
stsadm.exe -o enumsubwebs -url http://server/site/web
stsadm.exe -o enumusers -url http://server/site/web
stsadm.exe -o extendvs -url http://server:80
-ownerlogin DOMAIN\name
-owneremail someone@example.com
stsadm.exe -o renameweb -url http://server/site/web1 -newname web2
stsadm.exe -o restore -url http://server/site -filename backup.dat
stsadm.exe -o setconfigdb -databaseserver server
stsadm.exe -o unextendvs -url http://server

I backed up my live server using a command like this

STSADM.EXE -o backup -url http://localhost -filename c:\backup.dat

This created me a file that I then copied to the new server.

When you restore you basically just change the operation from backup to restore.

STSADM.EXE -o restore -url http://localhost -filename c:\backup.dat

But Wait.....

You can not restore a backup over an existing site so I delete the existing site that was created by the installation using this command.

STSADM.EXE -o deletesite -url http://localhost

now I can restore my site so I use the restore command like this

STSADM.EXE -o restore -url http://localhost -filename c:\backup.dat

I receive a message that says:

Your backup is from a different version of Windows SharePoint Services and cannot be restored to a server running the current version.

OK so what have I done wrong, the versions are the same as I identified them?

Well it turns out that there was a patch for SharePoint in January that was for Daily Light Savings and also other things that I did not have installed.

Unfortunately this patch does not get added to the Add/Remove programs area, and it also does not update the version of the product that is installed!

I know most people will be now running WSS 2007, but this may help someone from wasting hours of time and frustration!

Note: I never did find a way to determine the version of the backup or the product!

posted on Tuesday, September 04, 2007 5:32 PM | Filed Under [ Windows Sharepoint Services ]

Comments


# re: Unable to restore backup from WSS 2003 SP2 to another server


Thanks for the tip - we are having the same problem.
Posted by Sharon Kittles on 10/11/2007 2:23 AM

# re: Unable to restore backup from WSS 2003 SP2 to another server

Gravatar
Install service pack 3 on both servers and then run the back up proceess again.
Delete the site collection and start the recover process. If you have not deleted the site collection stsadm will remind you that you have not.
Posted by Dennis Gibson on 10/11/2007 5:47 AM

# re: Unable to restore backup from WSS 2003 SP2 to another server

Gravatar
This restore worked great going from production to test server but now central administration page says access denied and does not allow me to log in.
Posted by Amy Herrera on 9/3/2008 9:12 AM

# re: Unable to restore backup from WSS 2003 SP2 to another server


Hi!
I've been trying to restore my WSS 2.0 sites to another server. My original WSS is patched with Service Pack 3, so is the new server. Again, both servers are the same - WSS 2.0 SP3 (6.0.2.8165), but I still cannot restore my sites (I do use stsadm) from the original to the new one. After running restore command, stsadm says all is ok, also there are no any warnings in the system log. When I try to access my site (on a new server), I'm getting an error: "Cannot complete this action. Please try again.". However, I can access site administration pages. I think the problem seems to be with the lists - they are not imported, or imported incorrectly.
Any help/suggestions?

Thanks.
Posted by Mike on 11/8/2008 1:28 AM

# re: Unable to restore backup from WSS 2003 SP2 to another server


I have got this error when I try to restore a site collection from sharepoint 2003 to sharepoint 2007.
"Your backup is from a different version of Windows SharePoint Services and cannot be restored to a server running the current version. The backup file should be restored to a server with version ‘6.0.2.8165′ or later"

Please suggest me what to do?

Thanks
Posted by Faisal on 9/8/2009 11:43 PM

# re: Unable to restore backup from WSS 2003 SP2 to another server

Gravatar
Thanks for sharing this tip.
Posted by Dentist Simi Valley on 9/22/2009 8:29 PM

Post Comment


Title *
Name *
Email
Url
Comment *  
Please add 7 and 5 and type the answer here: