From: | Vinay Sarvana <vinay(dot)dhoom(at)gmail(dot)com> |
---|---|
To: | pgsql-admin(at)postgresql(dot)org |
Subject: | Automatic trigger to backup |
Date: | 2010-05-14 05:55:48 |
Message-ID: | AANLkTik6M2yj7OhrRHr4IpKhYaW5nlbs5o7gIWdG2Sn3@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Hi. Is there any possibility for creating trigger file automatically in
postgres. Scenario is as follows :
There are some application which is having this postgres database. There are
main & backup database. Application is normally connected to first server.
If main server fails, application should connect to backup server. This is
PITR environment where WAL files are transferring from the main to backup.
Manually we are creating the trigger file for that application to connect to
backup database which will be master. Then we need to make previous master
as slave.
I need to know the automatic creation of trigger file....?
Vinay
From | Date | Subject | |
---|---|---|---|
Next Message | Yeb Havinga | 2010-05-14 07:13:17 | Re: List traffic |
Previous Message | Marc G. Fournier | 2010-05-14 05:29:39 | Re: List traffic |