Re: How to restore - Mailing list pgsql-general

From Michael Paquier
Subject Re: How to restore
Date
Msg-id CAB7nPqRkan6o9PhREptLTk24tFVWXyJ6KvoCHpvdz5BMc0GAHA@mail.gmail.com
Whole thread Raw
In response to How to restore  (Sachin Srivastava <ssr.teleatlas@gmail.com>)
List pgsql-general
On Mon, Aug 10, 2015 at 2:41 PM, Sachin Srivastava
<ssr.teleatlas@gmail.com> wrote:
> Dear Team,
>
> If I have taken any backup successfully through pg_dump? How can I restore
> this pg_dump(Sql file) without use of pg_restore.
> There is any command line option or through psql, kindly inform to me.

The way to restore a backup depends on the format a dump has been taken:
http://www.postgresql.org/docs/devel/static/app-pgdump.html
Except the plain format that need psql, all the others (custom,
directory and tar) need pg_restore.
--
Michael


pgsql-general by date:

Previous
From: Guillaume Lelarge
Date:
Subject: Re: How to restore
Next
From: Guillaume Lelarge
Date:
Subject: Re: How to restore