Re: pg_basebackup restore a single table

From: Ron <ronljohnsonjr(at)gmail(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: pg_basebackup restore a single table
Date: 2018-04-11 15:22:53
Message-ID: 4c94d474-fb81-0789-a9c2-f0b904562d17@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 04/11/2018 10:21 AM, Andreas Kretschmer wrote:
>
>
> Am 11.04.2018 um 15:53 schrieb camarillo:
>> Can I do a restore of a single table or single base using the archive
>> generated for the basebackup without having to delete the filesystem
>> (/var/lib/pgsql/9.5/*)?.
>
> No, but you can use a spare machine to restore the hole database
> (point-in-time-recovery) and restore the table from that using pg_dump or
> copy.

Not everyone has a spare machine and a few TB lying around...

--
Angular momentum makes the world go 'round.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Melvin Davidson 2018-04-11 15:39:25 Re: pg_basebackup restore a single table
Previous Message Andreas Kretschmer 2018-04-11 15:21:14 Re: pg_basebackup restore a single table