From 878957d2f69c3d484351a8497cc064eaece09269 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Tue, 25 May 2021 01:04:05 +0200 Subject: chore(whitby): Add ZNC state to Restic backups 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 --- ops/machines/whitby/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ops/machines') 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"; -- cgit 1.4.1