ReaR: backup using tar always succeeds, even in case of tar error

Solution Verified - Updated -

Issue

  • When backing up using the NETFS and tar option, backup errors are not detected, ReaR continues and displays the following message

    WARNING: tar ended with return code 1 and below output:
      ---snip---
    
      ----------
    This means that files have been modified during the archiving
    process. As a result the backup may not be completely consistent
    or may not be a perfect copy of the system. Relax-and-Recover
    will continue, however it is highly advisable to verify the
    backup in order to be sure to safely recover this system.
    

Environment

  • Red Hat Enterprise Linux (RHEL) 6 and 7
  • rear 1.17.2 (RHEL6)
  • rear 2.00 (RHEL7 up to RHEL7.5)
  • rear 2.4.2 (RHEL7.6)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content