Skip site navigation (1) Skip section navigation (2)

PG dump and restore

From: Dennis C <dcswest(at)gmail(dot)com>
To: questions(at)postgresql(dot)org
Subject: PG dump and restore
Date: 2010-06-25 15:28:24
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-general

As I've been doing for quite some time, backed up my database as
such: /opt/local/lib/postgresql84/bin/pg_dump -c -f ./Trading-Access -Z 5

But then when I tried restoring it my usual way as
such: /opt/local/lib/postgresql84/bin/pg_restore -d Trading-Access
it causes the error: pg_restore: [archiver] input file does not appear to be
a valid archive

So in trying: /opt/local/lib/postgresql84/bin/psql Trading-Access <
it causes the error: invalid byte sequence for encoding "UTF8": 0x8b



pgsql-general by date

Next:From: Thom BrownDate: 2010-06-25 15:37:29
Subject: Re: PG dump and restore
Previous:From: Alvaro HerreraDate: 2010-06-25 15:20:29
Subject: Re: Waarschuwing na pg_dumpall en restore

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group