From: | Jeff Janes <jeff(dot)janes(at)gmail(dot)com> |
---|---|
To: | wd <wd(at)wdicc(dot)com> |
Cc: | Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: Restore postgres to specific time |
Date: | 2012-11-23 20:24:07 |
Message-ID: | CAMkU=1zPwYieLiiqqeemMr1hUncu8PZaDK5QRrZ2MpG9=Zpa9g@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Thu, Nov 22, 2012 at 7:29 PM, wd <wd(at)wdicc(dot)com> wrote:
> Thanks for your reply, the logs are something like bellow,postgres will
> restore every wal log I put in the xlog directory,and then continues waiting
> for next wal log. The postgres version is 9.1.6.
>
> [ 2012-11-22 18:49:24.175 CST 25744 50ae0334.6490 1 0]LOG: database
> system was shut down in recovery at 2012-11-22 18:49:22 CST
> [ 2012-11-22 18:49:24.176 CST 25744 50ae0334.6490 2 0]LOG: entering
> standby mode
Do you have standby_mode=on in your recovery.conf? If so, remove it.
It is meaningless to specify both standy_mode, and recovery_target_time.
Cheers,
Jeff
From | Date | Subject | |
---|---|---|---|
Next Message | Guillaume Lelarge | 2012-11-23 21:18:59 | Re: Revoke "drop database" even for superusers? |
Previous Message | Ike Nnabugwu | 2012-11-23 19:25:58 | Re: Npgsq |