computer-playbook/roles/sys-ctl-cln-faild-bkps
Kevin Veen-Birkenbach 2569abc0be
Refactor systemctl services and timers
- Unified service templates into generic systemctl templates
- Introduced reusable filter plugins for script path handling
- Updated path variables and service/timer definitions
- Migrated roles (backup, cleanup, repair, etc.) to use systemctl role
- Added sys-daemon role for core systemd cleanup
- Simplified timer handling via sys-timer role

Note: This is a large refactor and some errors may still exist. Further testing and adjustments will be needed.
2025-08-18 21:22:16 +02:00
..

Docker Volume Backup Cleanup Role

Description

This role cleans up failed Docker backups by pulling a Git repository that contains cleanup scripts and configuring a systemd service to execute them. It ensures that failed or incomplete backups are removed to free up disk space and maintain a healthy backup environment.

Overview

Optimized for backup maintenance, this role:

  • Clones the sys-ctl-cln-faild-bkps repository.
  • Configures a systemd service to run the cleanup script.
  • Integrates with the sys-timer role to schedule periodic cleanup.
  • Works in conjunction with the sys-svc-directory-validator role for additional verification.

Purpose

The primary purpose of this role is to remove failed Docker backups automatically, thereby freeing disk space and preventing backup storage from becoming cluttered with incomplete data.

Features

  • Repository Cloning: Retrieves the latest cleanup scripts from a Git repository.
  • Service Configuration: Sets up a systemd service to run the cleanup tasks.
  • Timer Integration: Schedules periodic cleanup through a systemd timer.
  • Dependency Integration: Works with sys-svc-directory-validator to enhance backup integrity.