Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 16A0547583B for ; Wed, 29 May 2002 03:33:40 -0400 (EDT) Received: from Donald.bks (unknown [203.145.133.13]) by postgresql.org (Postfix) with ESMTP id 6EB42475938 for ; Wed, 29 May 2002 03:33:30 -0400 (EDT) Received: from Larry.bks (root@Larry.bks [200.2.1.10]) by Donald.bks (8.11.6/8.11.2) with ESMTP id g4T7atT02571 for ; Wed, 29 May 2002 13:07:03 +0530 Received: from localhost (bhuvan@localhost) by Larry.bks (8.9.3/8.8.5) with ESMTP id MAA02906 for ; Wed, 29 May 2002 12:54:49 +0530 X-Authentication-Warning: Larry.bks: bhuvan owned process doing -bs Date: Wed, 29 May 2002 12:54:48 +0530 (IST) From: Bhuvan A X-Sender: bhuvan@Larry To: pgsql-admin@postgresql.org Subject: Mirroring ENTIRE DATABASE. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200205/244 X-Sequence-Number: 4419 Hi, How can we mirror an ENTIRE DATABASE? I have came across pgreplicator and it seems that it will mirror ONLY TABLES. Then how about views, functions, triggers, sequences, etc.(somebody correct me if wrong) So am i unable to mirror a ENTIRE DATABASE in postgres? Else shall i do this way on per day basis. $ pg_dump -h localhost dbname user | psql -h hostname dbname user Or is there any other better option than this one. Ofcourse i am planning to mirror within LAN. Expecting your valuable suggestions. regards, bhuvaneswaran.