about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--irc.nix1
-rw-r--r--matrix.nix1
2 files changed, 2 insertions, 0 deletions
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 = {