Re: Move the postgreSQL database from Drive C to Map Network Drive (Called Z) - Mailing list pgsql-general

From Magnus Hagander
Subject Re: Move the postgreSQL database from Drive C to Map Network Drive (Called Z)
Date
Msg-id CABUevEzBKXueUeiEf4aCrQJp3_7NNEd65sk+1bUinJ7aReEArg@mail.gmail.com
Whole thread Raw
In response to Move the postgreSQL database from Drive C to Map Network Drive (Called Z)  (EllyR <ela_macky@yahoo.com>)
Responses Re: Move the postgreSQL database from Drive C to Map Network Drive (Called Z)
List pgsql-general
On Thu, May 3, 2012 at 8:55 PM, EllyR <ela_macky@yahoo.com> wrote:
> Hi,
>
> I have a huge Postgres database on my C drive, I am continuously collecting
> the data, so unfortunately, the drive is getting full and I wanted to move
> it to a map network drive I got. I followed the instruction in the link

It's not supported to run PostgreSQL off a windows network drive. It
might work, but it might also not - most likely it won't. There are
many different scenarios where this can cause corruption, and that's
why it's not supported.

<snip>

> 4 - Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\pgsql-8.0

Note that PostgreSQL 8.0 is not supported, and hasn't been for years.
You need to upgrade to at least 8.3 to get a supported version.


> But after doing all the things mentioned in the link, when I want to start
> the postgres again as a service, it can not be started, it seems it does not
> recognize the map network drive , would you please let me know if I am in
> the right track or I need to do something else? any help is appreciated.
> Thanks.

As PostgreSQL runs as it's own service, it has it's own set of network
drives. You need to make that map in the profile of the postgres user
for it to work. I'm pretty sure the instructions you've been following
are designed for moving the installation to a different *local* drive,
not to a network drive, which is why this is not mentioned there.


--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/

pgsql-general by date:

Previous
From: John R Pierce
Date:
Subject: Re: Move the postgreSQL database from Drive C to Map Network Drive (Called Z)
Next
From: Chris Angelico
Date:
Subject: Re: Move the postgreSQL database from Drive C to Map Network Drive (Called Z)