mirror of
https://github.com/acedanger/shell.git
synced 2025-12-06 00:00:13 -08:00
feat: Add comprehensive Plex recovery validation script
- Introduced `validate-plex-recovery.sh` for validating Plex database recovery. - Implemented checks for service status, database integrity, web interface accessibility, API functionality, and recent logs. - Added detailed recovery summary and next steps for users. fix: Improve Debian patching script for compatibility - Enhanced `debian-patches.sh` to securely download and execute bootstrap scripts. - Updated package mapping logic and ensured proper permissions for patched files. fix: Update Docker test scripts for better permission handling - Modified `run-docker-tests.sh` to set appropriate permissions on logs directory. - Ensured log files have correct permissions after test runs. fix: Enhance setup scripts for secure installations - Updated `setup.sh` to securely download and execute installation scripts for zoxide and nvm. - Improved error handling for failed downloads. fix: Refine startup script for log directory permissions - Adjusted `startup.sh` to set proper permissions for log directories and files. chore: Revamp update-containers.sh for better error handling and logging - Rewrote `update-containers.sh` to include detailed logging and error handling. - Added validation for Docker image names and improved overall script robustness.
This commit is contained in:
@@ -1,5 +1,48 @@
|
||||
#!/bin/bash
|
||||
|
||||
################################################################################
|
||||
# Plex Backup System Monitoring Dashboard
|
||||
################################################################################
|
||||
#
|
||||
# Author: Peter Wood <peter@peterwood.dev>
|
||||
# Description: Real-time monitoring dashboard for the Plex backup system
|
||||
# providing health status, performance metrics, and system
|
||||
# diagnostics with both static and live refresh modes.
|
||||
#
|
||||
# Features:
|
||||
# - Real-time backup system health monitoring
|
||||
# - Performance metrics and trending
|
||||
# - Backup schedule and execution tracking
|
||||
# - Disk space monitoring and alerts
|
||||
# - Service status verification
|
||||
# - Historical backup analysis
|
||||
# - Watch mode with auto-refresh
|
||||
#
|
||||
# Related Scripts:
|
||||
# - backup-plex.sh: Main backup script being monitored
|
||||
# - validate-plex-backups.sh: Backup validation system
|
||||
# - restore-plex.sh: Backup restoration utilities
|
||||
# - test-plex-backup.sh: Testing framework
|
||||
# - plex.sh: General Plex service management
|
||||
#
|
||||
# Usage:
|
||||
# ./monitor-plex-backup.sh # Single status check
|
||||
# ./monitor-plex-backup.sh --watch # Continuous monitoring
|
||||
# ./monitor-plex-backup.sh --help # Show help information
|
||||
#
|
||||
# Dependencies:
|
||||
# - jq (for JSON processing)
|
||||
# - systemctl (for service status)
|
||||
# - Access to backup directories and log files
|
||||
#
|
||||
# Exit Codes:
|
||||
# 0 - Success
|
||||
# 1 - General error
|
||||
# 2 - Critical backup system issues
|
||||
# 3 - Missing dependencies
|
||||
#
|
||||
################################################################################
|
||||
|
||||
# Plex Backup System Monitoring Dashboard
|
||||
# Provides real-time status and health monitoring for the enhanced backup system
|
||||
|
||||
|
||||
Reference in New Issue
Block a user