Sync Data Between Two SQL Servers

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Daniel

    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
  • Thomas

    #2
    Re: Sync Data Between Two SQL Servers

    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.

    SQL Scripter is an easy to use data export and import utility for Microsoft SQL Server and SQL Azure.


    Regards
    Thomas

    Comment

    • Daniel

      #3
      Re: Sync Data Between Two SQL Servers

      Erland Sommarskog <sommar@algonet .se> wrote in message news:<Xns93B432 B939C3Yazorman@ 127.0.0.1>...[color=blue]
      > Daniel (spginfocenter@ yahoo.com) writes:[color=green]
      > > 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?[/color]
      >
      > 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,[/color]

      Thanks for both your help..I will repost in the replication newsgroup
      as you suggested.

      Comment

      • Erland Sommarskog

        #4
        Re: Sync Data Between Two SQL Servers

        Thomas (postmaster@sql scripter.com) writes:[color=blue]
        > 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[/color]

        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, sommar@algonet. se

        Books Online for SQL Server SP3 at
        SQL Server 2025 redefines what's possible for enterprise data. With developer-first features and integration with analytics and AI models, SQL Server 2025 accelerates AI innovation using the data you already have.

        Comment

        Working...