From: Bhuvan A <bhuvansql@linuxfreemail.com>
To: pgsql-admin@postgresql.org
Subject: Mirroring ENTIRE DATABASE.
Date: Wed, 29 May 2002 12:54:48 +0530 (IST)
Message-ID: <Pine.LNX.4.20.0205291147470.1253-100000@Larry> (raw)
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.
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: bhuvansql@linuxfreemail.com
Subject: Re: Mirroring ENTIRE DATABASE.
In-Reply-To: <Pine.LNX.4.20.0205291147470.1253-100000@Larry>
References: <Pine.LNX.4.20.0205291147470.1253-100000@Larry>
* 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