diff options
| author | Franck Cuny <franck@fcuny.net> | 2022-06-10 08:30:41 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2022-06-10 08:31:17 -0700 |
| commit | 00022f86a4efda0cd5c6de5708e78a5ddb079a22 (patch) | |
| tree | 2d374e7ea7d374383ad81b40f340fd141e678b63 /modules/services/sourcegraph | |
| parent | fix(unifi): configure correctly services.unifi for nixos 22.05 (diff) | |
| download | infra-00022f86a4efda0cd5c6de5708e78a5ddb079a22.tar.gz | |
fix(backups): exclude more files from the backups
We don't need to backup log files for grafana and sourcegraph.
Change-Id: I8ed6f6ce1270a12233cad268bcd12e28ac2785cf
Reviewed-on: https://cl.fcuny.net/c/world/+/383
Tested-by: CI
Reviewed-by: Franck Cuny <franck@fcuny.net>
Diffstat (limited to 'modules/services/sourcegraph')
| -rw-r--r-- | modules/services/sourcegraph/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/services/sourcegraph/default.nix b/modules/services/sourcegraph/default.nix index 6acf24c..e533b9d 100644 --- a/modules/services/sourcegraph/default.nix +++ b/modules/services/sourcegraph/default.nix @@ -41,6 +41,13 @@ in { my.services.backup = { paths = [ "/var/lib/sourcegraph/etc" "/var/lib/sourcegraph/data" ]; + exclude = [ + "/var/lib/sourcegraph/data/grafana/logs/" + "/var/lib/sourcegraph/data/jaeger.log" + "/var/lib/sourcegraph/data/grafana.log" + "/var/lib/sourcegraph/data/minio.log" + "/var/lib/sourcegraph/data/prometheus.log" + ]; }; }; } |
