How to detach a DB which is involved in replication.

  • How do I detach a DB which is involved in replication without deleting all of my replication objects.

     Ideally I would like to temporarily stop replication, detach the DB, copy files from another server, then reattach my DB. At this point I would like to restart replication. However, this appears to be difficult to accomplish without actually removing certain replication objects.

    Thank you in advance.

    Bob

     

  • I believe you need to stop replication. By copying files from another server, I am assuming you are talking about copying the mdf/ldf files. If thats the case then the publisher and subscriber will not be in sync and your replication will fail anyway.

    ******************
    Dinakar Nethi
    Life is short. Enjoy it.
    ******************

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

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