Groups | Blog | Home
all groups > sql server replication > october 2006 >

sql server replication : msdb recreate cause replication problems



renedevries NO[at]SPAM gmail.com
10/4/2006 1:45:16 PM
We just went through a nasty experience whereby we had to recreate the
MSDB database.

System is now back, but replication is completely messed up. Is there a
way to get all the MS* tables back, in the MSDB? I tried to de-install
and install Replication, but that doesn't seem to generate all the
required tables and procs

SQL2005, SP1.

Any help much appreciated!
Hilary Cotter
10/4/2006 9:31:41 PM
I take it you mean you want your jobs to pick up where they left off.
Dropping and recreating the publications and subscriptions should do that.
If you mean the replication table in msdb, they are created there when you
install sql server.
--
Hilary Cotter
Director of Text Mining and Database Strategy
RelevantNOISE.Com - Dedicated to mining blogs for business intelligence.

This posting is my own and doesn't necessarily represent RelevantNoise's
positions, strategies or opinions.

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



[quoted text, click to view]

renedevries NO[at]SPAM gmail.com
10/5/2006 1:06:13 AM
Eventually called MS Tech Support. The goal was to het replication
working at all, never mind the jobs or the previous state. But since
all relevant tables in msdb where gone, the whole thing was in limbo

The only REAL option is indeed a fresh install of SQL. However, they
where able to help me out, though a number of steps which involved
removing repliation from the database, dropping the distribution db,
and some other assorted trickery. But eventually we got it to work.
Turns out that if you re-create the distribution database all the
associated msdb tables and jobs are also recreated. Fortunately ;)

Lesson: make sure you keep good, validated backups of msdb at all
times. Bitten once again :(

Rene

Hilary Cotter schreef:

[quoted text, click to view]
AddThis Social Bookmark Button