New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changing TMPDIR in local.conf not working #3116
Comments
@nnachtegael
see |
For some reasoning and details behind see also |
I restarted from beginning
OUTPUT=USB
I'm now stopped by this ldd error message |
It "just works" for me with
I.e. I do the backup with 'tar' not with 'rsync' As TMPDIR I use a mounted partiton
Also with automated removal of the build area
I checked that during "rear -v format" and "rear -v mkbackup" |
I cannot help with 'rsync' specific issues I don't know if 'rsync' with OUTPUT=USB works with
|
I doubt that putting TMPDIR on a NTFS filesystem can work properly. Most likely NTFS does not support all the needed attributes, like the executable bit (that would explain the ldd error). |
@nnachtegael can you please share with us the actual problem you are trying to solve? Can it be that your system is so full that there is not enough disk space on any hard disk for the ReaR build area? Or do you want to do a ReaR backup without touching the local disks? In any case, as @pcahyna mentioned the The same holds true for the target of an rsync backup, but looking at your disks it seems like that is already the case. For backup to USB storage I'd also recommend using an archive instead of rsync as you would then benefit from the compression, which both reduces the required disk space and probably increases the backup performance. So if you can share more of the problem you want to solve (like big picture) or more of your context, then we can surely give you some ideas how to solve it. |
It seems that TMPDIR in local.conf will not work in any case: #2654 |
Stale issue message |
If your ReaR version is not the current version, explain why you can't upgrade:
OS version ("cat /etc/os-release" or "lsb_release -a" or "cat /etc/rear/os.conf"):
Hardware vendor/product (PC or PowerNV BareMetal or ARM) or VM (KVM guest or PowerVM LPAR):
Home build PC
System architecture (x86 compatible or PPC64/PPC64LE or what exact ARM device):
x86
Firmware (BIOS or UEFI or Open Firmware) and bootloader (GRUB or ELILO or Petitboot):
Storage (local disk or SSD) and/or SAN (FC or iSCSI or FCoE) and/or multipath (DM or NVMe):
I try to change the TEMPDIR for my rsync backup to an attached USB /dev/sde2/reartmp directory.
The directory /reartmp exists on the USB disk.
I did an export TMPDIR="/mnt/sde2/reartmp"
before running the usr/sbin/rear -v mkbackup
TEMPDIR stays at /var/tmp even after the
export TMPDIR="${TMPDIR-/mnt/sde2/reartmp}"
in my /home/nnoel/rear/etc/rear/local.conf
see in my attached log file
if I try export TMPDIR="/mnt/sde2/reartmp" in local.conf
it also doesn't work: same situation TMPDIR stays at /var/tmp
Workaround, if any:
Attachments, as applicable ("rear -D mkrescue/mkbackup/recover" debug log files):
~/rear$ sudo usr/sbin/rear -v mkbackup log file
rear-kvm-host.log
You can drag-drop log files into this editor to create an attachment
or paste verbatim text like command output or file content
by including it between a leading and a closing line of
three backticks like this:
The text was updated successfully, but these errors were encountered: