From 2f605ade4cdf42640d8f4c589058376da0e36248 Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Sat, 4 Nov 2023 05:03:54 +0900 Subject: Backup Matrix and IRC messages Matrix media are yet to be backed up. --- irc.nix | 1 + matrix.nix | 1 + 2 files changed, 2 insertions(+) diff --git a/irc.nix b/irc.nix index 671b872..9c5b309 100644 --- a/irc.nix +++ b/irc.nix @@ -60,6 +60,7 @@ in { ensurePermissions."DATABASE soju" = "ALL PRIVILEGES"; } ]; }; + postgresqlBackup.databases = [ "soju" ]; soju = { enable = true; diff --git a/matrix.nix b/matrix.nix index bbc95d4..b88899f 100644 --- a/matrix.nix +++ b/matrix.nix @@ -124,6 +124,7 @@ in { ensurePermissions."DATABASE dendrite" = "ALL PRIVILEGES"; } ]; }; + postgresqlBackup.databases = [ "dendrite" ]; }; systemd.services.dendrite.serviceConfig = { -- cgit 1.4.1