473,738 Members | 11,146 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 12231
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
3667
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
4621
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
1372
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
1211
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
5166
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
1729
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
2818
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
4129
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
8969
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
8788
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
9335
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
9263
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
8210
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4570
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3279
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2745
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2193
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.