Saving my database from another m.2 hard drive?
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Sep 2008
    Posts
    98

    Default Saving my database from another m.2 hard drive?

    I installed windows on one hard drive; HM2 poker clients, psql, etc on another hard drive. I have had to reformat windows and I am now on a clean install. I cannot however, connect to my old PSQL database even though I can start HM2. What can I do to keep my database intact?
    Last edited by czglory; 03-17-2016 at 09:44 PM.

  2. #2
    Member
    Join Date
    Sep 2008
    Posts
    98

    Default

    I was able to manually uninstall PSQL: after I reinstalled I was able to connect (followed the guide), but after I rebooted, I was again unable to connect. I got invalid password error but I am prettty sure it is correct. I tried to follow the PSQL password change guide, but I keep getting the 'no postgres user' or similar error.

  3. #3
    You're out! udbrky's Avatar
    Join Date
    Jul 2008
    Posts
    20,898

    Default

    Uninstall PostgreSQL & try the following steps:

    1) Run cmd.exe as Admin (Start > Search 'cmd' > Right-Click > Run As Admin)
    2) in CMD window run (type the code then hit Enter key) following command:
    net user postgres /del
    3) Reboot PC
    4) after reboot open cmd.exe again & run following commands:
    net user postgres postgrespass /add
    net localgroup Administrators postgres /add
    net localgroup Users postgres /delete
    runas /userostgres cmd.exe

    When it asks about password please input postgrespass & don`t worry if you don`t see any new symbols\inputs in cmd window. If you did all steps right then you should get new cmd window for postgres user.

    5) Download PostgreSQL installer (http://get.enterprisedb.com/postgres...-1-windows.exe) & move (copy/paste) it from the \Downloads folder to C:\
    6) in new cmd window for postgres user run following commands:
    cd c:\
    start postgresql-8.4.22-1-windows.exe
    Regards udbrky (Chris)

Similar Threads

  1. Replies: 1
    Last Post: 11-19-2015, 07:21 PM
  2. Creating a new database on a new hard drive
    By BubbleBoy in forum General Support
    Replies: 3
    Last Post: 02-14-2015, 12:58 PM
  3. Replies: 5
    Last Post: 11-28-2014, 10:38 PM
  4. Creating New Database in New SSD Hard Drive
    By GorillaMath in forum Manager General
    Replies: 3
    Last Post: 01-05-2013, 09:52 PM
  5. Moving HM database to new hard-drive
    By smokedog1878 in forum Manager General
    Replies: 5
    Last Post: 07-09-2011, 02:24 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •