Hi Folks,

We've got Bacula Client working on Ubunut 22.04 systems (Jammy) and I thought I'd share my script with you all.

CAVEATS:

   - Please know that I'm not a Bacula developer or maintainer, just a
   bacula user on Debian and Ubuntu

   - Please understand that, while this "works for me" - it is an
   unsupported configuration

   - Please dont expect help with this if it doesnt work for you! :)

   - You will have to run this as root, or possibly as some other user
   that can run gdebi/apt and install packages

   - Running scripts as root that are written by strangers from the
   internet can be hazardous to your compliance, health, and day job

   - If one of the packages below is updated, you WILL NOT
   automatically get that update -you'll have to:

   1) Notice that it was updated somehow

   2) go get it by hand with wget

   3) manually install over the old version with gdebi or apt

   - Test this on a non-important system ton which you are OK messing
   with packaging system by hand

   - Lastly - you are installing a downrev version of LibSSL on the box
   - I am not sure what the consequences of this are, but it appears to
   coexist with the modern ssl libs and packages on UBU22.04


OUTLINE OF STEPS:


   make sure /etc/passwd and /etc/group have bacula in them
   At least one package will fail if user bacula and group bacula dont
   exist first


   install packages with gdebi: (apt may work as well)


   libssl
   bacula-common
   bacula-console
   bacula-fd
   bacula-client

THE CODE:


   Heres the script that gets the latest as of 9/27/2022: (USA
   Localized version of repos, YMMV)



# more bacula-on-ubu22

## versions as of 9/27/2022 - updates wont be automatice, they will have to be done manually

echo "Getting debian bacula client packages....."

cd /root/bacula-client


wget http://ftp.us.debian.org/debian/pool/main/b/bacula/bacula-fd_9.6.7-3_amd64.deb

wget http://ftp.us.debian.org/debian/pool/main/b/bacula/bacula-client_9.6.7-3_all.deb

wget http://ftp.us.debian.org/debian/pool/main/b/bacula/bacula-common_9.6.7-3_amd64.deb

wget http://ftp.us.debian.org/debian/pool/main/b/bacula/bacula-console_9.6.7-3_amd64.deb

wget http://ftp.us.debian.org/debian/pool/main/o/openssl/libssl1.1_1.1.1n-0+deb11u3_amd64.deb






# apt-show-versions | grep bacula
#bacula-client:all 9.6.7-3 installed: No available version in archive
#bacula-common:amd64 9.6.7-3 installed: No available version in archive
#bacula-console:amd64 9.6.7-3 installed: No available version in archive
#bacula-fd:amd64 9.6.7-3 installed: No available version in archive


echo "About to install with gdebi.....answer Y to install each"
sleep 3


 gdebi libssl1.1_1.1.1n-0+deb11u3_amd64.deb bacula-common_9.6.7-3_amd64.deb
 gdebi bacula-common_9.6.7-3_amd64.deb
 gdebi bacula-console_9.6.7-3_amd64.deb
 gdebi bacula-fd_9.6.7-3_amd64.deb
 gdebi bacula-client
 gdebi bacula-client_9.6.7-3_all.deb
 apt-show-versions | grep bacula



SUMMARY:

   Hope this helps someone and doesn't induce anaphylactic shock, cause
   dutch elm disease, or other badness

   As always, big big big thank yous to the developers and maintainers
   of Bacula  !!!



-Matt Weatherford

University of Washington

Seattle, WA





_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to