Re: Server/Data Migration Advice

From: Carlos Mennens <carlos(dot)mennens(at)gmail(dot)com>
To: PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: Server/Data Migration Advice
Date: 2011-12-12 17:39:08
Message-ID: CAAQLLO7VJ3oLcrNt4DjOosgGwRkehmcY-2wzqOKje2cRShGHYQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Dec 12, 2011 at 12:23 PM, Andreas Kretschmer
<akretschmer(at)spamfence(dot)net> wrote:
> - you should use 9.1.2, not 9.1.1 ;-)

I don't think it's available yet in Debian repositories. I can only
use whatever packages they've compiled in their repositories.

> - use the pg_dumpall from the new version to make the dump, for instance
>  pg_dumpall -h <old_host> ... | psql (something like this, on the new
>  host)

So it would look like this from my new server?

pg_dumpall -h old_db > mydata.sql

> Du you have BYTEA-Columns? The default output-format changed. Some other
> details changed too, read the release notes! I don't think I have any BYTEA columns so I think I'm OK. I'll read the release notes...

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Wojciech Strzałka 2011-12-12 18:05:15 Re: Problem installing PG9.1 using yum
Previous Message Cédric Villemain 2011-12-12 17:23:49 Re: Server/Data Migration Advice