SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Replication move from one server to another server


Replication move from one server to another server

Author
Message
Tsql-561486
Tsql-561486
Valued Member
Valued Member (61 reputation)Valued Member (61 reputation)Valued Member (61 reputation)Valued Member (61 reputation)Valued Member (61 reputation)Valued Member (61 reputation)Valued Member (61 reputation)Valued Member (61 reputation)

Group: General Forum Members
Points: 61 Visits: 1215
Hi

We need to migrate databases and its replication setup to new servers.

On current environment, we have publisher,subscriber and distribution databases all on different servers but on new server setup Publisher and distributor to be on same publisher server.

Any ideas on ways to migrate replication setup?

Or only way to re-establish replication?

Thanks in advance
Michael Oberhardt
Michael Oberhardt
SSC Journeyman
SSC Journeyman (75 reputation)SSC Journeyman (75 reputation)SSC Journeyman (75 reputation)SSC Journeyman (75 reputation)SSC Journeyman (75 reputation)SSC Journeyman (75 reputation)SSC Journeyman (75 reputation)SSC Journeyman (75 reputation)

Group: General Forum Members
Points: 75 Visits: 93
I've done this a large number of times. There is no "easy way" of doing it with replication in place. Basically the process is:
- Prep the new server for replication (setup the distributor)
- Get all apps using the subscriber databases offline
- Validate all subscriptions
- Resolve any validation errors
- Drop all subscriptions
- Drop the publication and disable replication on the publisher
- Backup the publisher DB
- Restore the publisher DB on the new server
- Make any changes you need on your database for and metadata relating to the old server to the new server
- Setup the publication on the new server
- Setup the subscriptions again WITHOUT INITIALISATION
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search