Search Postgresql Archives

Re: Unable to upgrade old cluster from 8.4 to 9.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thom Brown wrote:
> On 23 September 2010 10:51, Boris <sw0rdf1sh_i@xxxxxxxxx> 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@xxxxxxxxxx>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux