ReaR: cannot restore a system when using the Bacula backup method

Solution Verified - Updated -

Environment

  • Red Hat Enterprise Linux 7 and later
    • bconsole
    • rear-2.4-4.el7_6

Issue

  • When restoring a system backed up using the bacula method, rear recover doesn't show the bconsole prompt

    [...]
    Do not exit 'bconsole' until all files are restored
    WARNING: The new root is mounted under '/mnt/local'.
    Press ENTER to start bconsole
    
    

Resolution

Update to rear-2.4-9.el7_7 shipped with Advisory RHBA-2019:2603 or newer.

Root Cause

Previously ReaR redireced the standard output to the ReaR log file /var/log/rear/rear-<hostname>.log which prevented the prompt from being displayed.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments