about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-05-24T23·04+0200
committertazjin <mail@tazj.in>2021-05-25T08·15+0000
commit878957d2f69c3d484351a8497cc064eaece09269 (patch)
treedf94fef3729bc92356c8588ecf89f95547934af0
parent46b136c22e8da83e6163f757dc4cfd868b559bf0 (diff)
chore(whitby): Add ZNC state to Restic backups r/2628
Until we have declarative ZNC config (which requires a solution for
secrets handling in it), make sure we back this up as well.

Change-Id: Idb186327da171eb6d3dbbd83801639f1f9321a40
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3159
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
-rw-r--r--ops/machines/whitby/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/ops/machines/whitby/default.nix b/ops/machines/whitby/default.nix
index bb8c26919e52..3dd081f4cf8a 100644
--- a/ops/machines/whitby/default.nix
+++ b/ops/machines/whitby/default.nix
@@ -390,7 +390,7 @@ in {
   # Regularly back up whitby to Google Cloud Storage.
   systemd.services.restic = {
     description = "Backups to Google Cloud Storage";
-    script = "${pkgs.restic}/bin/restic backup /var/lib/gerrit /var/backup/postgresql /var/lib/grafana";
+    script = "${pkgs.restic}/bin/restic backup /var/lib/gerrit /var/backup/postgresql /var/lib/grafana /var/lib/znc";
 
     environment = {
       GOOGLE_PROJECT_ID = "tazjins-infrastructure";