migrate database from 9.1 to 8.4
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Nov 2012
    Posts
    37

    Default migrate database from 9.1 to 8.4

    i want to backup player notes on my postgres 9.1, but i find out that i cant, and its only work with 8.4.

    So, is there any possibility to migrate database from 9.1 to 8.4?



    Or any way to copy player notes from database? via postgres console, pgadmin ?
    Last edited by spoksik; 11-30-2012 at 05:52 AM.

  2. #2
    Former HM Support DogNamedBluff's Avatar
    Join Date
    May 2011
    Posts
    5,598

    Default

    I have escalated this to our 2nd level support techs. They will be in touch shortly.

  3. #3
    Former HM Support DogNamedBluff's Avatar
    Join Date
    May 2011
    Posts
    5,598

    Default

    Quote Originally Posted by spoksik
    So, is there any possibility to migrate database from 9.1 to 8.4?
    Or any way to copy player notes from database? via postgres console, pgadmin ?
    I am sorry to inform you but this is not possible.

  4. #4
    Member
    Join Date
    Nov 2012
    Posts
    37

    Default

    Quote Originally Posted by DogNamedBluff View Post
    I am sorry to inform you but this is not possible.
    it's possible. i find a way but i dont know postgresql to do this:



    Left table is table from "player_notes" and right table is table from "players". player_id integer from left table (1285) match player_id [PK] serial from right table which is 19roland198. I checked him in HM2 and its his note. So we could write query which will pull out all player notes and write them into new databse only if this player exist.


    I think that will take 5 min someone who is good with PSQ
    Attached Images Attached Images
    Last edited by spoksik; 12-06-2012 at 01:22 PM.

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

    Default

    I ran it by one of our guys who is really good with SQL, and he says there is no way to do the database migration.

    I'm not sure about just getting the notes. I haven't done a lot with SQL queries personally.
    Regards udbrky (Chris)

  6. #6
    Member
    Join Date
    Nov 2012
    Posts
    37

    Default

    Quote Originally Posted by udbrky View Post
    i ran it by one of our guys who is really good with sql, and he says there is no way to do the database migration.

    I'm not sure about just getting the notes. I haven't done a lot with sql queries personally.

    OK, I DID IT !!!

    i pull player notes from 9.1 and put them in 8.4

    1. Install PostgreSQL 8.4 Install PostgreSQL and phpPgAdmin in Windows with Wamp | Where Tutorial and Technology Meets (u will get two independent postgresql databases)

    2. Log in to PostgreSQL 8.4 database by pgAdmin3 and register a new role and give it all rights.

    3. Log in to PostgreSQL 9.1 database by pgAdmin3 and register a new role and give it all rights.

    4. Left click on tray icon of WAMP server, choose www directory

    5. Copy this: [PHP] export playernotes holdem manager - Pastebin.com to notepad and save with php extension, playernotes.php.

    6. Left click on tray icon WAMP server, choose PUT Online

    7. Open browser and type: http://localhost/playernotes.php

    That's ALL, GG QQ.

    Greets, thanks, hello for my friend, master of PHP: DJMRZ

  7. #7
    Member
    Join Date
    Nov 2012
    Posts
    37

    Default

    Quote Originally Posted by udbrky View Post
    I ran it by one of our guys who is really good with SQL, and he says there is no way to do the database migration.

    I'm not sure about just getting the notes. I haven't done a lot with SQL queries personally.


    ok i did it.

    I pull player notes from PSQ 9.1 and put them in PSQ 8.4

    Here it goes:

    1. Install PSQ 8.4, WAMP server and phpPgAdmin Install PostgreSQL and phpPgAdmin in Windows with Wamp | Where Tutorial and Technology Meets

    2. Log in to PSQ 8.4 with pgAdmin3 and set a "new role", give all rights

    3. Log in to PSQ 9.1 with pgAdmin3 and set a "new role", give all rights

    4. Left click on tray icon WAMP server, choose www directory

    5. Take this php code: [PHP] export playernotes holdem manager - Pastebin.com past it to notepad and save it in "www directory" with php extension - playernotes.php

    6. Edit, and change connection info to both databases (fill with info from "new role" (dont use default login and passoword - it wont connect )

    7. Left click on tray icon WAMP server, choose PUT online

    8. Open internet browser and type: http://localhost/playernotes.php

    9. DONE GG QQ OP

    Greetings for my buddy - PHP, and MySQL MASTER DJMRZ for helping me

Similar Threads

  1. Migrate from HM1 to HM2 (omaha)
    By DFX in forum General Support
    Replies: 1
    Last Post: 09-03-2012, 05:38 PM
  2. how to migrate hands from PT to HEM2?
    By dbabo in forum General Support
    Replies: 1
    Last Post: 12-20-2011, 11:27 AM
  3. best way to migrate PT3 to HEM?
    By :-) in forum Manager General
    Replies: 1
    Last Post: 01-23-2010, 07:33 AM
  4. Migrate to new laptop
    By teecee90 in forum Manager General
    Replies: 2
    Last Post: 10-04-2009, 12:04 PM
  5. Unable to get support to migrate to 1.08
    By Adrian20XX in forum Manager General
    Replies: 1
    Last Post: 05-11-2009, 06:05 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
  •