PDA

View Full Version : database mergin



kajtush
04-13-2011, 09:12 PM
sup
i was usin hem 4 some time. few days ago hem crushed n i had 2 instal new postresql. now when i run psql i cant find my old databases. i put folders into a new corect location there are 2 folders 8.3 n 0.4. how 2 run it correctly n merge em. needa help plx

Sarek
04-14-2011, 06:00 AM
8.3 and 8.4 databases are not compatible.
If you want to see old DB - you need to install the same Postgres version. And set old "data" folder as database cluster during install.
But this is not possible when you install Postgres within "combo" HM installer. D-load a standalone PG from PostgreSQL: The world's most advanced open source database (http://www.postgresql.org)

kajtush
04-15-2011, 12:31 PM
ty 4 answer. i did exacly what u said. unfortunatly there are no old databasses besides one that i created yesterday n even it is not workin :(

can u help me once again, step by step what should i do?
tyvm

netsrak
04-16-2011, 07:48 AM
Do you have a folder c:\program files\postgres\8.3\data?

If yes please download and install postgresql 8.3 from PostgreSQL: The world's most advanced open source database (http://www.postgresql.org) following this faq: http://faq.holdemmanager.com/questions/71/Reinstall+PostgreSQL+Preserving+Old+Database

You will need to install postgresql 8.3 to a different port (5433 for example) as you already have another postgresql version installed.