Showing posts with label sp3. Show all posts
Showing posts with label sp3. Show all posts

Friday, March 9, 2012

Quick question about Server copying

Ok guys, it's my first day on a job, I need a quick answer, and I'm not a
full time DBA. Refresh my memory.
I have a SQL Server 2000 (SP3) server with multiple databases of uncertain
size (probably a few gig at least.) I need to duplicate this entire server
(all databases, users, permissions, everything) to a second server on a
nightly basis. Any changes to the second servers's data are irrelevant.
They are to be wiped out and replaced by the first.
What's the fastest way to do this? (At the moment, everyone else in the
office is leaning towards a backup-restore solution. Anything better that I
might be forgettting?)
Normally I'd be suggesting log-shipping, but in your case you want to take a
copy of the master database as well, which can't be log-shipped. So, you
could use backup and restore for the entire databases, assuming the second
server can maintain the same name. Coordination of the backups might become
crucial here if the databases are related eg logical FKs across databases.
This will also apply to replication where the coordination of distribution
backup and publisher backup will be required. Also, you'll need to consider
peripheral areas eg FTIs which will need rebuilding (taken care of in SQL
2005). You might be better off looking at a server-mirroring solution eg
DoubleTake for your requirements.
Rgds,
Paul Ibison
"B. Chernick" wrote:

> Ok guys, it's my first day on a job, I need a quick answer, and I'm not a
> full time DBA. Refresh my memory.
> I have a SQL Server 2000 (SP3) server with multiple databases of uncertain
> size (probably a few gig at least.) I need to duplicate this entire server
> (all databases, users, permissions, everything) to a second server on a
> nightly basis. Any changes to the second servers's data are irrelevant.
> They are to be wiped out and replaced by the first.
> What's the fastest way to do this? (At the moment, everyone else in the
> office is leaning towards a backup-restore solution. Anything better that I
> might be forgettting?)
|||On Apr 16, 2:58 pm, B. Chernick <BChern...@.discussions.microsoft.com>
wrote:
> Ok guys, it's my first day on a job, I need a quick answer, and I'm not a
> full time DBA. Refresh my memory.
> I have a SQL Server 2000 (SP3) server with multiple databases of uncertain
> size (probably a few gig at least.) I need to duplicate this entire server
> (all databases, users, permissions, everything) to a second server on a
> nightly basis. Any changes to the second servers's data are irrelevant.
> They are to be wiped out and replaced by the first.
> What's the fastest way to do this? (At the moment, everyone else in the
> office is leaning towards a backup-restore solution. Anything better that I
> might be forgettting?)
This solution will keep a realtime copy of all your databases as well
as Master, System, etc. You can also schedule it to just do periodic
snapshots, so that should meet your needs for a nightly copy on a
secondary server.
http://www.steeleye.com/pdf/literature/lifekeeper_for_sql_server.pdf
David A. Bermingham, MCSE, MCSA:Messaging
Director of Product Management
www.steeleye.com
|||Thanks. Unfortunately, my boss has told me in no uncertain terms that this
project does not warrant the expense of 3rd party software so we're going the
batch file route (which I've mostly gotten working.)
"daveberm" wrote:

> On Apr 16, 2:58 pm, B. Chernick <BChern...@.discussions.microsoft.com>
> wrote:
> This solution will keep a realtime copy of all your databases as well
> as Master, System, etc. You can also schedule it to just do periodic
> snapshots, so that should meet your needs for a nightly copy on a
> secondary server.
> http://www.steeleye.com/pdf/literature/lifekeeper_for_sql_server.pdf
> David A. Bermingham, MCSE, MCSA:Messaging
> Director of Product Management
> www.steeleye.com
>
>

Saturday, February 25, 2012

Queue Reader fails occasionally

I am using transactional replication with queued updating between two servers
running SQL Server 2000 SP3. Publisher and distributor run both on the same
server (a cluster machine). There is one subscriber. The Queue Reader Agent
starts successfully, and transactions originating on either side are properly
replicated. However, the Queue Reader occasionally fails. I enabled logging,
but the output file looks normal to me; several queries for queued data, but
then it seems to timeout. It just sits there for 3 minutes, then fails and
retries. No error message in the output file. Finally (after specified count
of retries) the agent shuts down with the message "Remote procedure call
failed". When I try to restart Queue Reader Agent, same behavior. I have to
examine the queue (table MSreplication_queue) and delete the first
respectively first few rows. Before deleting I execute the corresponding
queries (sp calls of type sp_MSsync_upd_MyTable) in Query Analyzer, what
succeeds. After deleting the rows from MSreplication_queue I can restart
Queue Reader Agent and now all works properly up to the next fail. :-(
Does anyone have any advice? Thanks in advance
Dorrit
What if you run these commands manually from the subscriber using QA? What
I'm thinking is that it might be a locking (blocking) issue which you'd be
able to determine using sp_who2 at the publisher.
HTH
Paul Ibison SQL Server MVP, www.replicationanswers.com
(recommended sql server 2000 replication book:
http://www.nwsu.com/0974973602p.html)
|||I'm not sure whether I did understand your reply correctly. What I usually do
to solve the problem is running these commands manually at the publisher
using QA. (I simply copy them from the output file.). This functions properly,
I can even track this by querying the correspondent rows at the subscriber
and at the publisher. Before executing the commands in QA, the changes are
only at the subscriber, afterwards they are at both the subscriber and the
publisher. That's why I think it cannot be a locking issue.
Message posted via http://www.droptable.com
|||If it's definitely not blocking then I'm not too sure. You could use
profiler on the publisher to check the commands are getting that far when
running the queue reader agent. You could also simultaneously run profiler
on teh subscriber to confirm the queue is being read.
Rgds,
Paul Ibison, SQL Server MVP
|||OK, I think you could be right. I'll try then with profiler...
Thanks, Dorrit
Message posted via droptable.com
http://www.droptable.com/Uwe/Forums...ation/200507/1

Queue Reader failes occasionally

I am using transactional replication with queued updating between two
servers running SQL Server 2000 SP3. Publisher and distributor run
both on the same server (a cluster machine). There is one subscriber.
The Queue Reader Agent starts successfully, and transactions
originating on either side are properly replicated. However, the Queue
Reader occasionally fails. I enabled logging, but the output file
looks normal to me; several queries for queued data, but then it seems
to timeout. It just sits there for 3 minutes, then fails and retries.
No error message in the output file. Finally (after specified count of
retries) the agent shuts down with the message "Remote procedure call
failed". When I try to restart Queue Reader Agent, same behavior. I
have to examine the queue (table MSreplication_queue) and delete the
first respectively first few rows. Before deleting I execute the
corresponding queries (sp calls of type sp_MSsync_upd_MyTable) in
Query Analyzer, what succeeds. After deleting the rows from
MSreplication_queue I can restart Queue Reader Agent and now all works
properly up to the next fail. :-(
Does anyone have any advice? Thanks in advance
Dorrit
Posted using the http://www.dbforumz.com interface, at author's request
Articles individually checked for conformance to usenet standards
Topic URL: http://www.dbforumz.com/Replication-...ict237945.html
Visit Topic URL to contact author (reg. req'd). Report abuse: http://www.dbforumz.com/eform.php?p=827170
How many subscribers do you have? Queued Replication works best with under
10 subscribers and when most of the transactions originate on your
publisher.
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
"Riemi" <UseLinkToEmail@.dbForumz.com> wrote in message
news:4_827170_8970ece2d43554af53766b469d92d042@.dbf orumz.com...
> I am using transactional replication with queued updating between two
> servers running SQL Server 2000 SP3. Publisher and distributor run
> both on the same server (a cluster machine). There is one subscriber.
> The Queue Reader Agent starts successfully, and transactions
> originating on either side are properly replicated. However, the Queue
> Reader occasionally fails. I enabled logging, but the output file
> looks normal to me; several queries for queued data, but then it seems
> to timeout. It just sits there for 3 minutes, then fails and retries.
> No error message in the output file. Finally (after specified count of
> retries) the agent shuts down with the message "Remote procedure call
> failed". When I try to restart Queue Reader Agent, same behavior. I
> have to examine the queue (table MSreplication_queue) and delete the
> first respectively first few rows. Before deleting I execute the
> corresponding queries (sp calls of type sp_MSsync_upd_MyTable) in
> Query Analyzer, what succeeds. After deleting the rows from
> MSreplication_queue I can restart Queue Reader Agent and now all works
> properly up to the next fail. :-(
> Does anyone have any advice? Thanks in advance
> Dorrit
> --
> Posted using the http://www.dbforumz.com interface, at author's request
> Articles individually checked for conformance to usenet standards
> Topic URL:
http://www.dbforumz.com/Replication-...ict237945.html
> Visit Topic URL to contact author (reg. req'd). Report abuse:
http://www.dbforumz.com/eform.php?p=827170
|||"" wrote:
> How many subscribers do you have? Queued Replication works
> best with under
> 10 subscribers and when most of the transactions originate on
> your
> publisher.
> --
> Hilary Cotter
> Looking for a SQL Server replication book?
> http://www.nwsu.com/0974973602.html
> Looking for a FAQ on Indexing Services/SQL FTS
> http://www.indexserverfaq.com
> "Riemi" <UseLinkToEmail@.dbForumz.com> wrote in message
> news:4_827170_8970ece2d43554af53766b469d92d042@.dbf orumz.com...
> between two
> distributor run
> subscriber.
> the Queue
> file
> then it seems
> retries.
> specified count of
> procedure call
> behavior. I
> delete the
> the
> sp_MSsync_upd_MyTable) in
> all works
> standards
> http://www.dbforumz.com/Replication-...ict237945.html
> abuse:
> http://www.dbforumz.com/eform.php?p=827170
There is one subscriber.

Monday, February 20, 2012

Queue Reader - remote procedure call failed

I am running transactional repl with an updateable subscription between two servers running SQL Server 2000 SP3, all agents running on the publisher. Every now and then, the Queue reader fails. I enable logging and attempt restart. The output file looks n
ormal to me; several queries for queued data, but then it seems to timeout. It just sits there for 3 minutes, then fails and retries. I can successfully query the other server, so I know it's not a communications problem. The event viewer simply says "the
remote procedure call failed and did not execute". I can't find any other error messages.
Does anyone have any advice? Thank you.
Microsoft SQL Server Replication Queue Reader Agent 8.00.760
Copyright (c) 2000 Microsoft Corporation
Microsoft SQL Server Replication Agent: [MIALDCS-1].9
Trying to Connect to Local Distributor
Connecting to QueueReader 'MIALDCS-1.distribution'
Server: MIALDCS-1
DBMS: Microsoft SQL Server
Version: 08.00.0760
user name: dbo
API conformance: 2
SQL conformance: 1
transaction capable: 2
read only: N
identifier quote char: "
non_nullable_columns: 1
owner usage: 31
max table name len: 128
max column name len: 128
need long data len: Y
max columns in table: 1024
max columns in index: 16
max char literal len: 524288
max statement len: 524288
max row size: 524288
[7/30/2004 12:17:19 PM]MIALDCS-1.distribution: select count(*) from master.dbo.sysprocesses where [program_name] = 'Queue Reader Main (distribution)'
[7/30/2004 12:17:19 PM]MIALDCS-1.distribution: select top 1 id, name from MSqreader_agents
[7/30/2004 12:17:19 PM]MIALDCS-1.distribution: select SERVERPROPERTY('IsClustered')
Queue Reader Agent [MIALDCS-1].9 (Id = 3) started
Repl Agent Status: 1
[7/30/2004 12:17:19 PM]MIALDCS-1.distribution: execute dbo.sp_MShelp_profile 3, 9, N''
Opening SQL based queues
[7/30/2004 12:17:19 PM]MIALDCS-1.distribution: exec master.dbo.sp_MSenum_replsqlqueues N'distribution'
Worker Thread 608 : Starting
The Message Queuing service does not exist[7/30/2004 12:17:19 PM]MIALDCS-1.distribution: exec dbo.sp_MShelp_subscriber_info N'MIALDCS-1', N'MIALDCS-2'
The Message Queuing service is not available
Connecting to MIALDCS-2 'MIALDCS-2.Island'
Server: MIALDCS-2
DBMS: Microsoft SQL Server
Version: 08.00.0760
user name: dbo
API conformance: 2
SQL conformance: 1
transaction capable: 2
read only: N
identifier quote char: "
non_nullable_columns: 1
owner usage: 31
max table name len: 128
max column name len: 128
need long data len: Y
max columns in table: 1024
max columns in index: 16
max char literal len: 524288
max statement len: 524288
max row size: 524288
MIALDCS-2.Island: {? = call dbo.sp_getsqlqueueversion (?, ?, ?, ?)}
MIALDCS-2.Island: {? = call dbo.sp_replsqlqgetrows (N'MIALDCS-1', N'Island', N'Island')}
[7/30/2004 12:17:31 PM]MIALDCS-1.distribution: exec dbo.sp_helpdistpublisher @.publisher = N'MIALDCS-1'
Connecting to MIALDCS-1 'MIALDCS-1.Island'
Worker Thread 608 : processing Transaction [2LhOShgh_agC2<T]?LH.h-5--09M--] of [SQL Queue]
Worker Thread 608 : Started Queue Transaction
Worker Thread 608 : Started SQL Tran
MIALDCS-1.Island: {? = call dbo.sp_getqueuedarticlesynctraninfo (N'Island', 44)}
SQL Command : <exec [dbo].[sp_MSsync_del_Leg_Seat_Map_1] N'MIALDCS-2', N'Island', 'F2', '101', '2004-07-24 00:00:00.000', '1', 0, 0, ' ', ' ', 0, 12632256, ' ', 'Y', ' ', 'N', 'N', '', '', '', '', '', '', '', '', ' ', ' ', ' ', 'E8613112-29DC-4563-B3F0-58
665C4967B9', 1>
(hundreds more records follow)
what command is it failing on?
The problem is probably related to the execution of a single proc, which is
locking on the publisher.
Hilary Cotter
Looking for a book on SQL Server replication?
http://www.nwsu.com/0974973602.html
"LeeH" <LeeH@.discussions.microsoft.com> wrote in message
news:055E41A9-DA76-403B-8D93-3F4C32BA6DDE@.microsoft.com...
> I am running transactional repl with an updateable subscription between
two servers running SQL Server 2000 SP3, all agents running on the
publisher. Every now and then, the Queue reader fails. I enable logging and
attempt restart. The output file looks normal to me; several queries for
queued data, but then it seems to timeout. It just sits there for 3 minutes,
then fails and retries. I can successfully query the other server, so I know
it's not a communications problem. The event viewer simply says "the remote
procedure call failed and did not execute". I can't find any other error
messages.
> Does anyone have any advice? Thank you.
> Microsoft SQL Server Replication Queue Reader Agent 8.00.760
> Copyright (c) 2000 Microsoft Corporation
> Microsoft SQL Server Replication Agent: [MIALDCS-1].9
> Trying to Connect to Local Distributor
> Connecting to QueueReader 'MIALDCS-1.distribution'
> Server: MIALDCS-1
> DBMS: Microsoft SQL Server
> Version: 08.00.0760
> user name: dbo
> API conformance: 2
> SQL conformance: 1
> transaction capable: 2
> read only: N
> identifier quote char: "
> non_nullable_columns: 1
> owner usage: 31
> max table name len: 128
> max column name len: 128
> need long data len: Y
> max columns in table: 1024
> max columns in index: 16
> max char literal len: 524288
> max statement len: 524288
> max row size: 524288
> [7/30/2004 12:17:19 PM]MIALDCS-1.distribution: select count(*) from
master.dbo.sysprocesses where [program_name] = 'Queue Reader Main
(distribution)'
> [7/30/2004 12:17:19 PM]MIALDCS-1.distribution: select top 1 id, name from
MSqreader_agents
> [7/30/2004 12:17:19 PM]MIALDCS-1.distribution: select
SERVERPROPERTY('IsClustered')
> Queue Reader Agent [MIALDCS-1].9 (Id = 3) started
> Repl Agent Status: 1
> [7/30/2004 12:17:19 PM]MIALDCS-1.distribution: execute
dbo.sp_MShelp_profile 3, 9, N''
> Opening SQL based queues
> [7/30/2004 12:17:19 PM]MIALDCS-1.distribution: exec
master.dbo.sp_MSenum_replsqlqueues N'distribution'
> Worker Thread 608 : Starting
> The Message Queuing service does not exist[7/30/2004 12:17:19
PM]MIALDCS-1.distribution: exec dbo.sp_MShelp_subscriber_info N'MIALDCS-1',
N'MIALDCS-2'
> The Message Queuing service is not available
> Connecting to MIALDCS-2 'MIALDCS-2.Island'
> Server: MIALDCS-2
> DBMS: Microsoft SQL Server
> Version: 08.00.0760
> user name: dbo
> API conformance: 2
> SQL conformance: 1
> transaction capable: 2
> read only: N
> identifier quote char: "
> non_nullable_columns: 1
> owner usage: 31
> max table name len: 128
> max column name len: 128
> need long data len: Y
> max columns in table: 1024
> max columns in index: 16
> max char literal len: 524288
> max statement len: 524288
> max row size: 524288
> MIALDCS-2.Island: {? = call dbo.sp_getsqlqueueversion (?, ?, ?, ?)}
> MIALDCS-2.Island: {? = call dbo.sp_replsqlqgetrows (N'MIALDCS-1',
N'Island', N'Island')}
> [7/30/2004 12:17:31 PM]MIALDCS-1.distribution: exec
dbo.sp_helpdistpublisher @.publisher = N'MIALDCS-1'
> Connecting to MIALDCS-1 'MIALDCS-1.Island'
> Worker Thread 608 : processing Transaction
[2LhOShgh_agC2<T]?LH.h-5--09M--] of [SQL Queue]
> Worker Thread 608 : Started Queue Transaction
> Worker Thread 608 : Started SQL Tran
> MIALDCS-1.Island: {? = call dbo.sp_getqueuedarticlesynctraninfo
(N'Island', 44)}
> SQL Command : <exec [dbo].[sp_MSsync_del_Leg_Seat_Map_1] N'MIALDCS-2',
N'Island', 'F2', '101', '2004-07-24 00:00:00.000', '1', 0, 0, ' ', ' ', 0,
12632256, ' ', 'Y', ' ', 'N', 'N', '', '', '', '', '', '', '', '', ' ', ' ',
' ', 'E8613112-29DC-4563-B3F0-58665C4967B9', 1>
> (hundreds more records follow)
>
|||I don't see anything in the log that indicates failure. It seems that the
agent just restarts. The event viewer simply says "the remote procedure call
failed and did not execute".
"Hilary Cotter" wrote:

> what command is it failing on?
> The problem is probably related to the execution of a single proc, which is
> locking on the publisher.
>
> --
> Hilary Cotter
> Looking for a book on SQL Server replication?
> http://www.nwsu.com/0974973602.html
>
> "LeeH" <LeeH@.discussions.microsoft.com> wrote in message
> news:055E41A9-DA76-403B-8D93-3F4C32BA6DDE@.microsoft.com...
> two servers running SQL Server 2000 SP3, all agents running on the
> publisher. Every now and then, the Queue reader fails. I enable logging and
> attempt restart. The output file looks normal to me; several queries for
> queued data, but then it seems to timeout. It just sits there for 3 minutes,
> then fails and retries. I can successfully query the other server, so I know
> it's not a communications problem. The event viewer simply says "the remote
> procedure call failed and did not execute". I can't find any other error
> messages.
> master.dbo.sysprocesses where [program_name] = 'Queue Reader Main
> (distribution)'
> MSqreader_agents
> SERVERPROPERTY('IsClustered')
> dbo.sp_MShelp_profile 3, 9, N''
> master.dbo.sp_MSenum_replsqlqueues N'distribution'
> PM]MIALDCS-1.distribution: exec dbo.sp_MShelp_subscriber_info N'MIALDCS-1',
> N'MIALDCS-2'
> N'Island', N'Island')}
> dbo.sp_helpdistpublisher @.publisher = N'MIALDCS-1'
> [2LhOShgh_agC2<T]?LH.h-5--09M--] of [SQL Queue]
> (N'Island', 44)}
> N'Island', 'F2', '101', '2004-07-24 00:00:00.000', '1', 0, 0, ' ', ' ', 0,
> 12632256, ' ', 'Y', ' ', 'N', 'N', '', '', '', '', '', '', '', '', ' ', ' ',
> ' ', 'E8613112-29DC-4563-B3F0-58665C4967B9', 1>
>
>

questions on recovery (zero day for me, wrapping up recovery)

I lost a whole server (was windows 2000 sp4 with sql server 2000 sp3).
Restored from backup on new server hardware (new idently as far as domain
goes also, did not bring back old server's identity).
Luckily I had a full backup from just the day before. I setup new server
(w2k3 r2 sp2) and installed sql server 2000 sp3. I was using simple recovery
model with just 1 full backup every day (fine for our needs) and so it was a
simple full restore from backup device (file). Completed, no problems. All
user data appears to be there and custom client application seems to be
working fine so far with it today (after updating ODBC config to reflect new
server and refreshing the linked tables in the Access front end mdb file)
1) so from here I'm not sure if I should restore my backups of the system
databases (master, msdb)? In my situation, the front end app just uses one
sql user account (via odbc connection), so recreating and assigning the one
user permissions was no problem (thats what I did). I didn't have any custom
system or user error messages, and wasn't using any linked servers. Users
are already using the system for 1/2 day now without any issues. Also, as
far as msdb, I don't mind creating new backup devices and a new maintenance
plan for this restored database. My backups of these system databases are
about 1 year old. I'm afraid I may cause a problem by restoring these... '
any input on this would be GREATLY appreciated. Just leave it be? is there
something I am overlooking on the need to restore these system databases in
*my* scenario?
2) REPLICATION: also, along the same lines, I'm not sure if I should restore
my distribution database for the merge replication that was on the old
server, or just recreate instead? Again, this backup is about 1 year old.
I'm wondering if it would be simpler/better for me to just recreate from
scratch? In fact it just occurred to me that I need to change to
transactional replication anyway (if I got the term right, its been a while
since I setup replication) because the requirement changed from 2 way
synching to just 1-way recently anyway. I have all the most recent user data
on my end to setup new. Will I have issues with this due to traces of the
old replication in my database? do I need to clean up first? or just create
new?
all in all, as far as I can tell to this point, we have lost zero user data,
which is all my DR plan really set out to do. I planned on having a day of
downtime to rebuild a server if this happened, and as luck would have it, it
happened on a sunday so the company experienced no down time. So what I'm
hoping is that what I've done is fine, and that I don't need to restore the
system databases or distribustion databases, and that instead, I just need
to re-do some configs. yes/no?
sorry so long.David,
You system setup seems very simple. Is this is infact true, by creating the
user account manually and recreating backup/maintenance jobs, you no longer
need to worry about restoring master or MSDB. For future reference, I would
include these DBs in my backup plan though.
"David" <nospam@.nospam.com> wrote in message
news:%23vaaqqNFIHA.1324@.TK2MSFTNGP06.phx.gbl...
>I lost a whole server (was windows 2000 sp4 with sql server 2000 sp3).
>Restored from backup on new server hardware (new idently as far as domain
>goes also, did not bring back old server's identity).
> Luckily I had a full backup from just the day before. I setup new server
> (w2k3 r2 sp2) and installed sql server 2000 sp3. I was using simple
> recovery model with just 1 full backup every day (fine for our needs) and
> so it was a simple full restore from backup device (file). Completed, no
> problems. All user data appears to be there and custom client application
> seems to be working fine so far with it today (after updating ODBC config
> to reflect new server and refreshing the linked tables in the Access front
> end mdb file)
> 1) so from here I'm not sure if I should restore my backups of the system
> databases (master, msdb)? In my situation, the front end app just uses one
> sql user account (via odbc connection), so recreating and assigning the
> one user permissions was no problem (thats what I did). I didn't have any
> custom system or user error messages, and wasn't using any linked servers.
> Users are already using the system for 1/2 day now without any issues.
> Also, as far as msdb, I don't mind creating new backup devices and a new
> maintenance plan for this restored database. My backups of these system
> databases are about 1 year old. I'm afraid I may cause a problem by
> restoring these... ' any input on this would be GREATLY appreciated. Just
> leave it be? is there something I am overlooking on the need to restore
> these system databases in *my* scenario?
>
> 2) REPLICATION: also, along the same lines, I'm not sure if I should
> restore my distribution database for the merge replication that was on the
> old server, or just recreate instead? Again, this backup is about 1 year
> old. I'm wondering if it would be simpler/better for me to just recreate
> from scratch? In fact it just occurred to me that I need to change to
> transactional replication anyway (if I got the term right, its been a
> while since I setup replication) because the requirement changed from 2
> way synching to just 1-way recently anyway. I have all the most recent
> user data on my end to setup new. Will I have issues with this due to
> traces of the old replication in my database? do I need to clean up first?
> or just create new?
> all in all, as far as I can tell to this point, we have lost zero user
> data, which is all my DR plan really set out to do. I planned on having a
> day of downtime to rebuild a server if this happened, and as luck would
> have it, it happened on a sunday so the company experienced no down time.
> So what I'm hoping is that what I've done is fine, and that I don't need
> to restore the system databases or distribustion databases, and that
> instead, I just need to re-do some configs. yes/no?
> sorry so long.
>|||I agree with Dragon: you seem to be fine.
You might want to study the system tables in the system databases on a 2000 install as well as Books
Online. They can give you some extra hints on what information are stored in system databases so you
can pick it up in case you forgot about it (like sp_configure setting as an example).
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://sqlblog.com/blogs/tibor_karaszi
"David" <nospam@.nospam.com> wrote in message news:%23vaaqqNFIHA.1324@.TK2MSFTNGP06.phx.gbl...
>I lost a whole server (was windows 2000 sp4 with sql server 2000 sp3). Restored from backup on new
>server hardware (new idently as far as domain goes also, did not bring back old server's identity).
> Luckily I had a full backup from just the day before. I setup new server (w2k3 r2 sp2) and
> installed sql server 2000 sp3. I was using simple recovery model with just 1 full backup every day
> (fine for our needs) and so it was a simple full restore from backup device (file). Completed, no
> problems. All user data appears to be there and custom client application seems to be working fine
> so far with it today (after updating ODBC config to reflect new server and refreshing the linked
> tables in the Access front end mdb file)
> 1) so from here I'm not sure if I should restore my backups of the system databases (master,
> msdb)? In my situation, the front end app just uses one sql user account (via odbc connection), so
> recreating and assigning the one user permissions was no problem (thats what I did). I didn't have
> any custom system or user error messages, and wasn't using any linked servers. Users are already
> using the system for 1/2 day now without any issues. Also, as far as msdb, I don't mind creating
> new backup devices and a new maintenance plan for this restored database. My backups of these
> system databases are about 1 year old. I'm afraid I may cause a problem by restoring these... '
> any input on this would be GREATLY appreciated. Just leave it be? is there something I am
> overlooking on the need to restore these system databases in *my* scenario?
>
> 2) REPLICATION: also, along the same lines, I'm not sure if I should restore my distribution
> database for the merge replication that was on the old server, or just recreate instead? Again,
> this backup is about 1 year old. I'm wondering if it would be simpler/better for me to just
> recreate from scratch? In fact it just occurred to me that I need to change to transactional
> replication anyway (if I got the term right, its been a while since I setup replication) because
> the requirement changed from 2 way synching to just 1-way recently anyway. I have all the most
> recent user data on my end to setup new. Will I have issues with this due to traces of the old
> replication in my database? do I need to clean up first? or just create new?
> all in all, as far as I can tell to this point, we have lost zero user data, which is all my DR
> plan really set out to do. I planned on having a day of downtime to rebuild a server if this
> happened, and as luck would have it, it happened on a sunday so the company experienced no down
> time. So what I'm hoping is that what I've done is fine, and that I don't need to restore the
> system databases or distribustion databases, and that instead, I just need to re-do some configs.
> yes/no?
> sorry so long.
>|||thanks. I appreciate it.
"Tibor Karaszi" <tibor_please.no.email_karaszi@.hotmail.nomail.com> wrote in
message news:0231D4CD-9B7A-47B1-BF27-131FB29400C0@.microsoft.com...
>I agree with Dragon: you seem to be fine.
> You might want to study the system tables in the system databases on a
> 2000 install as well as Books Online. They can give you some extra hints
> on what information are stored in system databases so you can pick it up
> in case you forgot about it (like sp_configure setting as an example).
> --
> Tibor Karaszi, SQL Server MVP
> http://www.karaszi.com/sqlserver/default.asp
> http://sqlblog.com/blogs/tibor_karaszi
>
> "David" <nospam@.nospam.com> wrote in message
> news:%23vaaqqNFIHA.1324@.TK2MSFTNGP06.phx.gbl...
>>I lost a whole server (was windows 2000 sp4 with sql server 2000 sp3).
>>Restored from backup on new server hardware (new idently as far as domain
>>goes also, did not bring back old server's identity).
>> Luckily I had a full backup from just the day before. I setup new server
>> (w2k3 r2 sp2) and installed sql server 2000 sp3. I was using simple
>> recovery model with just 1 full backup every day (fine for our needs) and
>> so it was a simple full restore from backup device (file). Completed, no
>> problems. All user data appears to be there and custom client application
>> seems to be working fine so far with it today (after updating ODBC config
>> to reflect new server and refreshing the linked tables in the Access
>> front end mdb file)
>> 1) so from here I'm not sure if I should restore my backups of the system
>> databases (master, msdb)? In my situation, the front end app just uses
>> one sql user account (via odbc connection), so recreating and assigning
>> the one user permissions was no problem (thats what I did). I didn't have
>> any custom system or user error messages, and wasn't using any linked
>> servers. Users are already using the system for 1/2 day now without any
>> issues. Also, as far as msdb, I don't mind creating new backup devices
>> and a new maintenance plan for this restored database. My backups of
>> these system databases are about 1 year old. I'm afraid I may cause a
>> problem by restoring these... ' any input on this would be GREATLY
>> appreciated. Just leave it be? is there something I am overlooking on the
>> need to restore these system databases in *my* scenario?
>>
>> 2) REPLICATION: also, along the same lines, I'm not sure if I should
>> restore my distribution database for the merge replication that was on
>> the old server, or just recreate instead? Again, this backup is about 1
>> year old. I'm wondering if it would be simpler/better for me to just
>> recreate from scratch? In fact it just occurred to me that I need to
>> change to transactional replication anyway (if I got the term right, its
>> been a while since I setup replication) because the requirement changed
>> from 2 way synching to just 1-way recently anyway. I have all the most
>> recent user data on my end to setup new. Will I have issues with this due
>> to traces of the old replication in my database? do I need to clean up
>> first? or just create new?
>> all in all, as far as I can tell to this point, we have lost zero user
>> data, which is all my DR plan really set out to do. I planned on having a
>> day of downtime to rebuild a server if this happened, and as luck would
>> have it, it happened on a sunday so the company experienced no down time.
>> So what I'm hoping is that what I've done is fine, and that I don't need
>> to restore the system databases or distribustion databases, and that
>> instead, I just need to re-do some configs. yes/no?
>> sorry so long.
>|||thanks. I appreciate it.
"Dragon" <noSpam_baadil@.hotmail.com> wrote in message
news:On$CWTOFIHA.4880@.TK2MSFTNGP03.phx.gbl...
> David,
> You system setup seems very simple. Is this is infact true, by creating
> the user account manually and recreating backup/maintenance jobs, you no
> longer need to worry about restoring master or MSDB. For future reference,
> I would include these DBs in my backup plan though.
>
> "David" <nospam@.nospam.com> wrote in message
> news:%23vaaqqNFIHA.1324@.TK2MSFTNGP06.phx.gbl...
>>I lost a whole server (was windows 2000 sp4 with sql server 2000 sp3).
>>Restored from backup on new server hardware (new idently as far as domain
>>goes also, did not bring back old server's identity).
>> Luckily I had a full backup from just the day before. I setup new server
>> (w2k3 r2 sp2) and installed sql server 2000 sp3. I was using simple
>> recovery model with just 1 full backup every day (fine for our needs) and
>> so it was a simple full restore from backup device (file). Completed, no
>> problems. All user data appears to be there and custom client application
>> seems to be working fine so far with it today (after updating ODBC config
>> to reflect new server and refreshing the linked tables in the Access
>> front end mdb file)
>> 1) so from here I'm not sure if I should restore my backups of the system
>> databases (master, msdb)? In my situation, the front end app just uses
>> one sql user account (via odbc connection), so recreating and assigning
>> the one user permissions was no problem (thats what I did). I didn't have
>> any custom system or user error messages, and wasn't using any linked
>> servers. Users are already using the system for 1/2 day now without any
>> issues. Also, as far as msdb, I don't mind creating new backup devices
>> and a new maintenance plan for this restored database. My backups of
>> these system databases are about 1 year old. I'm afraid I may cause a
>> problem by restoring these... ' any input on this would be GREATLY
>> appreciated. Just leave it be? is there something I am overlooking on the
>> need to restore these system databases in *my* scenario?
>>
>> 2) REPLICATION: also, along the same lines, I'm not sure if I should
>> restore my distribution database for the merge replication that was on
>> the old server, or just recreate instead? Again, this backup is about 1
>> year old. I'm wondering if it would be simpler/better for me to just
>> recreate from scratch? In fact it just occurred to me that I need to
>> change to transactional replication anyway (if I got the term right, its
>> been a while since I setup replication) because the requirement changed
>> from 2 way synching to just 1-way recently anyway. I have all the most
>> recent user data on my end to setup new. Will I have issues with this due
>> to traces of the old replication in my database? do I need to clean up
>> first? or just create new?
>> all in all, as far as I can tell to this point, we have lost zero user
>> data, which is all my DR plan really set out to do. I planned on having a
>> day of downtime to rebuild a server if this happened, and as luck would
>> have it, it happened on a sunday so the company experienced no down time.
>> So what I'm hoping is that what I've done is fine, and that I don't need
>> to restore the system databases or distribustion databases, and that
>> instead, I just need to re-do some configs. yes/no?
>> sorry so long.
>