Bareos is a true open-source backup platform forked from Bacula.org. It is an advanced free enterprise-ready open-source backup solution for businesses and individuals looking for a simpler way to manage their enterprise backups. For students or new users looking for a Linux system to learn on, the easiest place to start is Ubuntu Linux OS. It’s a great Linux operating system for beginners. Ubuntu is an open-source Linux operating system that runs on desktops, laptops, servers, and other devices. For more about Bareos, please check its homepage. To get started with installing Bareos, follow the steps below:

Update Ubuntu

Before installing software packages on Ubuntu, you must first update Ubuntu. To do that run the commands below: That should update Ubuntu and remove obsolete packages from your systems. It will also be a good idea to reboot the machine when you’re done updating.

Add Bareos Repository

Now that you have updated Ubuntu, the next step is to add the Bareos repository and key file to your machine. When its repository is added, newer packages will automatically be made available to your machine. To add the repository with the latest packages and key, run the commands below: For Ubuntu 18.04: For Ubuntu 16.04: After adding the repository, import the repository GPG key by running the commands below: After adding the repository and key above, run the commands below to update the Ubuntu package list index and install Bareos with the MariaDB database server. When prompted to configure Postfix, you can choose the “Internet site“ Select the server name for system mail. Choose to install a database component for Bareos. Next, create and confirm a new password for the database root user. After setting up, you can start Bareos daemon services by running the commands below:

Install Bareos Web UI

Bareos WebUI is part of the Bareos project and is available for several platforms. It is a PHP-Front-end to monitor and manage Bareos jobs and resources. To install the Web UI, run the commands below: The dependencies installed include Apache web server, PHP, and several extensions. Restart the Apache web server to activate the new configuration. Run the commands below to start other Bareos services.

Create console user

If you’re going to be connecting to the Bareos web portal, you’ll want to create a user to access it. To create a new user, run the commands below to open the Bareos console. sudo console After signing in, run the commands below to create a new user. After that, you should get an output similar to the one below: Exit and restart Bareos services with Apache2. When you’re done, open your web browser and browse to the server hostname or IP address followed by /bareos-webui. Log in and begin setting up your environment. That’s it! Conclusion: This post showed you how to install the Bareos backup platform on Ubuntu 18.04 | 16.04. If you find any error above, please use the comment form below to report. Thanks, You may also like the post below: