mirror of
https://github.com/acedanger/shell.git
synced 2025-12-06 07:50:11 -08:00
- Introduced `restore-plex.sh` for restoring Plex backups with logging and validation. - Created `test-plex-backup.sh` for automated testing of backup functionalities. - Developed `validate-plex-backups.sh` for validating backup integrity and monitoring. - Updated `update.sh` to reference the correct path for Plex service management.
13 lines
791 B
Plaintext
13 lines
791 B
Plaintext
# 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
|