Sync Type-Replication Support Only

  • 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,

  • 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.

  • 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.

  • 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.

  • 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.

  • 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.

  • 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?

  • 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???

Viewing 9 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic. Login to reply