Database restore, both from same and different server
- From: "timmerman.9@xxxxxxxxx" <timmerman.9@xxxxxxxxx>
- Date: 7 Apr 2006 12:04:59 -0700
Here's the problem.
Production WSS is working, but a web part has a memory leak. In order
to try and debug, I am trying to restore content database from
production to a development server. Development server is fairly new
and only had a few test sites created by hand, not the 3-4 hundred in
production. I've had all kinds of problems trying to restore this
data. Here is the setup.
PRODUCTION
WSS SP1 with security fix on Server 2003 Standard with 1 virt server
running site (2GB memory 3.4 Xeon HP server)
SQL server 2000 exclusively for SharePoint
DEVELOPMENT
WSS SP2 on Server 2003, Pentium M laptop with 1GB memory and SQL Server
2000
Production is fine except for a poorly written web part. My problem is
restoring db from production to development. Here is what I have done
so far:
(SQL Server 2000 SP4 already installed)
1) Backed up both Config and Content database from production
2 Restored back up content db over top of a default content db created
when first virtual server extended (that virtual server was removed, so
just reused db) I'm not really familiar with SQL Server, so this might
have been a mistake
3) Installed WSS SP2
4) This automatically extended a default virtual server (fine)
5) I kept default config db (was this smart?) and just tried to add the
new content db that I just restored
5) Received the following error message
The account being used by Windows SharePoint Services to connect to
database 'STS_standard-zzwskt_1_25040' on server
'STANDARD-ZZWSKT\SharePoint' is not the database owner (DBO). For more
information, please refer to Knowledge Base article 841216 at
http://go.microsoft.com/fwlink/?LinkId=45207.
Looked over KB article. Searched group here and read about every
discussion about restoring databases. I am using an AppPool with
Windows Authentication and Network Service as the account. Since this
is the only thing running, I didn't see this as a big issue. The KB
article states as long as you give Network Service rights in SQL server
(which I did) this should work.
Then I remember (I was not in on initial production deployment so this
didn't cross my mind at first) that Production is SP1 and dev is SP2.
I attempt to use the stadmin to force the upgrade, but wait, the
database I want to upgrade is not attached to SharePoint so nothing
happens.
So, I start over and uninstall WSS SP2 and reinstall WSS SP1. When I
try and install security fix for SP1 (to get to same version as
production), it states that the fix is already installed. I look, and
somehow WSS is still SP2, not SP1 even though that is what I downloaded
and installed. During installation there were some files that were
being copied for which newer versions already existed, but I told it to
overwrite anyway. So, I'm still stuck with SP2 on dev and need to
restore my SP1 database.
Ok, now I decide to make sure that I can at least restore the backup I
made of the dev WSS content db before all this started. When I try and
restore this, I get the exact same error as above, even though this db
was created on this machine, is same version, and has dbo as
administrator.
I did all this work while as local administrator to the server. I'm
at a loss and banging my head against the wall since I can't even add
the content db that was made on this machine.
I have a feeling it has to do with the AppPool settings/ using Network
Services for the restore of db from same machine. However, the restore
from prod server could be something else.
I've only been working with SharePoint for about 3-1/2 months so
I'm still trying to understand all its little intricacies. If more
information is needed (I thought I would stop here since it's long
enough already), let me know and I'll provide. Thanks for all the
help.
Adam
.
- Follow-Ups:
- Re: Database restore, both from same and different server
- From: timmerman.9@xxxxxxxxx
- Re: Database restore, both from same and different server
- Prev by Date: Re: Sharepoint pick the QuickTime to open my tif file
- Next by Date: Join two lists in SharePoint for one view of data
- Previous by thread: Creating an ASP.NET V2 web application using WSS
- Next by thread: Re: Database restore, both from same and different server
- Index(es):
Relevant Pages
|