backing up HEM database
Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Junior Member
    Join Date
    Aug 2008
    Posts
    20

    Default backing up HEM database

    I got a new computer and need to transfer the database from one computer to the next. But before I do the transfer, I wanted to: (1) backup the database.

    My first question is: how do I backup the current hand histories as a safeguard (see below)? IOW, where are the files & what are the specific steps?


    Note: Before backing up and restoring a Database, backup your current Hand History files as a safeguard! If you've been archiving your Hand Histories they should be easily accessible; if not, Export your Hand Histories from your current Database first so you always have a backup.

    My second question is: I have opened pdAdmin III & found the page w/ the databases listed based on the directions in the FAQs (BACKUP & RESTORE DATABASE). My second question is: Is the filename @ the top of HEM the filename for my HEM database (in pgadmin III)?

    Thanks. s/s.

  2. #2
    Tech Support Manager morny's Avatar
    Join Date
    Jul 2008
    Location
    Ireland
    Posts
    20,888

    Default

    Hi,

    If your doing a clean reinstall or moving HM to a new computer you should consider the following.

    Export and Import your Hand Histories and/or backup and restore your database
    FAQ - Hold'em Manager Poker Tracking Software :: How to Import & Export Hands
    FAQ - Hold'em Manager Poker Tracking Software :: Backup & Restore Database

    Export Your Notes


    Export Your Bonuses and Rakeback - Options > Rakeback & Bonuses

    Export any tourney summaries by selecting all your tournaments in the Data View Sub-Tab of the Tourney > Results Menu and choose Export Tourney Results and summaries



    See this FAQ FAQ - Hold'em Manager Poker Tracking Software :: Registration Benefits on how to reset your code

    and finally
    FAQ - Hold'em Manager Poker Tracking Software - Reinstalling HEM without Losing Preferences

    And yes that is the database name in the tiltle bar of HM
    --------------------------------------------------------------------------------------------------------------------
    We welcome any feedback on any solutions we provide, this helps us to provide better quality solutions in the future.

  3. #3
    Junior Member
    Join Date
    Aug 2008
    Posts
    20

    Default question part II =- password for postregsql

    I have backed up the database & saved the hand histories & followed the steps listed above. I have also downloaded HEM to my new computer. I have also transferred the database file to the new computer. But I do not know the password for postregsql when I am prompted for it. (I made no changes and followed the default download for HEM omaha.)

    I have attached a file that gives the specific error.

    thanks!!!!

  4. #4
    *** HM3! *** fozzy71's Avatar
    Join Date
    Jun 2005
    Location
    HM Support
    Posts
    32,814

    Default

    postgrespass

  5. #5
    Junior Member
    Join Date
    Aug 2008
    Posts
    20

    Default

    BTW, my OS = windows 7. I think this is one of those times when you need to disable the settings. (but I don't know how.)

  6. #6
    *** HM3! *** fozzy71's Avatar
    Join Date
    Jun 2005
    Location
    HM Support
    Posts
    32,814

    Default

    PT3's default name/password is - postgres/dbpass
    HM's default name/password is - postgres/postgrespass

    Start HM > Options > Database Management > Password:

    If that doesnt help:

    1. Go to C:\Program Files\PostgreSQL\8.x\data, move the the pg_hba file to your Desktop and open it with notepad.
    2. Scroll to the bottom and change all md5 to trust. Save and close the file
    3. Move the file back to the data folder
    4. Restart the PostgreSQL service: Control Panel -> Administrative Tools -> Services

    HM will accept any password now.

    FAQ - Hold'em Manager Poker Tracking Software :: Password Issues (PostgreSQL)

  7. #7
    Junior Member
    Join Date
    Aug 2008
    Posts
    20

    Default

    Next question. I have backed up the database & the HH & tourney histories & moved them to the new computer. I have run thru the postregsql & pointed it to the file that contains the backed up database. However, when I open HEM on the new computer, I still get zero hands + zero players. IOW, HEM is not recognizing the backed up database. I"m also concerned that the file size for the backed up database is too small (237 KB for approx 40K players).

    Does this sound right? How do I reopen the database & get it imported back into HEM on the new computer once I have backed up & moved the database onto the new computer? (must be in the FAQs?)

    tx. s/s.

  8. #8
    *** HM3! *** fozzy71's Avatar
    Join Date
    Jun 2005
    Location
    HM Support
    Posts
    32,814

    Default

    Quote Originally Posted by shawshank View Post
    Next question. I have backed up the database & the HH & tourney histories & moved them to the new computer. I have run thru the postregsql & pointed it to the file that contains the backed up database. However, when I open HEM on the new computer, I still get zero hands + zero players. IOW, HEM is not recognizing the backed up database. I"m also concerned that the file size for the backed up database is too small (237 KB for approx 40K players).
    You are restoring a .backup file, and the file is only 237KB? That is far too small for a DB Backup.

    Does this sound right? How do I reopen the database & get it imported back into HEM on the new computer once I have backed up & moved the database onto the new computer? (must be in the FAQs?)

    tx. s/s.
    Is this the process you used to backup and now restore the DB?

    FAQ - Hold'em Manager Poker Tracking Software :: Backup & Restore Database


    If the .backup won't restore properly I suggest you just make a new DB and import your archived and exported files. If you play a site like stars/ftp you can email their support and ask for all your old hand histories and tourney summaries.

  9. #9
    Junior Member
    Join Date
    Aug 2008
    Posts
    20

    Default

    So how do I make a new database? I have imported the hands from files in the past. And I backed up my database hand histories that contains 731 files & its total size is 648 MB. Does that file size sounds right for 40K players? And, if so, should I just import the hands from this file folder (using HEM autoimport IMPORT FILES option)?

  10. #10
    Junior Member
    Join Date
    Aug 2008
    Posts
    20

    Default

    I've also backed up tourney (150KB) & rakeback (1KB). So shouldn't I be able to just reimport those files to get my old database back?

    Plus how do I create a new database?

    Tx. s/s.

Similar Threads

  1. Backing up the Database - Windows 7
    By Dubya32 in forum Manager General
    Replies: 1
    Last Post: 02-24-2010, 10:19 PM
  2. Backing Up The Database
    By archiethe1st in forum Manager General
    Replies: 1
    Last Post: 02-12-2010, 06:48 AM
  3. Backing up database
    By prime in forum Manager General
    Replies: 3
    Last Post: 01-04-2010, 12:42 PM
  4. Trouble backing up my database
    By cargill06 in forum Manager General
    Replies: 1
    Last Post: 11-21-2009, 01:03 AM
  5. Backing up Database
    By Donut in forum Manager General
    Replies: 4
    Last Post: 03-31-2009, 04:13 PM

Posting Permissions

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