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

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 (view raw or flat)
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

pgsql-admin by date

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

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