[Top] [All Lists]

Re: Set of Subscription Tables to Restore?

Subject: Re: Set of Subscription Tables to Restore?
From: "Shyam Pather [MSFT]"
Date: Fri, 9 Sep 2005 14:22:35 -0700
Newsgroups: microsoft.public.sqlserver.notificationsvcs
Take a look at the end of page 495/top of page 496 in the book. It describes 
how to copy the subscription data out of the old tables into the new after 
doing an update.

However, I should point out that there's a pretty serious bug in NS2.0. 
While the subscriber tables are properly renamed to 
NS<SubscriptionClass>SubscriptionsOld, the related schedules and timezones 
tables for scheduled subscriptions are not. This means that unless you 
intervene, subscription schedules are lost on update.

We've fixed this problem in the SQL2005 release. However, on NS2.0, you have 
to back up the NS<SubscriptionClass>Schedules and 
NS<SubscriptionClass>Timezones tables manually and restore the data in them 
after the backup.

Hope this helps.

Learn more about SQL-NS:
This posting is provided "AS IS" with no warranties, and confers no rights. 
Use of included script samples are subject to the terms specified at
"MarkSW" <[email protected]> wrote in message 
news:[email protected]
> I've read Shyam's book and the section on updates possibly failing (p. 576
> on).  It mentions two subscription tables that must be restored if a
> subscription schema changes.  And that you should in general backup the NS
> DB's before any schema-changing update.  But the restore instructions on 
> p.
> 582 are for restoring the *entire* DB's from the backup instances, which,
> after an update, will then lose the update.  And I don't see a complete
> accounting of all tables that hold stateful Subscriber and Subscription 
> data
> that must be backed up and restored to insure all Subscrptions are 
> preserved
> in case of catastrophe.
> So, my question. What is the exact set of tables that must be backed up 
> and
> retored to guarantee this?
> My preferred deployment scenario:
> - Back up all necessary Subscriber/Subscription tables
> - deploy updated ADF with new schemas
> - nscontrol update
> - Restore all necessary Subscriber/Subscription tables

<Prev in Thread] Current Thread [Next in Thread>