Transactional replication

  • Hi All,

    Before setting up the transactional replication we have restored the publisher database to subscriber. So it can have most recent information.

    After this transactional replication setup was done. here do we need to run the snapshot job compulsary ?

    For every replication why we need to run snapshot job as a first step ?

    Thank You.

    Regards,
    Raghavender Chavva

  • You can set up a subscription with no snapshot requirement.

    When you script the subscription, change this

    @sync_type = N'automatic'

    to this

    @sync_type = N'none'

    and run this on the publication database to generate the replication stored procedures which you will need to apply on the subscription database.

    exec sp_scriptpublicationcustomprocs 'publication name'

    It is important to ensure nothing is being edited on the publication database from the point of backup.

Viewing 2 posts - 1 through 1 (of 1 total)

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