Re: Postgres backup & restore

Justin Pryzby <[email protected]>
Newsgroups gmane.comp.db.postgresql.performance
Message-ID <[email protected]>
On Tue, Apr 16, 2019 at 05:41:31PM +0000, Daulat Ram wrote:
> postgres=# \l
> kb_rep    | postgres | UTF8     | C.UTF-8 | C.UTF-8 |

> postgres@b06a42b503e9:/$ pg_restore -h 10.29.50.21 -p 5432 -d kb_rep -v /var/lib/kb_rep_backup16
> pg_restore: [archiver (db)] connection to database "kb_rep" failed: FATAL:  database "kb_rep" does not exist

Are you sure this DB is the one running on 10.29.50.21 port 5432 ?

Justin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.