pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Treat <xzilla@users.sourceforge.net>
To: Jason M. Kuhlman <jkuhlman@oglecounty.org>
Cc: pgsql-admin@postgresql.org
Subject: Re: MS SQL 2K replication/backup
Date: 24 Mar 2003 13:47:52 -0500
Message-ID: <1048531672.13798.284.camel@camel> (raw)
In-Reply-To: <000601c2ed7f$89c2a6e0$b211a8c0@HIGHWAYMOBILE>
References: <000601c2ed7f$89c2a6e0$b211a8c0@HIGHWAYMOBILE>

On Tue, 2003-03-18 at 13:52, Jason M. Kuhlman wrote:
> Hello
> We would like to expose some data live to the internet, but some of our
> departments are deep in MS SQL.  I know it's possible to replicate SQL to
> PostGreSQL. Our data isn't time sensitive so we wouldn't have to have it
> replicate live.  What I would like to do is set up a script to
> replicate/dump the tables once a night, but I'm not having any luck.
> 
> With this scenario this PostGreSQL database could then be a "sort of" backup
> also.  Would it be possible, if needed to push these databases back into MS
> SQL?  I have been going through the archives for a couple of days, but most
> posts seem to be about real time replications.
> 
> Any help would be appreciated.
> 

You need to do some searching on porting from sql server to postgresql,
since this has been tackled before but more likely in that context.
There is also an article on techdocs.postgresql.org regarding pulling
data from m$sql for use in postgresql. IIRC the postgresql insert based
dump in plain text format can be used to push data back into m$sql,
though it would depend on how obtuse your database schema is.

Robert Treat




view thread (2+ messages)

Message-ID: <1048531672.13798.284.camel@camel>
Permalink:  ../1048531672.13798.284.camel@camel/
Also on:    postgresql.org/message-id/1048531672.13798.284.camel@camel

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: xzilla@users.sourceforge.net, jkuhlman@oglecounty.org
  Subject: Re: MS SQL 2K replication/backup
  In-Reply-To: <1048531672.13798.284.camel@camel>
  References: <000601c2ed7f$89c2a6e0$b211a8c0@HIGHWAYMOBILE> <1048531672.13798.284.camel@camel>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox