From f88e7b9ed70ecf09b42facd829a26ccb713dbd29 Mon Sep 17 00:00:00 2001 From: Timo Wilken Date: Fri, 8 Sep 2023 23:26:27 +0200 Subject: Clean up new "sync" restic repo --- tw/system/vin.scm | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tw') diff --git a/tw/system/vin.scm b/tw/system/vin.scm index 5d406376..4f95ee4d 100644 --- a/tw/system/vin.scm +++ b/tw/system/vin.scm @@ -74,6 +74,14 @@ (keep-weekly 52) (keep-monthly -1)) + (restic-cleanup-repository + (schedule #~"0 5 * * *") + (url "/var/backups/restic/timo/sync") + (password-file "/etc/restic/timo-sync") + (keep-within "14d") + (keep-weekly 52) + (keep-monthly -1)) + ;; Phone backups run with a new version of restic, which creates ;; v2 repos by default. Guix' older restic version can't read ;; these, so create the repo on the server before pushing to it. -- cgit v1.2.3