Re: A particular database to move to other drive - Mailing list pgsql-admin

From Stéphane KANSCHINE
Subject Re: A particular database to move to other drive
Date
Msg-id 20171127093544.lgap7swy2zcpykvx@office.hexack.fr
Whole thread Raw
In response to A particular database to move to other drive  (nikhil raj <nikhilraj474@gmail.com>)
Responses Re: A particular database to move to other drive
List pgsql-admin
Le dim. 26 nov., vers 01:08, nikhil raj exprimait :

> Hi,

Hey !

> I want to move a database to 'Y drive' because the size of that database is
> large about so can I move only that database to because I got an alert of
> low space is there any way
> Currently it is on F drive I want to move to Y drive .

Just :
- shutdown your instance
- move data_directory to its new location
- upgrade data_directory to its new location in postgresql.conf
- restart your instance

Done.

Regards,
-- 
Stéphane KANSCHINE - http://www.hexack.fr./ - http://www.nuajik.com./
@ stephane@hexack.fr
  +33 6 64 31 72 52


pgsql-admin by date:

Previous
From: Shreeyansh Dba
Date:
Subject: Re: A particular database to move to other drive
Next
From: Abhishek Gautam
Date:
Subject: Re: A particular database to move to other drive