Received: from regulus.blazenet.net (regulus.blazenet.net [24.104.0.39]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f6IMZaa14265 for ; Wed, 18 Jul 2001 18:35:36 -0400 (EDT) (envelope-from abmanock@planetcable.net) Received: from OPS-100.planetcable.net (ip1.29.blca.blazenet.net [24.104.29.1]) by regulus.blazenet.net (8.9.3/8.9.3) with ESMTP id SAA07432; Wed, 18 Jul 2001 18:54:50 -0400 (EDT) Message-Id: <5.1.0.14.2.20010718181510.0282f740@pop.planetcable.net> X-Sender: abmanock@pop.planetcable.net X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Wed, 18 Jul 2001 18:28:08 -0400 To: Fran Fabrizio , pgsql-general@postgresql.org From: Adam Manock Subject: Re: replication? In-Reply-To: <3B55F205.441C92E4@mmrd.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Archive-Number: 200107/679 X-Sequence-Number: 12731 Hi, from: http://www.postgresql.org/idocs/index.php?backup.html : "pg_dump -h host1 dbname | psql -h host2 dbname" You could run this out of cron on your internal DB server (host1) And use a firewall rule like: # Allow internal DB server to use TCP for DB dumps pass in quick proto tcp from ip_of_host1 to ip_of_host2 port = 5432 flags S/FSRPAU keep state The rule above is for IP Filter http://coombs.anu.edu.au/~avalon/ Adam At 04:31 PM 7/18/01 -0400, Fran Fabrizio wrote: Does postgres support replication? I think this is the feature I need. I have a table in one db that I need to use from another db on another machine. The first db is behind two firewalls (for a good reason =) and the second needs to be hung out on the internet, so I can't really use the same db. But I would like to have the table on the internet Pg install to be updated whenever the master table behind the firewalls is updated. It doesn't need to be real-time, but maybe once every hour or half hour. I certainly have no problem cheating and just copying a file over or something if that will work. I looked through the docs but didn't see anything about replication in the Administrator manual, where I assume it'd be discussed. I did see a vague reference to a replication toolkit in the release notes, is this what I'm looking for? Thanks, Fran