| From: | George Neuner <gneuner2(at)comcast(dot)net> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Changing default ../data/ directory |
| Date: | 2020-01-04 17:38:23 |
| Message-ID: | moi11fh396i9hqhnr8q645hgro9aiofdbg@4ax.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On Sat, 4 Jan 2020 07:20:44 -0800 (PST), Rich Shepard
<rshepard(at)appl-ecosys(dot)com> wrote:
>As this is all new to me I want to learn how to:
>
>1) Define a postgresl.conf and learn where it should be located.
>
>2) Move all current databased in /var/lib/pgsql/11/data to /data/pgsql/11.
>
>3) Create all new databases in /data/pgsql/11 by default.
>
>I'm sure it's in the manual yet I'm unsure just where to start reading.
>
>Rich
Since the new drive is local you can just move the data directory to
its new location and link to it from the default (/var) location. No
configuration changes needed.
Won't help you learn necessarily, but solves the problem.
YMMV,
George
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Rich Shepard | 2020-01-04 18:05:53 | Re: Changing default ../data/ directory |
| Previous Message | Jeff Janes | 2020-01-04 16:37:49 | Re: Changing default ../data/ directory |