ReaR: How to specify an alternate build directory than /tmp
Issue
-
When explicitly defining the TMPDIR environment variable in
/etc/rear/{local,site}.conf
, ReaR doesn't exclude the temporary build directory from the backup# grep -w TMPDIR /etc/rear/site.conf export TMPDIR=/temporary # rear mkbackup # tar tzvf /path/to/the/backup.tar.gz | grep "^temporary/rear" drwxr-xr-x root/root 0 2018-12-04 10:44 temporary/rear.XXX
Environment
- Red Hat Enterprise Linux
- rear 1.17
- rear 2.00
- rear < 2.4-7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.