Re: Restore 8.1.4 backup in 8.2.5

From: "Hiroshi Saito" <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp>
To: <pgsql-general(at)postgresql(dot)org>, <MargaretGillon(at)chromalloy(dot)com>
Subject: Re: Restore 8.1.4 backup in 8.2.5
Date: 2007-09-20 01:03:54
Message-ID: 00c101c7fb22$1ddb2730$c601a8c0@HP22720319231
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Hi.

pgAdminIII uses pg_restore by restoration. Then, pg_restore does not recognize a PlainText
format.
Please use psql from a command line...

Regards,
Hiroshi Saito

----- Original Message -----
From: MargaretGillon(at)chromalloy(dot)com

I have a backup file from Postgresql 8.1.4. When I try to use 8.2.5 pg_restore the restore
doesn't recognize the archive format. The archive file was made with the command below. Is
there a way to get 8.2.5 to recognize the file, or a way to run the file as a script from a
different program like PG_ADMIN III? As far as I can see the archive is text. My postgresql
8.1.4 installation is no longer working.

su --command="/usr/local/pgsql/bin/pg_dump -p 55432 -U postgres -C -D -f /tmp/$(date
+%F)owl.sql owl"

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Margaret Gillon, IS Dept., Chromalloy Los Angeles, ext. 297

This e-mail message and any attachment(s) are for the sole use of the intended recipient(s)
and may contain proprietary and/or confidential information which may be privileged or
otherwise protected from disclosure. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient(s), please contact the
sender by reply email and destroy the original message and any copies of the message as well
as any attachment(s) to the original message.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Charles.Hou 2007-09-20 02:34:40 about pgpool question
Previous Message MargaretGillon 2007-09-19 23:25:45 Restore 8.1.4 backup in 8.2.5