docs: update home/server/home/postgres

This commit is contained in:
Lukas Forsberg 2025-11-21 18:28:12 +01:00 committed by Lukas Forsberg
parent 0f4ec20090
commit 53b3788d30

View File

@ -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
```