pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Is there any tool that provides Physical Backup plus PITR for a single database ( Not  the whole PG instance )  ?
5+ messages / 4 participants
[nested] [flat]

* Is there any tool that provides Physical Backup plus PITR for a single database ( Not  the whole PG instance )  ?
@ 2019-12-15 14:32 Abraham, Danny <danny_abraham@bmc.com>
  2019-12-15 14:33 ` Is there any tool that provides Physical Backup plus PITR for a single database ( Not  the whole PG instance )  ? Abraham, Danny <danny_abraham@bmc.com>
  2019-12-16 08:05 ` Re: Is there any tool that provides Physical Backup plus PITR for a single database ( Not the whole PG instance ) ? Grigory Smolkin <g.smolkin@postgrespro.ru>
  0 siblings, 2 replies; 5+ messages in thread

From: Abraham, Danny @ 2019-12-15 14:32 UTC (permalink / raw)
  To: pgsql-general; +Cc: Abraham, Danny <danny_abraham@bmc.com>

I assume that this magic does not exist.
Am I right ?

^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Is there any tool that provides Physical Backup plus PITR for a single database ( Not  the whole PG instance )  ?
  2019-12-15 14:32 Is there any tool that provides Physical Backup plus PITR for a single database ( Not  the whole PG instance )  ? Abraham, Danny <danny_abraham@bmc.com>
@ 2019-12-15 14:33 ` Abraham, Danny <danny_abraham@bmc.com>
  2019-12-15 16:32   ` Re: Is there any tool that provides Physical Backup plus PITR for a single database ( Not the whole PG instance ) ? Adrian Klaver <adrian.klaver@aklaver.com>
  1 sibling, 1 reply; 5+ messages in thread

From: Abraham, Danny @ 2019-12-15 14:33 UTC (permalink / raw)
  To: pgsql-general

I assume that this magic does not exist.
Am I right ?
Thanks
Danny






^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: Is there any tool that provides Physical Backup plus PITR for a single database ( Not the whole PG instance ) ?
  2019-12-15 14:32 Is there any tool that provides Physical Backup plus PITR for a single database ( Not  the whole PG instance )  ? Abraham, Danny <danny_abraham@bmc.com>
  2019-12-15 14:33 ` Is there any tool that provides Physical Backup plus PITR for a single database ( Not  the whole PG instance )  ? Abraham, Danny <danny_abraham@bmc.com>
@ 2019-12-15 16:32   ` Adrian Klaver <adrian.klaver@aklaver.com>
  2019-12-16 02:21     ` Re: Is there any tool that provides Physical Backup plus PITR for a single database ( Not the whole PG instance ) ? Ron <ronljohnsonjr@gmail.com>
  0 siblings, 1 reply; 5+ messages in thread

From: Adrian Klaver @ 2019-12-15 16:32 UTC (permalink / raw)
  To: Abraham, Danny <danny_abraham@bmc.com>; pgsql-general

On 12/15/19 6:33 AM, Abraham, Danny wrote:
> I assume that this magic does not exist.
> Am I right ?

Take a look at:

https://pgbackrest.org/user-guide.html#restore/option-db-include

and see it that meets your needs. I have never actually done it so I 
cannot add anything to the above.

> Thanks
> Danny
> 
> 
> 
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com





^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: Is there any tool that provides Physical Backup plus PITR for a single database ( Not the whole PG instance ) ?
  2019-12-15 14:32 Is there any tool that provides Physical Backup plus PITR for a single database ( Not  the whole PG instance )  ? Abraham, Danny <danny_abraham@bmc.com>
  2019-12-15 14:33 ` Is there any tool that provides Physical Backup plus PITR for a single database ( Not  the whole PG instance )  ? Abraham, Danny <danny_abraham@bmc.com>
  2019-12-15 16:32   ` Re: Is there any tool that provides Physical Backup plus PITR for a single database ( Not the whole PG instance ) ? Adrian Klaver <adrian.klaver@aklaver.com>
@ 2019-12-16 02:21     ` Ron <ronljohnsonjr@gmail.com>
  0 siblings, 0 replies; 5+ messages in thread

From: Ron @ 2019-12-16 02:21 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org

On 12/15/19 10:32 AM, Adrian Klaver wrote:
> On 12/15/19 6:33 AM, Abraham, Danny wrote:
>> I assume that this magic does not exist.
>> Am I right ?
>
> Take a look at:
>
> https://pgbackrest.org/user-guide.html#restore/option-db-include
>
> and see it that meets your needs. I have never actually done it so I 
> cannot add anything to the above.

Restoring one db using pgbackrest zeroes out all the other databases.

(The inability to do PITR of a single database is a serious flaw in 
Postgres, but I don't think it can be solved.)

-- 
Angular momentum makes the world go 'round.





^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: Is there any tool that provides Physical Backup plus PITR for a single database ( Not the whole PG instance ) ?
  2019-12-15 14:32 Is there any tool that provides Physical Backup plus PITR for a single database ( Not  the whole PG instance )  ? Abraham, Danny <danny_abraham@bmc.com>
@ 2019-12-16 08:05 ` Grigory Smolkin <g.smolkin@postgrespro.ru>
  1 sibling, 0 replies; 5+ messages in thread

From: Grigory Smolkin @ 2019-12-16 08:05 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org

Hello!

pg_probackup can do that:
https://postgrespro.github.io/pg_probackup/#pbk-partial-restore


On 12/15/19 5:32 PM, Abraham, Danny wrote:
>
> I assume that this magic does not exist.
>
> Am I right ?
>
-- 
Grigory Smolkin
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company

^ permalink  raw  reply  [nested|flat] 5+ messages in thread


end of thread, other threads:[~2019-12-16 08:05 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-12-15 14:32 Is there any tool that provides Physical Backup plus PITR for a single database ( Not  the whole PG instance )  ? Abraham, Danny <danny_abraham@bmc.com>
2019-12-15 14:33 ` Abraham, Danny <danny_abraham@bmc.com>
2019-12-15 16:32   ` Re: Is there any tool that provides Physical Backup plus PITR for a single database ( Not the whole PG instance ) ? Adrian Klaver <adrian.klaver@aklaver.com>
2019-12-16 02:21     ` Re: Is there any tool that provides Physical Backup plus PITR for a single database ( Not the whole PG instance ) ? Ron <ronljohnsonjr@gmail.com>
2019-12-16 08:05 ` Re: Is there any tool that provides Physical Backup plus PITR for a single database ( Not the whole PG instance ) ? Grigory Smolkin <g.smolkin@postgrespro.ru>

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