From 22140331811c40ae3fb9b504ec16ec8d9c310016 Mon Sep 17 00:00:00 2001 From: pi Date: Fri, 13 May 2022 10:42:55 +0200 Subject: [PATCH] saving uncommitted changes in /etc prior to apt run --- crontab | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crontab b/crontab index c89cc0be..c66a4090 100644 --- a/crontab +++ b/crontab @@ -20,3 +20,7 @@ PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin 47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly ) 52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly ) # + +# restic backup +0 1 * * * root /usr/local/bin/restic -r /backup/restic-repositories/admcenter backup /opt/omd/ --password-file /root/.resticpwd +10 1 * * * root /usr/local/bin/restic -r /backup/restic-repositories/admcenter forget --keep-daily 7 --keep-weekly 2 --prune --password-file /root/.resticpwd