Skip to content

leandroembu/bacula-deploy

Repository files navigation

Bacula Deploy

Scripts to deploy bacula and bacula client (bacula-fd) on Debian and Ubuntu.

TODO

  • Replace hardcoded Bacula version
  • Replace hardcoded PostgreSQL version
  • Make scripts Debian/Ubuntu agnostic
  • Create a separate script for Baculum Web
  • Create Docker images to deploy Bacula services

Scripts

  • bacula-director.sh:
    • Compile and deploy all Bacula services
      • bconsole
      • bacula-dir
      • bacula-fd
      • bacula-sd
  • bacula-client.sh
    • Compile and deploy only bacula-fd service
  • baculum-deploy.sh
    • Deploy Baculum web client

Requirements

Tested systems

  • Debian:
    • 11 (Bullseye)
    • 10 (Buster)
  • Ubuntu:
    • 20.04 (Focal Fossa)
    • 18.04 (Bionic Beaver)

There's no Baculum packages for Ubuntu 22.04 (Jammy Jellyfish). Baculum uses get_magic_quotes_gpc function, which was deprecated in PHP 7.4 and REMOVED from PHP 8. It will work in Ubuntu Jammy if you install PHP 7.4 from a third party repo.

Bacula Server (Director Client Storage)

After running bacula-director.sh, test your Bacula Console (the domain must be in /etc/hosts if you're using FQDN):

# bconsole

bconsole

Baculum API Web

Run baculum-deploy.sh

Access Baculum API Config

Access http://your-server:9096 and proceed with Baculum API configuration. User: admin Password: admin

Baculum API Config

Baculum API Config

Baculum API Config

Share the Bacula configuration interface

Baculum API Config

Baculum API Config

Configure your authentication method

Baculum API Config

Baculum API up and running

Access Baculum

Access Baculum - http://your-server:9095 to config the API authentication.

Baculum Config

Create user and password to Baculum Web Panel access

Baculum Web Panel config

Baculum up and running

Now configure passwords for bacula-dir, bacula-sd, etc.

Bacula Client (only bacula-fd service)

After running bacula-client.sh, check bacula service status:

# bacula status

Bacula FD service is running

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages