Re: streaming replication trigger file

From: jenopob <jenopob(at)126(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: streaming replication trigger file
Date: 2011-07-07 03:07:41
Message-ID: 1310008061441-4559669.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I think you should make the base database the same

6. Make a base backup by copying the primary server's data directory to the
standby server.
$ psql -c "SELECT pg_start_backup('label', true)"
$ rsync -a ${PGDATA}/ standby:/srv/pgsql/standby/ --exclude postmaster.pid
$ psql -c "SELECT pg_stop_backup()"

--
View this message in context: http://postgresql.1045698.n5.nabble.com/streaming-replication-trigger-file-tp4494129p4559669.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Joe Lester 2011-07-07 04:29:09 failed archive command
Previous Message Chris Travers 2011-07-07 01:00:01 Re: Inherit trouble