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

From Richard Sydney-Smith
Subject Re: pgdump from 8.0.4 not valid for import into 8.1.0
Date
Msg-id 4373FD61.7000000@ibisau.com
Whole thread Raw
In response to Re: pgdump from 8.0.4 not valid for import into 8.1.0  (Richard Huxton <dev@archonet.com>)
List pgsql-general
Thanks Richard. Backup as compressed worked.

Richard Huxton wrote:

> 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: Scott Frankel
Date:
Subject: Re: Restoring from filesystem backup
Next
From: "Uwe C. Schroeder"
Date:
Subject: Re: Where