saving uncommitted changes in /etc prior to apt run

This commit is contained in:
pi
2022-05-13 10:42:55 +02:00
committed by root
parent 09f666f0dd
commit 2214033181
+4
View File
@@ -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 ) 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 ) 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