What were you trying to do that didn't work?
Rear recover after taking successful backup.
Please provide the package NVR for which bug is seen:
rear-2.6-20.el9_3.x86_64
How reproducible:
Always.
Steps to reproduce
- Create a 'ReaR' backup with parameter to export TMPDIR in '/'.
~~~
cat /etc/rear/site.conf
OUTPUT=ISO
OUTPUT_URL=nfs://X.X.X.X/rear
BACKUP=NETFS
BACKUP_URL=nfs://X.X.X.X/rear
BACKUP_PROG_EXCLUDE=("${BACKUP_PROG_EXCLUDE[@]}" '/media' '/var/tmp' '/var/crash' '/ISO')
NETFS_KEEP_OLD_BACKUP_COPY=n
AUTOEXCLUDE_MULTIPATH=n
export TMPDIR="/ISO" <========
ONLY_INCLUDE_VG=( "rhel" )
~~~
- Try to recover with backup taken with above configuration by booting with rear ISO file, it fails with "ERROR: Could not create build area" and fails to mount /ISO TMPDIR in recovery.
WORKAROUND :
=============
- Create TMPDIR in rescue shell before recovering server.
~~~
#mkdir /ISO
#rear recover -vD <=== Runs successfully.
~~~Expected results
To successfully proceed to recover the backup taken.
Actual results
ERROR: Could not create build area
- duplicates
-
RHEL-24847 rear drops to network interface migration prompt when specifying a custom TMPDIR environment variable
- Closed
- relates to
-
RHEL-24847 rear drops to network interface migration prompt when specifying a custom TMPDIR environment variable
- Closed