473,795 Members | 3,358 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Sync Data Between Two SQL Servers

Ok..here is my problem. I have two SQL servers that I need to have
identical, at least semi-real time data on. One is in a public DMZ
with full access to and from the internet, and one is behind a
corporate firewall and the box can get out to the internet but cannot
be hit directly from the internet in. The two are on seperate
networks and cannot be connected via lan. Is there a way for me to
have semi-real time data transfers between the two to keep both
servers identical? I have thought that the server behind the firewall
could initiate an XML session with my dmz sql server and process
updates, but I am unfamiliar with how it would know what has changed
on the remote server and how the remote server would know what has
changed on the server behind the corporate firewall. Any good ideas?

Thanks

Dan Hirsch
Jul 20 '05 #1
3 12233
Erland,

there's a tool (freeware) for data transfer only via T-SQL.
That's easy to deploy and execute via Query Analyzer, so no
connections between servers are required.

http://www.sqlscripter.com

Regards
Thomas
Jul 20 '05 #2
Erland Sommarskog <so****@algonet .se> wrote in message news:<Xn******* **************@ 127.0.0.1>...
Daniel (sp***********@ yahoo.com) writes:
Ok..here is my problem. I have two SQL servers that I need to have
identical, at least semi-real time data on. One is in a public DMZ
with full access to and from the internet, and one is behind a
corporate firewall and the box can get out to the internet but cannot
be hit directly from the internet in. The two are on seperate
networks and cannot be connected via lan. Is there a way for me to
have semi-real time data transfers between the two to keep both
servers identical? I have thought that the server behind the firewall
could initiate an XML session with my dmz sql server and process
updates, but I am unfamiliar with how it would know what has changed
on the remote server and how the remote server would know what has
changed on the server behind the corporate firewall. Any good ideas?


The obvious tool to use for this scenario is merge replication. Merge
replication is not really for the faint of heart. You can guess yourself:
what if the saw row has been updated both on the DMZ machine and on
the firewalled machine? Well, at least merge replication is prepared to
deal with conflicts.

As for your particular scenario with the firewall, I don't have any
immediate ideas, but I think it should be possible one way or another.
As Fardude says there is a distributor that controls action.

In any case, my experience of merge replication is non-existent. I would
suggest that you drop into the newsgrup
microsoft.publi c.sqlserver.rep lication. You should get better help
there,


Thanks for both your help..I will repost in the replication newsgroup
as you suggested.
Jul 20 '05 #3
Thomas (po********@sql scripter.com) writes:
there's a tool (freeware) for data transfer only via T-SQL.
That's easy to deploy and execute via Query Analyzer, so no
connections between servers are required.

http://www.sqlscripter.com


I know that. :-)

However, Daniel wanted something close to real-time, so I don't think
he wants something that you run from Query Analyzer.n

--
Erland Sommarskog, SQL Server MVP, so****@algonet. se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinf...2000/books.asp
Jul 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1610
by: Jake Jessup | last post by:
I am just beginning development of a new app and I need a little advice on the best way to go about doing something. The app is a project management tool for a construction company. Users in the field will need to do remote updates both receiving and submitting data back to the main office. I can't just make it a live web app because the users will have to be able to work off line and sync data later (presumably with a VPN connection). ...
5
3672
by: Mark | last post by:
How do I scroll two textareas in sync with FireFox/Mozilla? The IE solution has been posted before by Martin Honnen.
0
4622
by: Andrew Comeau | last post by:
I ran into this problem on my Windows 2000 system with SQL Server 2000 installed when I was using the Data Link Properties box to setup a connection string. It would happen when I tried to view or refresh the list of servers present. I re-installed SQL Server 2000 and upgraded to MDAC 2.8, neither of which helped. After searching some more, I finally found the following article: http://support.microsoft.com/kb/232060/
0
1379
by: Michael G | last post by:
I have a db running access/sqlserver on one server.. and want to sync real time with another server running either Msql or My Sql. Any one have advice on how to do this real time.
1
1213
by: Sniper | last post by:
Hi Guys, can anyone tell me a good open source project or tool that I can use to sync data over the dial-up conection different two SQL Servers? I tried the replication it's giving wired messages. Please help Thanks, -Aruna
9
5173
by: Ericson Smith | last post by:
Hello everyone, Take the query below: select *,xmin from settings where xmin > '187167023'::xid limit 5; Although the docs say this is a 32 bit datatype, I have casted the integer '187167023' also to an xid type, but it seems that there is no operator to do a comparison, since I get this error:
9
1732
by: gstar | last post by:
Hi, Not sure I am in the right place here but thought I would ask an open question. We have an IIS website, mainly ASP files, .NET 1 & 2, this is located in our DMZ. It connects back into the LAN using using port 1433 to our SQL 2000 server. As the Sysadmin I try to ensure our development team only work on the development SQL & IIS boxes but this is becoming more difficult by the day. Very soon I am moving the production servers to a...
3
2820
by: sqldba | last post by:
Hi, I have two servers, one is a production server and other is a testing server. Both these servers must be in sync. Please can anyone let me know how to synchronize these two servers(automatically) without replication. In particular i want databases, tables, views, users and stored procedures to be same in both the servers. If a table gets added/deleted/update on the production , the same must be done on testing server. Please help...
2
4132
by: neerja khattar | last post by:
I have total 3 databases.One is mysql and other 2 are of access type. I have 10 tables in each of the databases. I want to sync 2 tables from both access databases with mysql tables. whatever updates are happening in access databases tables it should come in mysql tables 1. student- table name 2. school - table name both are in database 1
0
9672
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9519
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10435
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10213
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10163
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10000
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6779
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
3721
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2920
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.