Using of replication by initdb for both nodes?

From: Bocap <kakalot4_9(at)yahoo(dot)com>
To: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>, "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Using of replication by initdb for both nodes?
Date: 2013-08-29 13:54:26
Message-ID: 4581A99B-8839-432F-A546-0EA7B6C73D9F@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?

Best Regards,
Bocap

Browse pgsql-admin by date

  From Date Subject
Next Message Bocap 2013-08-29 14:06:58 Using of replication by initdb for both nodes?
Previous Message Pavan Deolasee 2013-08-29 11:27:12 Re: Will analyze run on a database affect writes?

Browse pgsql-general by date

  From Date Subject
Next Message Bocap 2013-08-29 14:06:58 Using of replication by initdb for both nodes?
Previous Message Hariraman Jayaraj 2013-08-29 12:15:50 Re: Delete duplicate records with same fields