optimized configuration of free disc space and added to calendar

This commit is contained in:
Kevin Veen-Birkenbach 2023-04-16 13:36:45 +02:00
parent f0d067e957
commit fbef73b3d4
3 changed files with 4 additions and 2 deletions

View File

@ -10,11 +10,12 @@ on_calendar_disc_space_check: "*-*-* 06,12,18,00:00:00"
on_calendar_docker_health_check: "*-*-* 09,10,11,12,13,14,15,16,17,18,19,20,21,22,23,00,01,02:00:00"
on_calendar_backups_cleanup: "*-*-* 06,12,18,00:30:00"
on_calendar_free_disc_space: "*-*-* 07,13,19,01:30:00"
on_calendar_docker_volume_backup: "*-*-* 03:30:00"
on_calendar_docker_compose_restart_unhealthy: "*-*-* 09,10,11,12,13,14,15,16,17,18,19,20,21,22,23,00,01:30:00"
on_calendar_pull_primary_backups: "*-*-* 21:30:00"
on_calendar_renew_lets_encrypt_certificates: "*-*-* 12,00:30:00"
on_calendar_deploy_mailu_certificates: "*-*-* 12,00:50:00"
on_calendar_deploy_mailu_certificates: "*-*-* 13,01:30:00"
# Space Variables
size_percent_maximum_backup: 75

View File

@ -7,6 +7,7 @@
- system-update
- native-journalctl
- native-disc-space-check
- native-free-disc-space
#- native-hostname
- name: setup btrfs health check
hosts: btrfs_health_check_hosts

View File

@ -2,7 +2,7 @@
Description=starts free-disc-space.service
[Timer]
OnCalendar={{on_calendar_disc_space_check}}
OnCalendar={{on_calendar_free_disc_space}}
RandomizedDelaySec={{randomized_delay_sec}}
Persistent=true