pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andreas Kretschmer <andreas@a-kretschmer.de>
To: pgsql-general@lists.postgresql.org
Subject: Re: pg_basebackup restore a single table
Date: Wed, 11 Apr 2018 17:21:14 +0200
Message-ID: <a79a8e76-87a2-0d85-9f7e-4a1134cff19a@a-kretschmer.de> (raw)
In-Reply-To: <1523454780421-0.post@n3.nabble.com>
References: <1523454780421-0.post@n3.nabble.com>



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.


Andreas

-- 
2ndQuadrant - The PostgreSQL Support Company.
www.2ndQuadrant.com





view thread (6+ messages)  latest in thread

Message-ID: <a79a8e76-87a2-0d85-9f7e-4a1134cff19a@a-kretschmer.de>
Permalink:  ../a79a8e76-87a2-0d85-9f7e-4a1134cff19a@a-kretschmer.de/
Also on:    postgresql.org/message-id/a79a8e76-87a2-0d85-9f7e-4a1134cff19a@a-kretschmer.de

 · 

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: andreas@a-kretschmer.de
  Subject: Re: pg_basebackup restore a single table
  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>

* 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