pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Samuel B. Quiring <sbq@Cayuse.com>
To: pgsql-admin@postgresql.org
Subject: can't restore data\ folder
Date: Tue, 25 Jul 2006 10:45:24 -0700
Message-ID: <001901c6b012$1bfbe230$7801a8c0@SamsBox2> (raw)

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 




Message-ID: <001901c6b012$1bfbe230$7801a8c0@SamsBox2>
Permalink:  ../001901c6b012$1bfbe230$7801a8c0@SamsBox2/
Also on:    postgresql.org/message-id/001901c6b012$1bfbe230$7801a8c0@SamsBox2

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: sbq@Cayuse.com
  Subject: Re: can't restore data\ folder
  In-Reply-To: <001901c6b012$1bfbe230$7801a8c0@SamsBox2>
  References: <001901c6b012$1bfbe230$7801a8c0@SamsBox2>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox