Re: Postgres Point in time Recovery (PITR),
От | David Steele |
---|---|
Тема | Re: Postgres Point in time Recovery (PITR), |
Дата | |
Msg-id | 3ff2963f-daab-81d4-ab1a-569fe1c8857b@pgmasters.net обсуждение исходный текст |
Ответ на | Re: Postgres Point in time Recovery (PITR), (Luca Ferrari <fluca1978@gmail.com>) |
Ответы |
Re: Postgres Point in time Recovery (PITR),
|
Список | pgsql-general |
On 10/18/19 11:29 AM, Luca Ferrari wrote: > On Fri, Oct 18, 2019 at 10:30 AM Andreas Joseph Krogh > <andreas@visena.com> wrote: >> We use barman (https://www.pgbarman.org/) for continuous streaming backup and I had to restore from it once, and it wentlike this: > > Just for the records, here's an example of restore with pgbackrest: > > % sudo -u postgres pgbackrest --stanza=miguel \ > --log-level-console=info --delta restore > ... > INFO: restore backup set 20190916-125652F > INFO: remove invalid files/paths/links from /postgres/pgdata/11 > INFO: cleanup removed 148 files, 3 paths > ... > INFO: write /postgres/pgdata/11/recovery.conf > INFO: restore global/pg_control (performed last > to ensure aborted restores cannot be started) > INFO: restore command end: completed successfully (5113ms) pgBackRest also has a tutorial on PITR: https://pgbackrest.org/user-guide.html#pitr -- -David david@pgmasters.net
В списке pgsql-general по дате отправления: