updated pathing

This commit is contained in:
Peter Wood
2025-06-22 09:07:06 -04:00
parent 5868947fbd
commit 26f8a7a007

View File

@@ -131,10 +131,10 @@ show_log_monitoring_commands() {
log_info "Commands to monitor backup logs:" log_info "Commands to monitor backup logs:"
echo echo
echo -e "${CYAN}# Use the enhanced backup log monitor:${NC}" echo -e "${CYAN}# Use the enhanced backup log monitor:${NC}"
echo "./backup-log-monitor.sh monitor # Real-time monitoring" echo "$SCRIPT_DIR/../backup-log-monitor.sh monitor # Real-time monitoring"
echo "./backup-log-monitor.sh recent 24 # Last 24 hours" echo "$SCRIPT_DIR/../backup-log-monitor.sh recent 24 # Last 24 hours"
echo "./backup-log-monitor.sh health # System health check" echo "$SCRIPT_DIR/../backup-log-monitor.sh health # System health check"
echo "./backup-log-monitor.sh report 7 # Weekly report" echo "$SCRIPT_DIR/../backup-log-monitor.sh report 7 # Weekly report"
echo echo
echo -e "${CYAN}# Direct journalctl commands:${NC}" echo -e "${CYAN}# Direct journalctl commands:${NC}"
echo "sudo journalctl -f -t plex-backup -t backup-move -t plex-validation -t immich-backup -t plex-report" echo "sudo journalctl -f -t plex-backup -t backup-move -t plex-validation -t immich-backup -t plex-report"
@@ -183,9 +183,9 @@ verify_scripts_exist() {
log_info "Verifying all backup scripts exist and are executable" log_info "Verifying all backup scripts exist and are executable"
local scripts=( local scripts=(
"/home/acedanger/shell/move-backups.sh" "$SCRIPT_DIR/../move-backups.sh"
"/home/acedanger/shell/plex/backup-plex.sh" "$SCRIPT_DIR/../plex/backup-plex.sh"
"/home/acedanger/shell/plex/validate-plex-backups.sh" "$SCRIPT_DIR/../plex/validate-plex-backups.sh"
) )
local all_good=true local all_good=true
@@ -229,8 +229,8 @@ show_usage() {
echo " help Show this help message" echo " help Show this help message"
echo echo
echo "Additional Tools:" echo "Additional Tools:"
echo " ./crontab-backup-system.sh Comprehensive crontab backup management" echo " $SCRIPT_DIR/crontab-backup-system.sh Comprehensive crontab backup management"
echo " ./backup-log-monitor.sh Advanced backup log monitoring" echo " $SCRIPT_DIR/../backup-log-monitor.sh Advanced backup log monitoring"
echo echo
} }
@@ -270,8 +270,8 @@ case "${1:-help}" in
setup_logrotate setup_logrotate
;; ;;
status) status)
if [ -f "$SCRIPT_DIR/backup-log-monitor.sh" ]; then if [ -f "$SCRIPT_DIR/../backup-log-monitor.sh" ]; then
"$SCRIPT_DIR/backup-log-monitor.sh" health "$SCRIPT_DIR/../backup-log-monitor.sh" health
else else
log_warning "Backup log monitor not found, showing basic status" log_warning "Backup log monitor not found, showing basic status"
show_current_crontab show_current_crontab