Bacula is a collection of software tools for managing data backup, recovery, and verification on a network of various types of machines. This metapackage’s typical server installation includes the director and storage daemons. On Ubuntu 20.04, there are three options for installing a bacula-server. Apt-get, apt, and aptitude are all available. Each strategy of bacula-server installation will be described in detail in the following sections. We can select any of them. Show
Features of Bacula-Server:
Installation of Bacula-Server on UbuntuThere are 3 different installation methods.
Let’s install the utility through all the possible methods. Method 1: Installation using apt-get commandStep 1: Update the apt database with the following command using apt-get. sudo apt-get update
Step 2: After upgrading the apt database, we can use aptitude to install bacula-server by performing the following command: Of course, you’ll need access to the server’s graphical interface for the Bacula GUI to be useful. If connecting a monitor directy to the server is not an option, then you can install a VNC on your client machine and access your Bacula Server’s GUI remotely. I use TigerVNC in this tutorial. Jump down to the INSTALL TIGERVNC section below for instructions. So we have configured Bacula in Bacula with Tape Autochanger and it working, so Now we need to make it works with Windows Client and Windows Cluster. I actually use this on Windows 8.1 and Windows 2012 R2 and it works. I also am successfully using this to backup Windows 2012 R2 Hyper-V Virtual Machines in a clustered environment, and Windows Clustered File Server. Once you figure out how to do it, it is not that difficult. In this article I Will go over configuring the Windows Client and this should work for Windows 2008, Windows 2008 R2, Windows 7, Windows 2012 and Windows 2012 R2.The windows client can be found at: http://sourceforge.net/projects/bacula/files/Win32_64/5.2.10/. Down load it and run the Install with the defaults. It would be nice if you could just install it and have it work, but you cannot, you need to change the configuration files on both the client and the server. There are 4 configuration files on the client in the bacula directory that is installed by default in "C:\Program Files\bacula":
When you edit each of these configuration files, you can use notepad to do it.
Passwords:When you initially set up Bacula, it created a file on the linux box that has the passwords you will need: /etc/bacula/common_default_passwords. You can use nano or another editor to read this file as it is just a text document. the document looks like:
Password Used for:
Configuring Client .conf files
BAT Console (Bacula Admin Tool) & bat.confIf you are not going to use the Windows "Bat" console this does not need to be configured. the Bat console gives you a local windows interface to connect ot the Bacula server see status of different jobs, media, manage media and such. It is not a full management console but it does get you part way there. The bat.conf is very simple:
Tray Monitor & tray-monitor.confThe tray monitor is a tool that runs on windows computers and is included in the Windows Bacula client instalation that allows you to monitor what is going on in your Bacula environment including the Director, File Daemons and Storage Daemons. This is configured in the tray-monitor.conf file, also the bacula-dir.conf file on the Bacula server needs to be updated. we will cover that in the Director section. You can add several or all of your clients here, but the computer you are using for monitoring
bconsole & bconsole.confbconsole is the Bacula command line console. this is very simple to configure and just need the connection information to get to the director, but this will also need to be configured in the bacula-dir.conf on the bacula server side of the house.
Bacula File Daemon & bacula-fd.confthe Bacula File Daemon provides communication between the Director and the storage Daemon to back up the files on your client. for this to work, the client must have it's bacula-fd.conf file configured. This must have the Bacula Server's Director configured in it as well as any tray-monitor that will be monitoring it.
Required Bacula Server ConfigurationsWebmin has a Bacula Backup System interface that can simplify setting up clients and file backups. While Webmin does not have an all inclusive solution for Bacula (which is why I built custom commands in my Bacula with Tape Autochanger article) it can ease the setting up the server to communicate with clients and file backups. I will Use that here to set up the File Daemon client list in bacula and showing you how to set up the file backup paths for Windows. I won't go in depth on setting up your schedules and jobs, if I get aroung to doing a full article on using Webmin for Bacula I will do more there, here I will assume you can figure that out for yourself.
if you look in the /etc/bacula/bacula-dir.conf file on your server you will be able to find the following in it:
Repeat these steps for each client. Creating a File Set for WindowsThe biggest thing to remember is that instead of using "\" in your paths, use "/". an example is "C:\Program Files\bacula" would be "C:/Program Files/bacula". Again we will use webmin to create the File Set.
Consoles and monitors on clientsI like to be able to see what is going on from my Windows computer with Bacula. You need to set the /etc/bacula/bacula-dir.conf, /etc/bacula/bacula-fd.conf and /etc/bacula/bacula-sd.conf files to allow this. to do that, use your favorite text editor in Linux to edit these. Personally I use nano from a ssh shell. /etc/bacula/bacula-dir.confYou will need to add a console section to this file for each client you intend to use a Tray Monitor or BAT console to connect to the Bacula server from:
/etc/bacula/bacula-fd.confYou will need to add a Director entry for each client that will be monitoring the File Daemon on the Bacula Server: How do I run bacula on Windows?Go to Start > Run > services.
Search for Bacula File Backup Service and start/restart the process. The process should start with no errors. If you get an error or if the process hangs, review the previous steps to ensure Bacula was installed and configured correctly.
How do you set up a bacula?Steps to Install Bacula. Step 1: Install MySQL. To get started with the bacula install, update the system by running: apt-get update -y. ... . Step 2: Install Bacula. The Bacula setup package is available in the Ubuntu 20.04 repository by default. Run the following commands:. How do I access bacula?You must install at a minimum the baculum package and either baculum-http or baculum-lighttpd.. Add the Bacula rpm repository. ... . Installation for the Apache Web server. ... . Access to bconsole via sudo. ... . Running Baculum for the First Time. ... . Debugging your First Login. ... . Installation for Lighttpd. ... . Access to bconsole via sudo.. What is bacula client?Bacula windows client program permits backup, verification and recovery of computer data across a network of computers of different kinds. The bacula windows client setup is the simplest and involves defining the windows client resource or file daemon to be backed up.
|