Sql server 添加额外订阅?
我已经有一个从a到B的SQL 2008推送事务复制。现在我需要添加一个额外的订阅C。我知道以下步骤应该可以工作Sql server 添加额外订阅?,sql-server,replication,transactional-replication,Sql Server,Replication,Transactional Replication,我已经有一个从a到B的SQL 2008推送事务复制。现在我需要添加一个额外的订阅C。我知道以下步骤应该可以工作 Remove the publication from A. Backup the database Copy the backup file to B and C Create the publication on A Run script on B and C to add the subscriptions 然而,数据库是巨大的。是否可以暂停复制并将数据库文件从B复制到C,
Remove the publication from A.
Backup the database
Copy the backup file to B and C
Create the publication on A
Run script on B and C to add the subscriptions
然而,数据库是巨大的。是否可以暂停复制并将数据库文件从B复制到C,在C上创建订阅,然后恢复复制?因为数据库很大 是的。我只想假设您是从一个点开始的,您已经从a中删除了发布。备份了数据库。将数据库复制并还原到B和C。现在您可以开始复制了 首先,当您在上创建发布时,请确保设置了Action If Name is Use属性以保持现有对象不变 设置发布后,即可创建订阅。 这里最重要的是向导的这一步: 您要确保该框未选中。正如您所见,这是专门针对您的情况准备的,它已经专门为订阅准备好了 如果碰巧是通过T-SQL执行此操作,则相关命令和参数如下: sp_addarticle@pre_creation_cmd='none' sp_addsubscription@sync_type='replication support only',@status='active'