From 9486eb6a8c4864b3b3db82c859e3019e537bc58a Mon Sep 17 00:00:00 2001 From: zaphod-black Date: Sat, 1 Nov 2025 19:36:34 -0500 Subject: [PATCH] Fix: Follow correct service logs during manual backup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PROBLEM: - Manual backup starts pbs-backup-manual.service - But journalctl was following pbs-backup.service logs - User saw no output during backup execution FIX: - Changed journalctl to follow pbs-backup-manual.service - Applied to both manual backup locations: - Menu option 4 handler - run_backup_now() function Now verbose backup progress displays correctly during manual runs. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- pbs-client-installer.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pbs-client-installer.sh b/pbs-client-installer.sh index 5e8c8dd..122c780 100755 --- a/pbs-client-installer.sh +++ b/pbs-client-installer.sh @@ -1018,7 +1018,7 @@ run_backup_now() { MONITOR_PID=$! # Follow logs in foreground (will be killed by monitor when backup completes) - journalctl -fu pbs-backup.service 2>/dev/null || true + journalctl -fu pbs-backup-manual.service 2>/dev/null || true # Wait for monitor to finish wait $MONITOR_PID 2>/dev/null @@ -1173,7 +1173,7 @@ main() { MONITOR_PID=$! # Follow logs in foreground (will be killed by monitor when backup completes) - journalctl -fu pbs-backup.service 2>/dev/null || true + journalctl -fu pbs-backup-manual.service 2>/dev/null || true # Wait for monitor to finish wait $MONITOR_PID 2>/dev/null