Re: pgdump from 8.0.4 not valid for import into 8.1.0 - Mailing list pgsql-general

From Richard Huxton
Subject Re: pgdump from 8.0.4 not valid for import into 8.1.0
Date
Msg-id 4373540A.3090107@archonet.com
Whole thread Raw
In response to pgdump from 8.0.4 not valid for import into 8.1.0  (Richard Sydney-Smith <richard@ibisau.com>)
Responses Re: pgdump from 8.0.4 not valid for import into 8.1.0  (Richard Sydney-Smith <richard@ibisau.com>)
List pgsql-general
Richard Sydney-Smith wrote:
> ? In pgAdminIII linked to 8.0.4 server did a backup of all databased.
> Chose "plain" and saved to disk.
> uninstalled 8.0.4
> installed 8.1.0
>
> create database in pgAdminIII v1.4
> restore
> ---- reports as not a valid archive.
>
> Obviously this is not what I expect.
> Some older backups from a 7.4.? server on a Redhat machine will restore.

I'd guess it's expecting the "custom" archive format which lets you pick
and choose what to restore. Someone more knowledgable will pop up and
say for certain shortly.

You should be able to feed a "plain" backup to psql or to pg_restore though.

--
   Richard Huxton
   Archonet Ltd

pgsql-general by date:

Previous
From: Maik Trömel
Date:
Subject: time zone - timestamp
Next
From: "A. Kretschmer"
Date:
Subject: Re: time zone - timestamp