Re: Interrupt WAL recovery

From: Raghavendra <raghavendra(dot)rao(at)enterprisedb(dot)com>
To: Fabio Rueda Carrascosa <avances123(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Interrupt WAL recovery
Date: 2013-05-22 10:21:31
Message-ID: CA+h6AhgUEgiFbmXrt1ZOWxGkDPWXGFVXRYh=xp_=z2uPZLmg8g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, May 22, 2013 at 3:38 PM, Fabio Rueda Carrascosa <
avances123(at)gmail(dot)com> wrote:

> hello , I'm restoring a 7 days ago full backup + wal files. I have to
> recover more than 6k wal files and I have no time, I would accept to work
> with a ~ 3 days ago snapshot, can I stop the recovery process and start the
> server?, if yes, how?
>
> My recovery.conf file only has this line :
>
> restore_command = 'envdir /etc/wal-e.d/env /etc/wal-e.d/wal-e wal-fetch
> "%f" "%p"'
>
> Thanks in advance.
>

You can control the recovery process with recovery_target_time parameter.
This parameter helps you to recover wals till to the acceptable time for
you from the snapshot.

http://www.postgresql.org/docs/9.2/static/recovery-target-settings.html

---
Regards,
Raghavendra
EnterpriseDB Corporation
Blog: http://raghavt.blogspot.com/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Fabio Rueda Carrascosa 2013-05-22 10:23:35 Re: Interrupt WAL recovery
Previous Message Fabio Rueda Carrascosa 2013-05-22 10:08:59 Interrupt WAL recovery