From ae0976a5d2dc6ecada389ece6c29f9b1aad2bbb7 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 15 Aug 2022 17:54:09 -0700 Subject: ref(modules/sourcegraph): stop backing up There's no need to make a backup for sourcegraph, all the things I might care about (at this stage at least) can be easily regenerated. Change-Id: I4b592c9007ce57b56b04a94b43ad2ab8759ce891 Reviewed-on: https://cl.fcuny.net/c/world/+/718 Tested-by: CI Reviewed-by: Franck Cuny --- modules/services/sourcegraph/default.nix | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'modules/services') diff --git a/modules/services/sourcegraph/default.nix b/modules/services/sourcegraph/default.nix index 0845c55..4fd0b8d 100644 --- a/modules/services/sourcegraph/default.nix +++ b/modules/services/sourcegraph/default.nix @@ -51,20 +51,5 @@ in dnsProvider = "gcloud"; credentialsFile = secrets."acme/credentials".path; }; - - my.services.backup = { - paths = [ "/var/lib/sourcegraph/etc" "/var/lib/sourcegraph/data" ]; - exclude = [ - "/var/lib/sourcegraph/data/grafana.log" - "/var/lib/sourcegraph/data/grafana/" - "/var/lib/sourcegraph/data/grafana/" - "/var/lib/sourcegraph/data/jaeger.log" - "/var/lib/sourcegraph/data/minio.log" - "/var/lib/sourcegraph/data/minio/" - "/var/lib/sourcegraph/data/prometheus.log" - "/var/lib/sourcegraph/data/prometheus/" - "/var/lib/sourcegraph/data/redis/" - ]; - }; }; } -- cgit 1.4.1