Quantcast
Channel: SQL Server Replication forum
Viewing all articles
Browse latest Browse all 4054

error while restoring database with different name on subscriber

$
0
0

Hi all,

I am using merge replication in sql server 2008R2. Yesterday I wanted to create a test environment, so I did:

1. on publisher I restored from backup production db with another name ( lets call it TEST and new files .mdf, .ldf and no switch KEEP_REPLICATION). After this step original replication between production dbs worked fine.

2. on subscriber I did the same: restore as new db TEST with new files .mdf, .ldf and no switch KEEP_REPLICATION.

Unfortunately I noticed, that after second step replication stopped. SQL agent replication job on Subscriber is gone.

Why restoring db with new name did affect original replication?

Finally the most important: replication was set up by external company and I have to bring it to live now but I don't know this subject so good. How can I do it?

Assuming, that there is no data change on subscriber in replicated tables is it enough when I select ‘reinitialize’ on Publisher and Subscriber?

Thanks in advance

Artur


Viewing all articles
Browse latest Browse all 4054

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>