Re: Restore xxxxx.backup database

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Richard Huxton <dev(at)archonet(dot)com>
Cc: adccs <adccs(at)tn(dot)gov(dot)in>, pgsql-general(at)postgresql(dot)org
Subject: Re: Restore xxxxx.backup database
Date: 2005-09-27 13:48:04
Message-ID: 11074.1127828884@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Richard Huxton <dev(at)archonet(dot)com> writes:
> adccs wrote:
>> [root(at)adccs ~]# /usr/bin/pg_restore -a /tmp/royapuram.backup
>> ERROR: pg_restore: [archiver] unsupported version (1.10) in file header

> Your user probably has a more recent version of PostgreSQL than you do,
> so pg_restore can't understand the format of the backup file.

Looking at the code, 1.10 corresponds to PG 8.0. A pg_restore version
older than 8.0 can't handle it because it won't know what to do with the
fields for tables' tablespaces.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Yonatan Ben-Nes 2005-09-27 13:56:42 Re: Slow query using LIMIT
Previous Message Tom Lane 2005-09-27 13:38:46 Re: Extraordinarily slow!!