backup database problem

Forum with tips, support, etc, on using the PostgreSQL database with Poker Tracker. Please post any PostgreSQL questions here.

backup database problem

Postby jethro87 » Tue Aug 12, 2008 12:35 pm

When trying to backup my postgresql db on my laptop, I get the problem where in the config file I have to change the field from md5 to 'trust'. I can do this, but the file won't save at all. It says. "Cannot create the C:\program files\postgresq8.2\data\pg_hba.conf file. Make sure that the path and file name are correct. I tried saving the file somewhere else but it doesn't work.
jethro87
 
Posts: 11
Joined: Tue Apr 29, 2008 11:48 pm

Re: backup database problem

Postby ptrack pat » Tue Aug 12, 2008 1:36 pm

Are you using Vista? If so, you have to open the file using 'run as administrator'. From the Start menu select

All Programs > PostgreSQL > Configuration Files and then right-click on "Edit pg_hba.conf" and select 'run as administrator' from the menu.
Then make the changes to the file and save it.
ptrack pat
 
Posts: 4841
Joined: Sun Dec 09, 2007 12:38 pm


Return to PostgreSQL Forum

Who is online

Users browsing this forum: No registered users and 13 guests

cron