From 7be2bc2d20ee179762faf42a49d8458e8a152bcd Mon Sep 17 00:00:00 2001 From: "R. Gierwialo" Date: Sun, 18 Jan 2026 11:38:02 +0000 Subject: [PATCH] pgbackrest for Postgres --- selfhosted_db/pgbackrest.conf | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 selfhosted_db/pgbackrest.conf diff --git a/selfhosted_db/pgbackrest.conf b/selfhosted_db/pgbackrest.conf new file mode 100644 index 0000000..6e02567 --- /dev/null +++ b/selfhosted_db/pgbackrest.conf @@ -0,0 +1,14 @@ +[global] +repo1-type=posix +repo1-path=/var/lib/pgbackrest +repo1-retention-full=2 +repo1-retention-diff=14 +start-fast=y +compress-type=gz +compress-level=3 +log-level-console=info + +[main] +pg1-path=/var/lib/postgresql/18/docker +pg1-user=joplin +pg1-database=postgres