Operating system: Linux OS version: Ubuntu 18.04.5 LTS
Hi,
I am trying to speed up compressed backups. I would like to use pbzip2 as the compression, but this is not in the drop down list within the filesystem backup module.
I have installed Parallel BZIP2 v1.1.9 so this seems to be a recent enough version. I have restarted webmin and refreshed the modules. But it is still not an option in the drop down compress archive box.
This appears to be supported in virtualmin. Is it not supported in webmin as well?
How about symlinking new /usr/bin/pbzip2 to /usr/local/bin/bzip2 and changing search path priority, by placing /usr/local/bin at the start of the PATH?
Have a look at Webmin > Webmin Configuration > Operating System and Environment page.
… if what was said before is done correctly, then the last command output will point to bzip2 symlink.
You can test what is on the path by running :
echo $PATH
… from both in-built Command Shell (using Alt+K hotkey) (PATH is controllable from at Webmin > Webmin Configuration > Operating System and Environment page) and console (controllable by .bashrc file). Webmin considers its own environmental settings, even if system’s own search path is included (default).
Thankyou, this works perfectly. I did wonder if the symlink should be to bzip2 or pbzip2. I also made a typo I did not spot on the command line first time around which also prevented it from working.
It is all working fine now. Thankyou for the help.