From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | Thom Brown <thom(at)linux(dot)com> |
Cc: | Boris <sw0rdf1sh_i(at)yahoo(dot)com>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: Unable to upgrade old cluster from 8.4 to 9.0 |
Date: | 2010-09-23 16:23:34 |
Message-ID: | 201009231623.o8NGNY011721@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Thom Brown wrote:
> On 23 September 2010 10:51, Boris <sw0rdf1sh_i(at)yahoo(dot)com> wrote:
> > Hello,
> >
> > I have Debian Linux (unstable) server, and I am trying to upgrade 8.4 version
> > database to 9.0, all developer packages for both versions were installed, as
> > well as client ( postgresql-server-dev-8.4
> > postgresql-client-8.4 postgresql-server-dev-9.0 postgresql-client-9.0).
> >
> > Here is the command I use
> >
> > /usr/lib/postgresql/9.0/bin/pg_upgrade -d -c /var/lib/postgresql/8.4/main/ -D
> > /var/lib/postgresql/9.0/main/ -b /usr/lib/postgresql/8.4/bin/ -B
> > /usr/lib/postgresql/9.0/bin/ --user=postgres
>
> The -d and -c options appear to be the wrong way round. Looks like
> you're passing -c as the parameter for -d.
Yep, that is it. In fact the error message confirms it:
Checking old data directory (-c)
check for base failed: No such file or directory
It thinks the old data directory is "-c".
--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ It's impossible for everything to be true. +
From | Date | Subject | |
---|---|---|---|
Next Message | Merlin Moncure | 2010-09-23 16:24:05 | Re: update from 9.0rc1 to 9.0 |
Previous Message | Octavio Alvarez | 2010-09-23 15:38:38 | Re: Need magic for identifieing double adresses |