Changing Magnus Box's temporary directory

Magnus Box 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 Magnus Box uses by adding export TMPDIR=/some/other/path/ in your startup script (e.g. normally /opt/MagnusBox/backup-daemon-start.sh or any custom rc.local file). However, any changes to the backup-daemon-start.sh file will be overwritten by Magnus Box software updates.

On macOS, you can change the temporary directory Magnus Box uses by adding an EnvironmentVariables section to the backup.delegate.plist LaunchDaemon. However, any changes to the .plist file will be overwritten by Magnus Box software updates.

On Windows, you can change the temporary directory Magnus Box uses by setting the %TMP% or %TEMP% environment variables for the NT SERVICE\backup.delegate user account.

A future version of Magnus Box may add a built-in option to set the temporary directory, to avoid the setting being lost after a software update.