Changing GBM's temporary directory


Gigasoft Backup Manager (GBM) uses the local system's temporary directory for some cache files while the backup job is running. The needed storage size is small; but on some devices (e.g. NAS with fixed-size /tmp/ mounts) the system's default temporary directory may be insufficient.


On Linux

You can change the temporary directory GBM uses by adding export TMPDIR=/some/other/path/ in your startup script (e.g. normally /opt/GigasoftBackup/backup-daemon-start.sh or any custom rc.local file). However, any changes to the backup-daemon-start.sh file will be overwritten by GBM software updates.


On macOS

You can change the temporary directory GBM uses by adding an EnvironmentVariables section to the backup.delegate.plist LaunchDaemon. However, any changes to the .plist file will be overwritten by GBM software updates.


On Windows

You can change the temporary directory GBM uses by

  • setting the %TMP% or %TEMP% environment variables for the NT SERVICE\backup.delegate user account; or
  • modifying the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\backup.delegate\Parameters\AppEnvironmentExtra registry key to add TEMP=C:\some\path on a new line, and, restarting the backup.delegate service