Uninstall / reinstall postgres on other hdd + keeping the db

Hi there,
i have 4 huge mining dbs (45 gigs) + 1 played hands db in postgres. My problem is, that my hdd (partition) is running out of space so i want to uninstall postgres, keep the dbs, install postgres on another partition and finally copy-paste the dbs and "relink" them to/in the new installation (and PT3).
I found the (well written ^^) guide to uninstall/reinstall postgres and this should be not be problem in gerneral, but the guide assumes that postgres will be installed to the same directory as before (if i understood everything
). What do i have to do to copy-paste the dbs? Simply paste them into the correct folders? Which folders in detail do i have to paste?
If it is possible to leave the postgres installation as it is and simply move the dbs to another partition and "relink" them in postgres (and PT3?), i would prefer this solution as this seems to be easier and my postgres-pt3-environment works quick and stable and disc space is my only problem.
Thanks in advance for any hints!
i have 4 huge mining dbs (45 gigs) + 1 played hands db in postgres. My problem is, that my hdd (partition) is running out of space so i want to uninstall postgres, keep the dbs, install postgres on another partition and finally copy-paste the dbs and "relink" them to/in the new installation (and PT3).
I found the (well written ^^) guide to uninstall/reinstall postgres and this should be not be problem in gerneral, but the guide assumes that postgres will be installed to the same directory as before (if i understood everything

If it is possible to leave the postgres installation as it is and simply move the dbs to another partition and "relink" them in postgres (and PT3?), i would prefer this solution as this seems to be easier and my postgres-pt3-environment works quick and stable and disc space is my only problem.
Thanks in advance for any hints!
