473,575 Members | 3,476 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 12225
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
1601
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...
5
3634
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
4618
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...
0
1368
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
1205
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
5141
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
1724
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...
3
2810
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...
2
4121
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...
0
7775
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...
0
8120
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. ...
1
7868
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...
0
6515
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...
1
5664
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5338
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...
0
3778
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...
1
2286
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
0
1107
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...

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.