pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #14503: restore single database
3+ messages / 3 participants
[nested] [flat]

* BUG #14503: restore single database
@ 2017-01-17 19:03  pawan.sharma2@cognizant.com
  0 siblings, 2 replies; 3+ messages in thread

From: pawan.sharma2@cognizant.com @ 2017-01-17 19:03 UTC (permalink / raw)
  To: pgsql-bugs

The following bug has been logged on the website:

Bug reference:      14503
Logged by:          Pawan Sharma
Email address:      pawan.sharma2@cognizant.com
PostgreSQL version: 9.5.5
Operating system:   Linux
Description:        

How can we restore single database from base backup files only.

I don't have pg_dump backup.



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs


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

* Re: BUG #14503: restore single database
@ 2017-01-17 20:58  David G. Johnston <david.g.johnston@gmail.com>
  parent: pawan.sharma2@cognizant.com
  1 sibling, 0 replies; 3+ messages in thread

From: David G. Johnston @ 2017-01-17 20:58 UTC (permalink / raw)
  To: pawan.sharma2@cognizant.com; +Cc: pgsql-bugs

On Tue, Jan 17, 2017 at 12:03 PM, <pawan.sharma2@cognizant.com> wrote:

> The following bug has been logged on the website:
>
> Bug reference:      14503
> Logged by:          Pawan Sharma
> Email address:      pawan.sharma2@cognizant.com
> PostgreSQL version: 9.5.5
> Operating system:   Linux
> Description:
>
> How can we restore single database from base backup files only.
>
> I don't have pg_dump backup.
>

​Not a bug.  Please direct usage question to pgsql-general@postgresql.org

That said:

​
https://www.postgresql.org/docs/9.6/static/continuous-archiving.html#BACKUP-PITR-RECOVERY

You have to restore the entire cluster.  After you've done that you can
pg_dump the single database you care about from the newly restored cluster
and pg_restore it elsewhere.

David J.

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

* Re: BUG #14503: restore single database
@ 2017-01-17 21:25  Kevin Grittner <kgrittn@gmail.com>
  parent: pawan.sharma2@cognizant.com
  1 sibling, 0 replies; 3+ messages in thread

From: Kevin Grittner @ 2017-01-17 21:25 UTC (permalink / raw)
  To: pawan.sharma2@cognizant.com; +Cc: pgsql-bugs

On Tue, Jan 17, 2017 at 1:03 PM,  <pawan.sharma2@cognizant.com> wrote:

> How can we restore single database from base backup files only.
>
> I don't have pg_dump backup.

This is not a bug.  Please post to pgsql-general@postgresql.org for
this kind of problem.

-- 
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



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


end of thread, other threads:[~2017-01-17 21:25 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-01-17 19:03 BUG #14503: restore single database pawan.sharma2@cognizant.com
2017-01-17 20:58 ` David G. Johnston <david.g.johnston@gmail.com>
2017-01-17 21:25 ` Kevin Grittner <kgrittn@gmail.com>

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