Re: borrado de archivos WAl

From: Martín Marqués <martin(dot)marques(at)gmail(dot)com>
To: Fernando Monjes <ing(dot)bovet(at)gmail(dot)com>
Cc: "Guillermo E(dot) Villanueva" <guillermovil(at)gmail(dot)com>, kernel <jucabapa(at)gmail(dot)com>, Ayuda <pgsql-es-ayuda(at)postgresql(dot)org>
Subject: Re: borrado de archivos WAl
Date: 2025-02-19 08:36:02
Message-ID: CABeG9LsYjEQT2mVQgBf-sHRPoCUdcLR6q-eF0h3OT15LeoicKg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

El mar, 18 feb 2025 a las 19:33, Fernando Monjes
(<ing(dot)bovet(at)gmail(dot)com>) escribió:
>
> Si tienes barman si se pueden recuperar los wal, puedes hacer PITR esa es la gran maravilla de barman
>
> ejemplo
> barman recover <bd> number --remote-ssh-command "ssh postgres@<ip> " --target-time="2021-03-22 03:22:47.681236-03:00" /var/lib/pgsql/15/data
>
> y te recupera esa linea de tiempo con los wal hasta esa fecha

Si tiene Barman, solo tiene que configurar `barman_wal_restore` o
copiar los WALs desde el servidor de backup al pg_wal del servidor. No
hace falta hacer un `restore` en este caso.

--
Martín Marqués
It’s not that I have something to hide,
it’s that I have nothing I want you to see

In response to

Responses

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Martín Marqués 2025-02-19 08:41:23 Re: intermitente query lenta
Previous Message Martín Marqués 2025-02-19 08:34:10 Re: borrado de archivos WAl