Re: Can a whole server be restored over to another server in a single command?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Kevin Bailey <kbailey(at)freewayprojects(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Can a whole server be restored over to another server in a single command?
Date: 2009-04-11 21:00:46
Message-ID: 7390.1239483646@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Kevin Bailey <kbailey(at)freewayprojects(dot)com> writes:
> Tom Lane wrote:
>> What exactly is the scenario you are trying to have here? Is this
>> a poor man's substitute for replication?

> Yes. Poor man's replication is what we're after! :o)

>> Do you want the destination
>> server to include other stuff besides what is coming from the source?

> The destination server (we call the Secondary server) only needs to be a
> copy of the Primary (live) server.

Well, the easiest solution is just to re-initdb the secondary and load
pg_dumpall output into it. Is there anything you expect to gain by
re-inventing portions of pg_dumpall?

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Kevin Bailey 2009-04-12 07:54:34 Re: Can a whole server be restored over to another server in a single command?
Previous Message Kevin Bailey 2009-04-11 20:50:22 Re: Can a whole server be restored over to another server in a single command?