Unable to restore database
Results 1 to 4 of 4
  1. #1
    Member kidpokeher's Avatar
    Join Date
    Jul 2008
    Posts
    59

    Default Unable to restore database

    The database was backed up using 1.06.01. I tried to restore it into a newly created 1.06.02 database using PGAdmin in case that's the problem.

    Otherwise it's a long list of "unable to create..." constraint messages, unable to execute query: relation xxx already exists messages, 103 total that returned exit code 1. I'll post the errors if you want but it's pretty long.

    Fortunately I have the original hands so I can import them again, but what's the trick to restoring a backup?

  2. #2
    [Former] HM Support fabio's Avatar
    Join Date
    Jul 2008
    Posts
    2,067

    Default

    Please try this:

    get to the command prompt.
    enter psql -U postgres -f c:\dbbackup.sql postgres (or change the filename to whatever makes sense)

    Note: edit c:\dbbackup.sql to the path of your backup

  3. #3
    Member kidpokeher's Avatar
    Join Date
    Jul 2008
    Posts
    59

    Default

    Strange thing is, in spite of getting all these error messages when attempting to restore thru PGAdmin, it does appear to have worked. I'm getting stats on players and the HUD stats and hand histories are showing up. Weird.

  4. #4
    [Former] HM Support fabio's Avatar
    Join Date
    Jul 2008
    Posts
    2,067

    Default

    Export all HHs of the database just in case something gets broken.

Similar Threads

  1. If I backup 8.2 DB can I restore once on 8.3?
    By originaL in forum Manager General
    Replies: 5
    Last Post: 09-01-2008, 06:16 AM
  2. Cant resize or restore from tray
    By cheksta in forum Manager General
    Replies: 1
    Last Post: 08-27-2008, 11:03 AM
  3. HEM unable to load
    By koadyawn in forum Manager General
    Replies: 6
    Last Post: 08-04-2008, 02:55 PM
  4. Unable to see mucked hands
    By Riverlucker in forum Manager General
    Replies: 1
    Last Post: 07-23-2008, 05:22 PM
  5. Unable to active HM
    By TyCuS in forum Manager General
    Replies: 5
    Last Post: 07-09-2008, 10:00 AM

Posting Permissions

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