summaryrefslogtreecommitdiff
path: root/tw/system/vin.scm
diff options
context:
space:
mode:
Diffstat (limited to 'tw/system/vin.scm')
-rw-r--r--tw/system/vin.scm10
1 files changed, 10 insertions, 0 deletions
diff --git a/tw/system/vin.scm b/tw/system/vin.scm
index 9c467a54..3076fd8f 100644
--- a/tw/system/vin.scm
+++ b/tw/system/vin.scm
@@ -53,6 +53,16 @@
(prometheus? #t)
(prometheus-auth? #f)))
+ (service restic-cleanup-service-type
+ (list (restic-cleanup-repository
+ ;; Laptop backups run at "0 */2 * * *".
+ (schedule #~"10 5 * * *") ; daily at 05:10
+ (url "/var/backups/restic/timo/laptop")
+ (password-file "/etc/restic/timo-laptop")
+ (keep-within "14d")
+ (keep-weekly 52)
+ (keep-monthly -1))))
+
(server-base-services host-name)))
;; The list of user accounts ('root' is implicit).