Fix: Follow correct service logs during manual backup
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 <noreply@anthropic.com>
This commit is contained in:
parent
f88cba76bb
commit
9486eb6a8c
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue