Re: How to restore - Mailing list pgsql-general

From Andomar
Subject Re: How to restore
Date
Msg-id FB334FD4-3D6D-40AC-B292-CF52ABDA8222@aule.net
Whole thread Raw
In response to How to restore  (Sachin Srivastava <ssr.teleatlas@gmail.com>)
List pgsql-general
>
> If I have taken any backup successfully through pg_dump? How can I restore this pg_dump(Sql file) without use of
pg_restore.
>

You can send the file to psql, the command line client:

    psql yourdb < yourbackup.sql

Or:

    cat yourbackup.sql | psql yourdb

Kind regards,
Andomar




pgsql-general by date:

Previous
From: Guillaume Lelarge
Date:
Subject: Re: How to restore
Next
From: Leo Baltus
Date:
Subject: Re: pg_start_backup: file has vanished from pg_subtrans/