Unix Technical Forum

can't restore data\ folder

This is a discussion on can't restore data\ folder within the pgsql Admins forums, part of the PostgreSQL category; --> Greetings, I'm running Postgres 8.1.3 on Windows. Last week I made a copy of my data\ folder and then ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Admins

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2008, 07:25 AM
Samuel B. Quiring
 
Posts: n/a
Default can't restore data\ folder

Greetings,
I'm running Postgres 8.1.3 on Windows. Last week I made a copy of my data\
folder and then did a bunch of destructive stuff to my database. Now I'm
trying to restore my data\ folder and it is not working:

1. stop postgres
2. copy saved data\ folder into C:\Program Files\Postgres\8.1\data
3. start postgres

The service starts and then stops immediately with no log files. I get a
message from Windows that the service has stopped.

I've tried uninstalling postgres and re-installing it. It still doesn't
work.
I've tried changing all the permissions in the data\ folder, no luck.

I have noticed in the event log that I'm getting this message for the
postgres user:

Windows cannot log you on because your profile cannot be loaded.
Check that you are connected to the network, or that your network is
functioning correctly. If this problem persists, contact your network
administrator.

DETAIL - The system cannot find the file specified

Looking through my event history, it appears I've been getting this same
error for a long time.

I tried removing the postgres user then re-installing postgres to let it
recreate the user. It did,
but I'm still getting the "Windows cannot log you on..." error.

Any help would be appreciated.

-Sam
sbq (at) cayuse (dot) com


---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:58 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com