saving uncommitted changes in /etc prior to apt run
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user