September 17, 2012 at 9:40 am
Hi,
I have setup replication with sync type-replication support only and it's working fine. If I need to reinitialize the subscriptions of any publication, do I need to completely drop the subscription and create it again with default settings? Any other way of doing it by retaining the existing settings?
Thanks,
September 18, 2012 at 5:04 am
muthyala_51 (9/17/2012)
Hi,I have setup replication with sync type-replication support only and it's working fine. If I need to reinitialize the subscriptions of any publication, do I need to completely drop the subscription and create it again with default settings? Any other way of doing it by retaining the existing settings?
Thanks,
No. It carries on as normal.
"replication support only" assumes the tables and data already exists on the subscriber. IT still creates all of the supports stored procedures etc. Other than that everything operates exactly as default.
September 18, 2012 at 8:50 am
I thought the same way. But when I tried to reinitialize,it asked to run the snapshot agent manually. But when I ran the snapshot agent it gives the following error............
[0 %] A snapshot was not generated because no subscriptions needed initialization.
September 18, 2012 at 8:53 am
Running a snapshot is not reinitializing. The only time this will generate any sort of snapshot is if you add 1 or more new articles then a snapshot containing just those will be created.
You need to do this through replication monitor. I'm sure there's a TSQL way of doing it but I don't know it off hand as its such a dangerous thing.
September 18, 2012 at 2:19 pm
MysteryJimbo (9/18/2012)
Running a snapshot is not reinitializing. The only time this will generate any sort of snapshot is if you add 1 or more new articles then a snapshot containing just those will be created.
You are mistaken. We can reinitialize the subscription without adding any articles. If you want to add an article to the existing publication and generate a snapshot for just that article we can do it with the other way.
You need to do this through replication monitor.
Reinitializing can be done by many ways ...........one way of doing is by right clicking on the publication and selecting the option.
September 19, 2012 at 12:51 am
muthyala_51 (9/18/2012)
MysteryJimbo (9/18/2012)
Running a snapshot is not reinitializing. The only time this will generate any sort of snapshot is if you add 1 or more new articles then a snapshot containing just those will be created.You are mistaken.
No Im not.
These are two very different things but I misread your initial message and thought you'd only ran a snapshot rather than marking the subscriber for reinitialisation.
Running a snapshot is not reinitializing
muthyala_51 (9/18/2012)
You need to do this through replication monitor.
Reinitializing can be done by many ways ...........one way of doing is by right clicking on the publication and selecting the option.
I know.
I'm sure there's a TSQL way of doing it but I don't know it off hand as its such a dangerous thing.
I'll setup a test publication and get back to you.
September 19, 2012 at 4:34 am
muthyala_51 (9/17/2012)
Hi,I have setup replication with sync type-replication support only and it's working fine. If I need to reinitialize the subscriptions of any publication, do I need to completely drop the subscription and create it again with default settings? Any other way of doing it by retaining the existing settings?
Thanks,
Back to the original question. No you cannot reitialise a subscription using 'replication support only' or 'none'. At least thats what happened when I set up a couple of tests
You have to use automatic.
Which in a way makes sense, you wanted create the subscription without initialising so you are prevented to do so in the future.
What settings do you want to keep?
September 19, 2012 at 8:54 am
Thanks J.
Now we are on the same page. What I was thinking is, if replication is out of sync for some reason if we need to reinitialize what can we do if we use sync type-replication support only. Do we need to drop the existing subscription and create a new one with automatic or any other way around???
September 19, 2012 at 12:26 pm
I think this explains it all.........
Viewing 9 posts - 1 through 8 (of 8 total)
You must be logged in to reply to this topic. Login to reply