diff options
author | Nguyễn Gia Phong <cnx@loang.net> | 2023-11-04 05:03:54 +0900 |
---|---|---|
committer | Nguyễn Gia Phong <cnx@loang.net> | 2023-11-04 05:08:35 +0900 |
commit | 2f605ade4cdf42640d8f4c589058376da0e36248 (patch) | |
tree | 3b869089bdd25fe69bc5bd60d08617852b1e26e4 | |
parent | 5db4d7b2c9c315a7f996a5c103ca9e62b8830862 (diff) | |
download | nixos-conf-2f605ade4cdf42640d8f4c589058376da0e36248.tar.gz |
Backup Matrix and IRC messages
Matrix media are yet to be backed up.
-rw-r--r-- | irc.nix | 1 | ||||
-rw-r--r-- | matrix.nix | 1 |
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 = { |