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 94c2a7d805
commit de5d5e4ce4
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_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_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_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_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_pull_primary_backups: "*-*-* 21:30:00"
on_calendar_renew_lets_encrypt_certificates: "*-*-* 12,00: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 # Space Variables
size_percent_maximum_backup: 75 size_percent_maximum_backup: 75

View File

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

View File

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