X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 3E3C7474E44 for ; Mon, 24 Mar 2003 13:48:00 -0500 (EST) Received: from localhost.localdomain (unknown [65.217.53.66]) by postgresql.org (Postfix) with ESMTP id 3A16547633A for ; Mon, 24 Mar 2003 13:47:59 -0500 (EST) Received: from thorn.mmrd.com (thorn.mmrd.com [172.25.10.100]) by localhost.localdomain (8.12.5/8.12.5) with ESMTP id h2OJMa6P002455; Mon, 24 Mar 2003 14:22:36 -0500 Received: from gnvex001.mmrd.com (gnvex001.mmrd.com [192.168.3.55]) by thorn.mmrd.com (8.11.6/8.11.6) with ESMTP id h2OIlqp23655; Mon, 24 Mar 2003 13:47:53 -0500 Received: from camel.mmrd.com ([172.25.5.213]) by gnvex001.mmrd.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id F3HTKQM0; Mon, 24 Mar 2003 13:47:52 -0500 Subject: Re: MS SQL 2K replication/backup From: Robert Treat To: "Jason M. Kuhlman" Cc: pgsql-admin@postgresql.org In-Reply-To: <000601c2ed7f$89c2a6e0$b211a8c0@HIGHWAYMOBILE> References: <000601c2ed7f$89c2a6e0$b211a8c0@HIGHWAYMOBILE> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 24 Mar 2003 13:47:52 -0500 Message-Id: <1048531672.13798.284.camel@camel> Mime-Version: 1.0 X-Spam-Status: No, hits=-38.8 required=5.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_XIMIAN autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200303/397 X-Sequence-Number: 8037 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