August 15, 2018 at 2:05 am
Hi,
We have currently a DB replica setup - we have added in a new table.
I used the restore from backup method to create the subscribers. Immediate sync is false.
So I should add in the article and then a snapshot will just pick up the new table and not the whole thing?
August 15, 2018 at 6:35 am
steve.roberts 86619 - Wednesday, August 15, 2018 2:05 AMHi,We have currently a DB replica setup - we have added in a new table.
I used the restore from backup method to create the subscribers. Immediate sync is false.
So I should add in the article and then a snapshot will just pick up the new table and not the whole thing?
If allow anonymous and immediate sync are set to false then when you start the snapshot agent, it should generate a snapshot for just the newly added article.
Sue
August 15, 2018 at 6:50 am
I setup a demo test DB for replication and followed the instructions and was ok.
If I have multiple subscribers do I need to run this command per subscriber?
EXEC sp_addsubscription @publication = 'yourpublication', @article = 'test',
@subscriber =‘subs_servername', @destination_db = 'subs_DBNAME',
@reserved='Internal'
August 15, 2018 at 7:50 am
steve.roberts 86619 - Wednesday, August 15, 2018 6:50 AMI setup a demo test DB for replication and followed the instructions and was ok.If I have multiple subscribers do I need to run this command per subscriber?
EXEC sp_addsubscription @publication = 'yourpublication', @article = 'test',
@subscriber =‘subs_servername', @destination_db = 'subs_DBNAME',
@reserved='Internal'
Yes so that each subscriber gets the updated subscription definition and the snapshot with the new article (table).
Sue
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply