Re: pg_restore: [archiver] input file does not appear to be a valid archive

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: ogjunk-pgjedan(at)yahoo(dot)com
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: pg_restore: [archiver] input file does not appear to be a valid archive
Date: 2004-09-15 14:22:38
Message-ID: 3379.1095258158@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

<ogjunk-pgjedan(at)yahoo(dot)com> writes:
> This is how I'm dumping my DB:

> # pg_dump -d mydb --clean --inserts --column-inserts --format=P -v -h
> localhost -p 5432 -U otis > dbdump

> # pg_restore -a -d myOtherDbName dbdump
> pg_restore: [archiver] input file does not appear to be a valid archive

Plain dump format is a script to feed to psql. pg_restore is only for
the other two formats.

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Naomi Walker 2004-09-15 15:35:38 Sorting Sequence
Previous Message Gaetano Mendola 2004-09-15 14:16:05 Re: VACUUM FULL achieves nothing / Postgres 7.3.2 + RedHat 7.3