Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group