pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: pg_basebackup restore a single table
Date: Wed, 11 Apr 2018 10:22:53 -0500
Message-ID: <4c94d474-fb81-0789-a9c2-f0b904562d17@gmail.com> (raw)
In-Reply-To: <a79a8e76-87a2-0d85-9f7e-4a1134cff19a@a-kretschmer.de>
References: <1523454780421-0.post@n3.nabble.com>
	<a79a8e76-87a2-0d85-9f7e-4a1134cff19a@a-kretschmer.de>



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.




view thread (6+ messages)  latest in thread

Message-ID: <4c94d474-fb81-0789-a9c2-f0b904562d17@gmail.com>
Permalink:  ../4c94d474-fb81-0789-a9c2-f0b904562d17@gmail.com/
Also on:    postgresql.org/message-id/4c94d474-fb81-0789-a9c2-f0b904562d17@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: ronljohnsonjr@gmail.com
  Subject: Re: pg_basebackup restore a single table
  In-Reply-To: <4c94d474-fb81-0789-a9c2-f0b904562d17@gmail.com>
  References: <1523454780421-0.post@n3.nabble.com> <a79a8e76-87a2-0d85-9f7e-4a1134cff19a@a-kretschmer.de> <4c94d474-fb81-0789-a9c2-f0b904562d17@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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