move data repository : server does not restart (windows 10)

Started by celati Laurentover 4 years ago2 messagesgeneral
Jump to latest
#1celati Laurent
laurent.celati@gmail.com

Good morning,

I want to move the data folder from default path to another drive/path.
I made an attempt thaks to this link ressource :

https://wiki.postgresql.org/wiki/Change_the_default_PGDATA_directory_on_Windows

I checked the 4 requirements. But the postgres server does not restart.

Could you tell me the best way to do this action please ?

Thanks a lot.

#2Dave Cramer
pg@fastcrypt.com
In reply to: celati Laurent (#1)
Re: move data repository : server does not restart (windows 10)

It would be helpful to see the logs from the failed start.

Dave Cramer
www.postgres.rocks

On Thu, 12 Aug 2021 at 07:59, celati Laurent <laurent.celati@gmail.com>
wrote:

Show quoted text

Good morning,

I want to move the data folder from default path to another drive/path.
I made an attempt thaks to this link ressource :

https://wiki.postgresql.org/wiki/Change_the_default_PGDATA_directory_on_Windows

I checked the 4 requirements. But the postgres server does not restart.

Could you tell me the best way to do this action please ?

Thanks a lot.