Using of replication by initdb for both nodes?

From: Bocap <kakalot4_9(at)yahoo(dot)com>
To: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Using of replication by initdb for both nodes?
Date: 2013-08-29 14:06:58
Message-ID: C46BE1A1-154B-4D88-B813-16C1AFDA9466@yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

Hi all,

I think it is not documented the follow using of replication, but is that correct.

1. Instead of using pg_basebackup for standby DB, i initdb for both standby and primary.
2. Create recovery.conf in standby DB, and start both nodes.

Now it work fine for me, but is it sure that no problem?

Regards,
Bocap

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Bocap 2013-08-29 14:37:50 Re: Using of replication by initdb for both nodes?
Previous Message Bocap 2013-08-29 13:54:26 Using of replication by initdb for both nodes?

Browse pgsql-general by date

  From Date Subject
Next Message Bocap 2013-08-29 14:37:50 Re: Using of replication by initdb for both nodes?
Previous Message Bocap 2013-08-29 13:54:26 Using of replication by initdb for both nodes?