diff options
Diffstat (limited to 'hosts/common')
-rw-r--r-- | hosts/common/server/backups/users.nix | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/hosts/common/server/backups/users.nix b/hosts/common/server/backups/users.nix deleted file mode 100644 index d56f7fe..0000000 --- a/hosts/common/server/backups/users.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ config, ... }: - -{ - - systemd.services.backups-maintenance-fcuny = { - Unit = { - Description = "maintenance for fcuny backups"; - Documentation = "man:restic(1)"; - }; - Service = { - Type = "oneshot"; - User = "restic"; - ReadWritePaths = "/data/slow/backups/users/fcuny"; - Environment = [ - "RESTIC_REPOSITORY=/data/slow/backups/users/fcuny" - "RESTIC_PASSWORD_FILE=" - ]; - ExecStart = [ - "${pkgs.restic}/bin/restic --verbose rebuild-index" - "${pkgs.restic}/bin/restic --verbose prune" - "${pkgs.restic}/bin/restic --verbose forget --prune --keep-daily 7 --keep-weekly 4 --keep-monthly 12 --keep-yearly 3" - ]; - }; - }; -} |