How to specify an alternative working directory for ReaR

Solution Verified - Updated -

Issue

  • How to change the default temporary directory that ReaR uses?
  • The default working directory may not have sufficient space, requiring the use of an alternative directory.
  • On RHEL 10, error "ERROR: Setting TMPDIR in a configuration file is not supported. To specify a working area directory prefix, export TMPDIR before executing 'rear'" outputs.

Environment

  • Red Hat Enterprise Linux 6 and later

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