Re: Simulate a PITR in postgresql 16

Поиск
Список
Период
Сортировка
От raphi
Тема Re: Simulate a PITR in postgresql 16
Дата
Msg-id e8bc180a-17c2-4d1a-8b00-5fe5eb7e42d2@crashdump.ch
обсуждение исходный текст
Ответ на Simulate a PITR in postgresql 16  (Franklin Anderson de Oliveira Souza <franklinbr@gmail.com>)
Список pgsql-general

Am 30.06.2025 um 21:45 schrieb Ron Johnson:
> Using PgBackRest might be more convenient, since it handles everything 
> you need, is multithreaded, never removes too many wal files, 
> compresses files if you want and also encrypts them if you want.
>
I agree, with pgBackRest it's basically: pgbackrest --stanza=demo 
--delta --type=time "--target=2025-05-05 15:37:03.157376+00" 
--target-action=promote restore

and you are done. It will also restore configure files and you can also 
selectively restore only one DB in the cluster if you want to speed up 
things. Works very well with S3 too and is very easy to integrate in an 
ansible playbook to have a generic way to do PITRs.

Check out the official user guide: https://pgbackrest.org/user-guide.html

have fun
raphi




В списке pgsql-general по дате отправления: