docs: update home/server/home/postgres
This commit is contained in:
parent
0f4ec20090
commit
53b3788d30
@ -2,7 +2,7 @@
|
|||||||
title: Postgres
|
title: Postgres
|
||||||
description:
|
description:
|
||||||
published: true
|
published: true
|
||||||
date: 2025-11-21T17:27:16.408Z
|
date: 2025-11-21T17:28:11.501Z
|
||||||
tags:
|
tags:
|
||||||
editor: markdown
|
editor: markdown
|
||||||
dateCreated: 2025-11-21T17:22:18.109Z
|
dateCreated: 2025-11-21T17:22:18.109Z
|
||||||
@ -49,4 +49,9 @@ Rename the data folder
|
|||||||
```
|
```
|
||||||
mv /var/lib/postgres/data /var/lib/postgres/data_old
|
mv /var/lib/postgres/data /var/lib/postgres/data_old
|
||||||
mv /var/lib/postgres/data_18 /var/lib/postgres/data
|
mv /var/lib/postgres/data_18 /var/lib/postgres/data
|
||||||
``
|
```
|
||||||
|
|
||||||
|
start postgres
|
||||||
|
```
|
||||||
|
sudo systemctl start postgresql
|
||||||
|
```
|
||||||
Loading…
x
Reference in New Issue
Block a user