Solved

SQL Replication

Posted on 2013-12-09
2
169 Views
Last Modified: 2013-12-18
I have database replication from one server to another over a rather thin link. They are out of sync so I would prefer to re-snapshot. Unfortnately the link is thin and performing a snapshot would incur huge transfer delays. I would not like to perform a snapshop but create a backup that can be hand carried. I've seen how to do this on the web but this seems to be with new publications and not exising. Would it be easier to delete both publication and subscription and start again or is there any instruction anywhere with an existing publications?

Regards
S
0
Comment
Question by:SimonJohnG
2 Comments
 
LVL 5

Accepted Solution

by:
rk_india1 earned 250 total points
ID: 39706745
Once you have replication configured, you should be able to re-create it easily in case of a disaster or if you want to deploy it to a client's location. In Enterprise Manager, the easiest way to generate a SQL Script for replication is to right-click on the publication in the Replication group and select Generate SQL Script. You are asked if you'd like to create a script for the removal of replication or the creation of replication. The script does the following:
•      Set up the database for replication
•      Create the publication
•      Assign the appropriate permissions to the publication
•      Add articles to the publication
•      Create the subscription

If a disaster occurs on your publisher or subscriber servers, the easiest way to recover is to use the following steps:

1.      Unsubscribe from the publisher.
2.      Restore the most recent backup or backups.
3.      Subscribe to the publisher.
4.      Resynchronize the system.
0
 
LVL 39

Assisted Solution

by:lcohan
lcohan earned 250 total points
ID: 39709461
"Would it be easier to delete both publication and subscription and start again or is there any instruction anywhere with an existing"

If you can afford to loose the subscriber temporarily until the new backup was restored and publication/replication is re-enabled then it may be the best choice however...what are you planning to do if they will be out of sync again due to the "thin link"? In my opinion you need to somehow address that issue as well because you may end up in the same place due to slow link between the two servers.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now