Re: Can a whole server be restored over to another server in a single command? - Mailing list pgsql-admin

From Tom Lane
Subject Re: Can a whole server be restored over to another server in a single command?
Date
Msg-id 7390.1239483646@sss.pgh.pa.us
Whole thread Raw
In response to Re: Can a whole server be restored over to another server in a single command?  (Kevin Bailey <kbailey@freewayprojects.com>)
Responses Re: Can a whole server be restored over to another server in a single command?
List pgsql-admin
Kevin Bailey <kbailey@freewayprojects.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

pgsql-admin by date:

Previous
From: Kevin Bailey
Date:
Subject: Re: Can a whole server be restored over to another server in a single command?
Next
From: Kevin Bailey
Date:
Subject: Re: Can a whole server be restored over to another server in a single command?