Solved

SQL Replication

Posted on 2013-12-09
2
170 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

[Webinar] Disaster Recovery and Cloud Management

Learn from Unigma and CloudBerry industry veterans which providers are best for certain use cases and how to lower cloud costs, how to grow your Managed Services practice in IaaS clouds, and how to utilize public cloud for Disaster Recovery

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SQL Server engine let you use a Windows account or a SQL Server account to connect to a SQL Server instance. This can be configured immediatly during the SQL Server installation or after in the Server Authentication section in the Server properties …
How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
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…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …

895 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

15 Experts available now in Live!

Get 1:1 Help Now