Re: pg_restore problem - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: pg_restore problem
Date
Msg-id 200404271846.02385.peter_e@gmx.net
Whole thread Raw
In response to pg_restore problem  (mail@ekaiser.de)
List pgsql-general
mail@ekaiser.de wrote:
> pg_dumpall > backup
> from 7.4 trying: pg_restore backup
> results in postgres' [Archiver]s suspicion that "backup"
> was not a valid archive.

What you backup by pg_dumpall is to be restored using psql, not
pg_restore.  Read the man pages of pg_dump and pg_dumpall to confirm
what is to be used to restore the various forms of backups.



pgsql-general by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Unicode encoding
Next
From: Peter Eisentraut
Date:
Subject: Re: shadowing (like IB/Firebird)