feat: Add enhanced crontab entries and backup management with improved logging and fallback mechanisms

This commit is contained in:
Peter Wood
2025-05-26 15:46:55 +00:00
parent 907c1ed18e
commit 06f1b78c5e
8 changed files with 49 additions and 4 deletions

12
enhanced-crontab-io.txt Normal file
View File

@@ -0,0 +1,12 @@
# Enhanced Crontab Entries for IO (Download/Acquisition Server)
#
# This system runs download management services (Radarr, Sonarr, SABnzbd, etc.)
# and should focus on Docker container management rather than media server tasks
# Daily Docker backup at 0200 with enhanced logging
# Backs up Docker container configurations and data
0 2 * * * { echo "Starting Docker backup"; /home/acedanger/shell/backup-docker.sh; echo "Docker backup completed with exit code: $?"; } 2>&1 | logger -t docker-backup -p user.info
# Optional: Monitor Docker container health (every 6 hours)
# This can help detect if any download services are failing
# 0 */6 * * * { echo "Docker health check"; docker ps --format "table {{.Names}}\t{{.Status}}" | grep -v "Up"; } 2>&1 | logger -t docker-health -p user.info