pg.ddx.io pgsql-admin@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgbackrest questions 2+ messages / 2 participants [nested] [flat]
* pgbackrest questions @ 2022-10-20 14:28 Sbob <sbob@quadratum-braccas.com> 0 siblings, 1 reply; 2+ messages in thread From: Sbob @ 2022-10-20 14:28 UTC (permalink / raw) To: Pgsql-admin <pgsql-admin@lists.postgresql.org> Hi All; I have 2 pgbackrest questions: 1) can I set recovery_target_action = 'pause' with a pgbackrest restore and then restart with a new timestamp if the data I am looking for has not yet been restored? 2) can I go grab the base backup and wal files from pgbackrest and perform my own manual recovery if I wanted to? Thanks in advance ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: pgbackrest questions @ 2023-01-20 04:05 Stephen Frost <sfrost@snowman.net> parent: Sbob <sbob@quadratum-braccas.com> 0 siblings, 0 replies; 2+ messages in thread From: Stephen Frost @ 2023-01-20 04:05 UTC (permalink / raw) To: Sbob <sbob@quadratum-braccas.com>; +Cc: Pgsql-admin <pgsql-admin@lists.postgresql.org> Greetings, * Sbob (sbob@quadratum-braccas.com) wrote: > 1) can I set recovery_target_action = 'pause' with a pgbackrest restore and > then restart with a new timestamp if the data I am looking for has not yet > been restored? Yes you can set --target-action=pause and then pgbackrest will set that for you in the PG config. After the initial restore is done though, you'd likely just change the target in the PG config instead of doing it with pgbackrest since you don't need an actual restore to be done (though you could, I suppose, use --delta with your restore, but that'd still involve a lot of files being restored and all of the WAL being replayed again, things that aren't really necessary...). > 2) can I go grab the base backup and wal files from pgbackrest and perform > my own manual recovery if I wanted to? Depending on the options you give to pgbackrest, yes. pgbackrest was designed to allow for a user to use regular command-line tools such as gzip to turn the repo and WAL files back into a working cluster and that continues to work for simple configurations. When bundles or the soon to be released block-level incrementals are done with pgbackrest, however, that won't be possible as those options require that we combine PG files and hunks of files into larger files which aren't easy to pull back apart. Thanks, Stephen Attachments: [application/pgp-signature] signature.asc (832B, ../../Y8oS8V%2FgIKXIVUqR@tamriel.snowman.net/2-signature.asc) download ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2023-01-20 04:05 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2022-10-20 14:28 pgbackrest questions Sbob <sbob@quadratum-braccas.com> 2023-01-20 04:05 ` Stephen Frost <sfrost@snowman.net>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox