PDA

View Full Version : My DB is on the wrong drive



BjarneRiis
01-03-2012, 05:33 PM
Hello.

Yesterday Ive uninstalled my HEM and postgresql from my 256gb SSD disk (C:), since my DB grew very large.

Then Ive reinstalled both on my 1.5tb hd (E:).

So long so good.

Then Ive were backing the data up, from an the old backupfile.

And then I see, that the db must be at the SSD drive (since Ive lost like 90gb there) and the data dir in postgresql folder on E: is almost empty.

What went wrong, where is my db now and how do I fix it?

fopah
01-04-2012, 04:46 PM
Holdem Manager and postgres need to be installed to the same drive. You will have to uninstall and reinstall onto the new drive.

http://faq.holdemmanager.com/questions/368/Move+Database+to+Another+Hard+Drive+or+Partition

BjarneRiis
01-04-2012, 06:44 PM
I already did (they are both installed on E:).

But still the DB is somewhere at C:

Patvs
01-04-2012, 07:31 PM
Check the Program Files(x86)/PostgreSQL/8.x/data folder
And delete the old folder.

Also check the C:/Users/%yourusername%\AppData\Local/Temp folder and delete old files in there.