Ubuntu 10.04 to 12.04 = PostgreSQL 7.4 database replaced by empty 9.1 -


in process of upgrading our ubuntu 10.04 server 12.04, postgresql upgraded 7.4 9.1 without warns. how can retrieve old tables 7.4 cluster , import them in 9.1 one? there's no 7.4 binaries packages in 12.04 repositories... thanks

you need dump databases first , upgrade. need running database server dump databases.

you experience problems jumping quite many versions in 1 go, if databases of size or complexity.

have in /var/lib/postgresql - if have directory called 7.4 that's old database.

either:

  1. install 10.04 on spare box, copy 7.4 dir onto it, start db, dump database.
  2. compile 7.4 source , use dump databases.

i'd go option 1 if seems viable.

ideally dump databases later version of pg_dump. if can install 8.x on ubuntu 10.04 worthwhile.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -