"Pedro A. Galvan" <pedro(dot)a(dot)galvan(at)gmail(dot)com> writes:
> Now I have a working 8.2 installation and all my data backed up
> in a 8.1 main directory.
> How can I load this into 8.2?
The standard answer is "install 8.1 for long enough to run pg_dumpall".
You could try pg_migrator:
http://pgfoundry.org/projects/pg-migrator/
but note that even its developers only claim it's beta-quality code.
You have got a backup, right?
regards, tom lane