Re: Accessing an old database from a new OS installation.

From: Matthew Henderson <M(dot)J(dot)Henderson(at)swansea(dot)ac(dot)uk>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Accessing an old database from a new OS installation.
Date: 2006-01-27 14:21:31
Message-ID: 20060127142131.GA4804@cspcok.swan.ac.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Okay, so if I have 7.4 installed and I have the old
harddisk mount under /mnt/hda can I do something
like

pg_dump /mnt/hda/path_to_old_database > dump.txt

???

On Fri, Jan 27, 2006 at 02:47:21PM +0100, Peter Eisentraut wrote:
> Am Freitag, 27. Januar 2006 11:30 schrieb Matthew Henderson:
> > How should I go about doing this? Are there any problems
> > I should be aware of in moving from version 7.4 to 8.1?
>
> For one thing you won't be able to read the 7.4 database using 8.1 binaries,
> so you need to get 7.4 installed first in order to make a dump. If there are
> no packages available you will have to compile it by hand.
>
> --
> Peter Eisentraut
> http://developer.postgresql.org/~petere/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2006-01-27 14:26:48 stats for failed transactions (was Re: [GENERAL] VACUUM Question)
Previous Message John D. Burger 2006-01-27 14:14:09 Re: Finding missing records