migration problem

From: "P(dot) Jourdan" <pippo(at)videotron(dot)ca>
To: pgsql-novice(at)postgresql(dot)org
Subject: migration problem
Date: 2002-04-11 12:32:51
Message-ID: 5.1.0.14.2.20020411082440.00aaa848@mail.host45.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

I am trying to restore a database from a gzipped file: i believe that
backups were done as complete files (not partial) under Postgresql 7.0.3.
Pg_restore does not recognize the ungzipped file filename.psql. The
command, psql -d database -f filename.psql, restores it partially, but with
numerous errors and the database is mostly empty. As I understand, this
command restores the file to an existing database, so I had to create one
with the original filename. But I don't know if the newly created database
must have the exact same permissions, ownership, etc. as the original.
I am told to install the earlier version of Postgresql to restore, but that
seems to be complicated. Even if that works, how can the restored database
be migrated to a newer version of Postgresql?
Does anybody out there know about this kind of thing?
Thanks for any help.
P. Jourdan

Browse pgsql-novice by date

  From Date Subject
Next Message Joshua b. Jore 2002-04-11 13:55:12 Re: Perl query error
Previous Message Andrew McMillan 2002-04-11 11:33:33 Re: Perl query error