{"id":35585,"date":"2018-11-27T09:00:12","date_gmt":"2018-11-27T08:00:12","guid":{"rendered":"https:\/\/nolabnoparty.com\/?p=35585"},"modified":"2020-03-15T18:18:35","modified_gmt":"2020-03-15T17:18:35","slug":"bacula-enterprise-backup-for-vmware","status":"publish","type":"post","link":"https:\/\/nolabnoparty.com\/en\/bacula-enterprise-backup-for-vmware\/","title":{"rendered":"Bacula Enterprise Backup for VMware"},"content":{"rendered":"<p><img decoding=\"async\" class=\"aligncenter wp-image-35683 size-large\" title=\"bacula-enterprise-backup-vmware-01\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/11\/bacula-enterprise-backup-vmware-01-600x201.jpg\" alt=\"bacula-enterprise-backup-vmware-01\" width=\"600\" height=\"201\" \/><\/p>\n<p>Bacula Enterprise Backup is a complete backup solution for organization to protect their\u00a0<a href=\"https:\/\/nolabnoparty.com\/en\/vmware-vcp6-5-dcv-exam-guide-book-is-out\/\">VMware vSphere<\/a>, Hyper-V, Xen, KVM and Proxmox environments allowing to store backups on-premises, off-site and in the cloud.<\/p>\n<p>The product <strong>provides all the features<\/strong> modern data centers require to protect running workloads: full, differential, incremental, and virtual-full backup and data recovery capabilities as well as deduplication, REST API, cloud native integration, and many others.\u00a0Bacula's <strong>backups can be stored<\/strong> on-premises (disks, NAS, SAN, tapes), off-site and in the cloud\u00a0(<a href=\"https:\/\/nolabnoparty.com\/en\/setup-aws-gateway-access-amazon-s3-objects\/\">AWS S3<\/a>, Azure, Google Cloud and Oracle Cloud).<!--more--><\/p>\n<p>In addition to provide protection for <a href=\"https:\/\/www.vmware.com\/products\/vsphere.html?src=af_5be090889c23e&amp;cid=70134000001TBjI\" target=\"_blank\" rel=\"noopener noreferrer\">VMware vSphere<\/a>,\u00a0Microsoft Hyper-V, etc. environments, the product also supports a good number of\u00a0<strong>database platforms<\/strong>\u00a0(MS-SQL, MySQL, PostgreSQL, Oracle, SAP and HANA, just to mention some).\u00a0<a href=\"https:\/\/www.baculasystems.com\/corporate-data-backup-software-solutions\/bacula-enterprise-data-backup-software\" target=\"_blank\" rel=\"noopener noreferrer\">Bacula Enterprise Edition<\/a> is highly flexible, in that it is equally effective for protecting <strong>physical, virtual and cloud<\/strong> IT infrastructures.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-35687 size-large\" title=\"bacula-enterprise-backup-vmware-03\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/11\/bacula-enterprise-backup-vmware-03-600x318.jpg\" alt=\"bacula-enterprise-backup-vmware-03\" width=\"600\" height=\"318\" \/><\/p>\n<p>A complete list of features provided by <strong>Bacula Enterprise Backup Edition<\/strong> can be found in <a href=\"https:\/\/www.baculasystems.com\/corporate-data-backup-software-solutions\/bacula-enterprise-data-backup-software\/features\" target=\"_blank\" rel=\"noopener noreferrer\">this page<\/a>.<\/p>\n<p>&nbsp;<\/p>\n<h2>Architecture<\/h2>\n<p>Bacula Enterprise Backup is composed by five main components:<\/p>\n<ul>\n<li><strong>Bacula Director<\/strong> - is the \"brain\" inside Bacula's architecture.\u00a0For example, it runs all\u00a0<strong>backup, restore, and verify operations<\/strong>, as well as well as backups scheduling and files recovery.<\/li>\n<li><strong>Bacula Console<\/strong> - is the program used by administrators to comunicate with the Director and the user interface is provided in three versions: <strong>graphical<\/strong> (simplest program run in a shell window), <strong>text<\/strong> (good option if scripts are used) and via <strong>web<\/strong> (<a href=\"https:\/\/www.baculasystems.com\/corporate-data-backup-software-solutions\/bweb-multi-tenant-backup-solution\" target=\"_blank\" rel=\"noopener noreferrer\">BWeb<\/a> is the most complete interface).<\/li>\n<li><strong>Bacula Client<\/strong> - is the Bacula client service (File Daemon) that must be installed on <strong>each machine to protect<\/strong>.<\/li>\n<li><strong>Bacula Storage<\/strong> - is the service that runs as daemon installed on machines equipped with backup devices responsible for <strong>reading and writing to storage<\/strong> media.<\/li>\n<li><strong>Catalog<\/strong> - maintains <strong>file indexes and volumes databases<\/strong> for all files backed up. It contains all info related to volumes used, jobs performed and saved files allowing an efficient restore process. Bacula supports three databases platforms: MySQL, PostgreSQL and SQLite (recommended for test environments only).<\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-35689 size-large\" title=\"bacula-enterprise-backup-vmware-04\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/11\/bacula-enterprise-backup-vmware-04-600x449.jpg\" alt=\"bacula-enterprise-backup-vmware-04\" width=\"600\" height=\"449\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2>Supported OSs<\/h2>\n<p>Bacula Enterprise Backup software supports most <a href=\"https:\/\/www.baculasystems.com\/best-enterprise-data-backup-solutions\/linux-server-backup-software\" target=\"_blank\" rel=\"noopener noreferrer\">Linux distributions<\/a> (RHEL, SUSE, Debian, Ubuntu), <a href=\"https:\/\/www.baculasystems.com\/best-enterprise-data-backup-solutions\/windows-server-backup-software-solution\" target=\"_blank\" rel=\"noopener noreferrer\">Windows<\/a>, MacOS X, AIX or Solaris.<\/p>\n<p>The software is <strong>available and certified<\/strong> for the following operating systems:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-35691 size-large\" title=\"bacula-enterprise-backup-vmware-05\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/11\/bacula-enterprise-backup-vmware-05-600x169.jpg\" alt=\"bacula-enterprise-backup-vmware-05\" width=\"600\" height=\"169\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2>Bacula Enterprise Backup for VMware<\/h2>\n<p>Because Bacula Enterprise Backup supports several platforms and provides plenty of features to protect all business types, this article is <strong>mainly focused on backup for VMware<\/strong>.<\/p>\n<p>Bacula Enterprise Backup for VMware can be deployed on <strong>Debian Squeeze<\/strong> and <strong>RHEL\/CentOS<\/strong> platforms and\u00a0it works over a <strong>SAN<\/strong> (FC\/ISCSI) or via <strong>Network Block Device<\/strong> (NBD).<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-35685 size-large\" title=\"bacula-enterprise-backup-vmware-02\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/11\/bacula-enterprise-backup-vmware-02-600x410.jpg\" alt=\"bacula-enterprise-backup-vmware-02\" width=\"600\" height=\"410\" \/><\/p>\n<p>Bacula performs <strong>image-level backups<\/strong>\u00a0(snapshots technology) and takes benefit of the\u00a0<strong>Changed Block Tracking (CBT)<\/strong> technology to backup only changed blocks from the initial full backup. This way optimizes not only the backup but <strong>saves space<\/strong> in the backup repository storage with a <strong>limited load<\/strong> on the network.<\/p>\n<p>&nbsp;<\/p>\n<h2>Main backup features<\/h2>\n<p>Bacula Enterprise Backup for VMware provides several features to protect your workloads, and main features can be summarized as follows:<\/p>\n<ul>\n<li><strong>VMware backup features<\/strong> - backups are performed at <strong>image-level<\/strong> (Full, Differential and Incremental) supporting the <strong>VSS technology<\/strong> to quiesce VSS-based applications to keep application backups consistent. Backups can be <strong>compressed, deduplicated and encrypted<\/strong> to provide best performance optimizing efficiency and security. VMDK files can be restored to alternate directory and\u00a0<strong>granular restores<\/strong> of Active Directory, Exchange, SharePoint, MS-SQL, and many others applications objects are supported. Backups can be stored on many locations, such as local disks, NAS, SAN, tapes, cloud and off-site.<\/li>\n<li><strong>File Level Restore (FLR)<\/strong> - it can be perfomed from <strong>any VMs and file systems<\/strong> (Linux, Windows, LVM, EXT3\/4, etc.) supported by VMware. FLR works over SAN or via NBD and can be performed via <strong>Web interface<\/strong>\u00a0for an easier management or using the <strong>text interface<\/strong>\u00a0especially\u00a0useful if scripts are used.<\/li>\n<li><strong>Rapid File-Level Recovery<\/strong> - files can be located and restored quickly across physical and virtual environments, to apps and folders directly from VM backups with no need to restore the entire VM first.<\/li>\n<li><strong>Verification of the integrity and consistency<\/strong> - VM backups are verified and recovery operations are performed to ensure the integrity and the recoverability of backups avoiding issues due to corrupted backups or disk errors.<\/li>\n<li><strong>Global Endpoint Deduplication<\/strong> - data are optimized at block level storing the new block efficiently saving space in the used storage and network utilization.<\/li>\n<li><strong>Progressive Virtual Full<\/strong> - allows to save resources on the client side while consolidating incremental backups taking data from the local storage and build the full locally.<\/li>\n<li><strong>Backup to cloud<\/strong> - the S3 and Azure Bacula tools allow the administrators to store backups in the cloud taking advantage of the security and flexibility offered by these platforms optimizing costs. This feature provides also a DR environment in case of failures occured in production.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h2>Install Bacula Backup for VMware on CentOS 7<\/h2>\n<p>Bacula Enterprise for VMware can be installed on Debian Squeeze and RHEL\/CentOS platforms and requires an active subscription to <strong>access the download area<\/strong>.\u00a0The following gives an overview of installation.<\/p>\n<p>&nbsp;<\/p>\n<h4>Configure the yum repository<\/h4>\n<p>To install the product on <a href=\"https:\/\/www.centos.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">CentOS 7<\/a>, a <strong>yum repository<\/strong> must be configured to perform the installation. To proceed, you need to import first the two <strong>GPG keys signature<\/strong> located in the root of the download area.<\/p>\n<p>Download the\u00a0GPG keys in your CentOS server and run the import with the following commands:<\/p>\n<p><span style=\"color: #0000ff;\"># rpm --import BaculaSystems-Public-Signature.asc<\/span><br \/>\n<span style=\"color: #0000ff;\"># rpm --import BaculaSystems-Public-Signature-08-2017.asc<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-35694 size-large\" title=\"bacula-enterprise-backup-vmware-06\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/11\/bacula-enterprise-backup-vmware-06-600x63.jpg\" alt=\"bacula-enterprise-backup-vmware-06\" width=\"600\" height=\"63\" \/><\/p>\n<p>Once the keys have been imported,\u00a0<strong>add the following entries<\/strong> to <em>\/etc\/yum.repos.d\/Bacula-Enterprise-Edition.repo<\/em>\u00a0to <strong>download the rpm files<\/strong> needed to install the software. The <strong>correct baseurl<\/strong> value is provided by Bacula once the subscription will be activated.<\/p>\n<p><span style=\"color: #0000ff;\"># vi \/etc\/yum.repos.d\/Bacula-Enterprise-Edition.repo<\/span><\/p>\n<pre class=\"lang:default decode:true\">[Bacula-Enterprise]\r\nname=Red Hat Enterprise - Bacula - Enterprise\r\nbaseurl=https:\/\/<em>URL_provided_by_Bacula_Systems<\/em>\/rvs\/ix\/10.0\/rhel7-64\r\nenabled=1\r\nprotect=0\r\ngpgcheck=1<\/pre>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-36123 size-large\" title=\"bacula-enterprise-backup-vmware-07\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/11\/bacula-enterprise-backup-vmware-07-600x115.jpg\" alt=\"bacula-enterprise-backup-vmware-07\" width=\"600\" height=\"115\" \/><\/p>\n<p>&nbsp;<\/p>\n<h4>Install\u00a0Bacula Enterprise Backup<\/h4>\n<p>First install the <strong>recommended PostgreSQL database<\/strong> for Bacula Enterprise with the command:<\/p>\n<p><span style=\"color: #0000ff;\"># yum install postgresql-server<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-35698 size-large\" title=\"bacula-enterprise-backup-vmware-08\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/11\/bacula-enterprise-backup-vmware-08-600x318.jpg\" alt=\"bacula-enterprise-backup-vmware-08\" width=\"600\" height=\"318\" \/><\/p>\n<p>Initialize the database and <strong>set the auto-start<\/strong> at boot:<\/p>\n<p><span style=\"color: #0000ff;\"># postgresql-setup initdb<\/span><br \/>\n<span style=\"color: #0000ff;\"># systemctl enable postgresql.service<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-35700 size-large\" title=\"bacula-enterprise-backup-vmware-09\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/11\/bacula-enterprise-backup-vmware-09-600x121.jpg\" alt=\"bacula-enterprise-backup-vmware-09\" width=\"600\" height=\"121\" \/><\/p>\n<p>When the database has been initialized, <strong>install Bacula software<\/strong> using the command:<\/p>\n<p><span style=\"color: #0000ff;\"># yum install bacula-enterprise-postgresql<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-35702 size-large\" title=\"bacula-enterprise-backup-vmware-10\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/11\/bacula-enterprise-backup-vmware-10-600x273.jpg\" alt=\"bacula-enterprise-backup-vmware-10\" width=\"600\" height=\"273\" \/><\/p>\n<p>Start the PostgreSQL database.<\/p>\n<p><span style=\"color: #0000ff;\"># systemctl start postgresql.service<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-35712 size-large\" title=\"bacula-enterprise-backup-vmware-11\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/11\/bacula-enterprise-backup-vmware-11-600x51.jpg\" alt=\"bacula-enterprise-backup-vmware-11\" width=\"600\" height=\"51\" \/><\/p>\n<p>Next step is the <strong>creation of the database<\/strong> granting the correct ownership.<\/p>\n<p><span style=\"color: #0000ff;\"># su - postgres<\/span><br \/>\n<span style=\"color: #0000ff;\">&gt; \/opt\/bacula\/scripts\/create_postgresql_database<\/span><br \/>\n<span style=\"color: #0000ff;\">&gt; \/opt\/bacula\/scripts\/make_postgresql_tables<\/span><br \/>\n<span style=\"color: #0000ff;\">&gt; \/opt\/bacula\/scripts\/grant_postgresql_privileges<\/span><br \/>\n<span style=\"color: #0000ff;\">&gt; exit<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-35704 size-large\" title=\"bacula-enterprise-backup-vmware-12\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/11\/bacula-enterprise-backup-vmware-12-600x507.jpg\" alt=\"bacula-enterprise-backup-vmware-12\" width=\"600\" height=\"507\" \/><\/p>\n<p>Launch the Bacula services.<\/p>\n<p><span style=\"color: #0000ff;\"># systemctl start bacula-fd.service<\/span><br \/>\n<span style=\"color: #0000ff;\"># systemctl start bacula-sd.service<\/span><br \/>\n<span style=\"color: #0000ff;\"># systemctl start bacula-dir.service<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-35706 size-large\" title=\"bacula-enterprise-backup-vmware-13\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/11\/bacula-enterprise-backup-vmware-13-600x61.jpg\" alt=\"bacula-enterprise-backup-vmware-13\" width=\"600\" height=\"61\" \/><\/p>\n<p>Open the <strong>required TCP ports<\/strong> 9101, 9102, and 9103 in the firewall with the following commands:<\/p>\n<p><span style=\"color: #0000ff;\"># firewall-cmd --permanent --add-port=9101\/tcp<\/span><br \/>\n<span style=\"color: #0000ff;\"># firewall-cmd --permanent --add-port=9102\/tcp<\/span><br \/>\n<span style=\"color: #0000ff;\"># firewall-cmd --permanent --add-port=9103\/tcp<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-35708 size-large\" title=\"bacula-enterprise-backup-vmware-14\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/11\/bacula-enterprise-backup-vmware-14-600x123.jpg\" alt=\"bacula-enterprise-backup-vmware-14\" width=\"600\" height=\"123\" \/><\/p>\n<p>Since <strong><em>SELinux<\/em> may cause some issues<\/strong>, check if <em>SELinux<\/em> is enabled in your system. Edit the\u00a0<em>\/etc\/selinux\/config<\/em>\u00a0file to disable it if needed.<\/p>\n<p><span style=\"color: #0000ff;\"># sestatus<br \/>\n# vi \/etc\/selinux\/config<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-35710 size-large\" title=\"bacula-enterprise-backup-vmware-15\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/11\/bacula-enterprise-backup-vmware-15-600x170.jpg\" alt=\"bacula-enterprise-backup-vmware-15\" width=\"600\" height=\"170\" \/><\/p>\n<p>To disable <em>SELinux<\/em>, change the SELINUX entry in the <em>\/etc\/selinux\/config<\/em> file as follows:<\/p>\n<pre class=\"lang:default decode:true\">SELINUX=disabled<\/pre>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-35714 size-large\" title=\"bacula-enterprise-backup-vmware-16\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/11\/bacula-enterprise-backup-vmware-16-600x216.jpg\" alt=\"bacula-enterprise-backup-vmware-16\" width=\"600\" height=\"216\" \/><\/p>\n<p>Save and reboot your system. Once rebooted, check the <em>SElinux<\/em> status once again. This time the feature has been disabled successfully.<\/p>\n<p><span style=\"color: #0000ff;\"># sestatus<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-35716 size-large\" title=\"bacula-enterprise-backup-vmware-17\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/11\/bacula-enterprise-backup-vmware-17-600x63.jpg\" alt=\"bacula-enterprise-backup-vmware-17\" width=\"600\" height=\"63\" \/><\/p>\n<p>Run the following <strong>test to check if the system works<\/strong> as expected.<\/p>\n<p><span style=\"color: #0000ff;\"># sudo -u bacula \/opt\/bacula\/bin\/bconsole<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-35718 size-large\" title=\"bacula-enterprise-backup-vmware-18\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/11\/bacula-enterprise-backup-vmware-18-600x79.jpg\" alt=\"bacula-enterprise-backup-vmware-18\" width=\"600\" height=\"79\" \/><\/p>\n<p>Enter the following commands:<\/p>\n<p><span style=\"color: #0000ff;\">* run job=BackupCatalog<\/span><br \/>\n<span style=\"color: #0000ff;\">* messages<\/span><br \/>\n<span style=\"color: #0000ff;\">* status dir<\/span><br \/>\n<span style=\"color: #0000ff;\">* quit<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-35720 size-large\" title=\"bacula-enterprise-backup-vmware-19\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/11\/bacula-enterprise-backup-vmware-19-600x873.jpg\" alt=\"bacula-enterprise-backup-vmware-19\" width=\"600\" height=\"873\" \/><\/p>\n<p>If no errors are reported, the system is working properly.<\/p>\n<p>&nbsp;<\/p>\n<h2>Install BWeb<\/h2>\n<p>BWeb is the <strong>web interface<\/strong> used to manage Bacula Enterprise.<\/p>\n<p>To install the web interface using <em>yum<\/em>, edit the\u00a0<em><span class=\"fontstyle0\">\/etc\/yum.repos.d\/bacula-enterprise.repo<\/span><\/em>\u00a0file and add the following entry since it is required another URL:<\/p>\n<p><span style=\"color: #0000ff;\"># vi \/etc\/yum.repos.d\/bacula-enterprise.repo<\/span><\/p>\n<pre class=\"lang:default decode:true\">[Bacula-Enterprise-bweb]\r\nname=Red Hat Enterprise - BWeb Management Suite\r\nbaseurl=https:\/\/<em>URL_provided_by_Bacula_Systems<\/em>\/rvs\/bwebix\/10.0\/rhel7-64\r\nenabled=1\r\nprotect=0\r\ngpgcheck=1\r\n\r\n[Bacula-Enterprise-dag]\r\nname=Red Hat Enterprise - Bacula Systems dag for BWeb\r\nbaseurl=https:\/\/<em>URL_provided_by_Bacula_Systems<\/em>\/tz\/DAG\/rhel7-64\/\r\nenabled=1\r\nprotect=0\r\ngpgcheck=0<\/pre>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-36125 size-large\" title=\"bacula-enterprise-backup-vmware-20\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/11\/bacula-enterprise-backup-vmware-20-1-600x340.jpg\" alt=\"bacula-enterprise-backup-vmware-20\" width=\"600\" height=\"340\" \/><\/p>\n<p>Install the <strong>BWeb component<\/strong> with the following command:<\/p>\n<p><span class=\"fontstyle0\" style=\"color: #0000ff;\"> # yum install bacula-enterprise-bweb <\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-35724 size-large\" title=\"bacula-enterprise-backup-vmware-21\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/11\/bacula-enterprise-backup-vmware-21-600x237.jpg\" alt=\"bacula-enterprise-backup-vmware-21\" width=\"600\" height=\"237\" \/><\/p>\n<p>Finalize the installation running the command:<\/p>\n<p><span style=\"color: #0000ff;\"># \/opt\/bweb\/bin\/install_bweb.sh<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-35726 size-large\" title=\"bacula-enterprise-backup-vmware-22\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/11\/bacula-enterprise-backup-vmware-22-600x300.jpg\" alt=\"bacula-enterprise-backup-vmware-22\" width=\"600\" height=\"300\" \/><\/p>\n<p>Set BWeb to auto-start during boot and start the service.<\/p>\n<p><span style=\"color: #0000ff;\"># systemctl enable bweb.service<\/span><br \/>\n<span style=\"color: #0000ff;\"># systemctl start bweb.service<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-35728 size-large\" title=\"bacula-enterprise-backup-vmware-23\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/11\/bacula-enterprise-backup-vmware-23-600x86.jpg\" alt=\"bacula-enterprise-backup-vmware-23\" width=\"600\" height=\"86\" \/><\/p>\n<p><span class=\"fontstyle0\">Because BWeb is accessible through <strong>port 9180<\/strong>, you need to open such port in the system's firewall.<\/span><\/p>\n<p><span style=\"color: #0000ff;\"># firewall-cmd --permanent --add-port=9180\/tcp<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-35730 size-large\" title=\"bacula-enterprise-backup-vmware-24\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/11\/bacula-enterprise-backup-vmware-24-600x62.jpg\" alt=\"bacula-enterprise-backup-vmware-24\" width=\"600\" height=\"62\" \/><\/p>\n<p>Now <strong>access the web console<\/strong> by entering the address <span style=\"color: #0000ff;\">http:\/\/IP_Bacula_Server:9180<\/span>. It is recommended to <strong>use Firefox<\/strong> as browser. Check if the listed parameters are correct then click\u00a0<strong>Save<\/strong>\u00a0at the bottom of the screen to save the configuration.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-35732 size-large\" title=\"bacula-enterprise-backup-vmware-25\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/11\/bacula-enterprise-backup-vmware-25-600x372.jpg\" alt=\"bacula-enterprise-backup-vmware-25\" width=\"600\" height=\"372\" \/><\/p>\n<p>Now test the configuration in the <strong>Configuration &gt; Configure BWeb<\/strong> section.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-35734 size-large\" title=\"bacula-enterprise-backup-vmware-26\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/11\/bacula-enterprise-backup-vmware-26-600x117.jpg\" alt=\"bacula-enterprise-backup-vmware-26\" width=\"600\" height=\"117\" \/><\/p>\n<p>Click <strong>Check BWeb configuration<\/strong>\u00a0at the bottom of the screen.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-35736 size-large\" title=\"bacula-enterprise-backup-vmware-27\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/11\/bacula-enterprise-backup-vmware-27-600x211.jpg\" alt=\"bacula-enterprise-backup-vmware-27\" width=\"600\" height=\"211\" \/><\/p>\n<p><span style=\"color: #000000;\">The check result reports missing packages and errors.<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-35767 size-full\" title=\"bacula-enterprise-backup-vmware-28\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/11\/bacula-enterprise-backup-vmware-28.jpg\" alt=\"bacula-enterprise-backup-vmware-28\" width=\"508\" height=\"543\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2>Install vSphere packages<\/h2>\n<p>To perform the backup for VMware infrastructures, you need to install the <strong>correct RPM packages<\/strong>. Packages can be easily installed using <em>yum<\/em> but you need to specify the correct repository in your system. Edit the\u00a0<em><span class=\"fontstyle0\">\/etc\/yum.repos.d\/bacula-enterprise.repo<\/span><\/em>\u00a0file and add the following entry:<\/p>\n<p><span style=\"color: #0000ff;\"># vi\u00a0 \/etc\/yum.repos.d\/bacula-enterprise.repo<\/span><\/p>\n<pre class=\"lang:default decode:true\">[Bacula-Enterprise-vsphere] \r\nname=Red Hat Enterprise - Bacula Systems vSphere\r\nbaseurl=https:\/\/<em>URL_provided_by_Bacula_Systems<\/em>\/rpms\/vsphere\/10.0.5\/rhel7-64\/\u00a0\r\nenabled=1 \r\nprotect=0 \r\ngpgcheck=0<\/pre>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-36128 size-large\" title=\"bacula-enterprise-backup-vmware-29\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/11\/bacula-enterprise-backup-vmware-29-1-600x221.jpg\" alt=\"bacula-enterprise-backup-vmware-29\" width=\"600\" height=\"221\" \/><\/p>\n<p>Install the required packages needed to ensure that the Bacula Enterprise Edition version is <strong>compatible with the vSphere Plugin<\/strong>.<\/p>\n<p><span style=\"color: #0000ff;\"># yum install bacula-enterprise-vsphere*<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-35740 size-large\" title=\"bacula-enterprise-backup-vmware-30\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/11\/bacula-enterprise-backup-vmware-30-600x348.jpg\" alt=\"bacula-enterprise-backup-vmware-30\" width=\"600\" height=\"348\" \/><\/p>\n<p>&nbsp;<\/p>\n<h4>BWeb vSphere Integration<\/h4>\n<p>To integrate VMware with BWeb, you need to\u00a0<span class=\"fontstyle0\">install the <a href=\"https:\/\/www.vmware.com\/support\/developer\/viperltoolkit\/\" target=\"_blank\" rel=\"noopener noreferrer\">VMware Perl SDK<\/a>\u00a0package. Download the <strong>.GZ package<\/strong> in your system and extract the files.\u00a0<\/span><\/p>\n<p><span style=\"color: #0000ff;\"># tar -xzvf VMware-vSphere-Perl-SDK-6.7-0-8156551.x86_64.tar.gz<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-35742 size-large\" title=\"bacula-enterprise-backup-vmware-31\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/11\/bacula-enterprise-backup-vmware-31-600x195.jpg\" alt=\"bacula-enterprise-backup-vmware-31\" width=\"600\" height=\"195\" \/><\/p>\n<p>Once the files has been extracted, enter the created directory and run the following commands to install the VMware Perl SDK:<\/p>\n<p><span style=\"color: #0000ff;\"># cd vmware-vsphere-cli-distrib<\/span><br \/>\n<span style=\"color: #0000ff;\"># \/.vmware-install.pl<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-35744 size-large\" title=\"bacula-enterprise-backup-vmware-32\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/11\/bacula-enterprise-backup-vmware-32-600x340.jpg\" alt=\"bacula-enterprise-backup-vmware-32\" width=\"600\" height=\"340\" \/><\/p>\n<p>Accept the EULA by typing <strong>yes<\/strong> when prompted then press <strong>Enter<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-35746 size-large\" title=\"bacula-enterprise-backup-vmware-33\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/11\/bacula-enterprise-backup-vmware-33-600x225.jpg\" alt=\"bacula-enterprise-backup-vmware-33\" width=\"600\" height=\"225\" \/><\/p>\n<p>If <strong>missing dependencies<\/strong> required by <em>viperl<\/em> are detected, install all required packages.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-35748 size-large\" title=\"bacula-enterprise-backup-vmware-34\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/11\/bacula-enterprise-backup-vmware-34-600x293.jpg\" alt=\"bacula-enterprise-backup-vmware-34\" width=\"600\" height=\"293\" \/><\/p>\n<p>When all dependencies have been fixed, the\u00a0VMware Perl SDK installs successfully.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-35750 size-large\" title=\"bacula-enterprise-backup-vmware-35\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/11\/bacula-enterprise-backup-vmware-35-600x247.jpg\" alt=\"bacula-enterprise-backup-vmware-35\" width=\"600\" height=\"247\" \/><\/p>\n<p>Now run the following command to retrieve the <strong>vCenter thumbprint<\/strong> needed in the plugin configuration:<\/p>\n<p><span class=\"fontstyle0\" style=\"color: #0000ff;\"> # \/opt\/bacula\/bin\/vsphere-ctl thumbprint &lt;IP_vCenter&gt;<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-35752 size-large\" title=\"bacula-enterprise-backup-vmware-36\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/11\/bacula-enterprise-backup-vmware-36-600x71.jpg\" alt=\"bacula-enterprise-backup-vmware-36\" width=\"600\" height=\"71\" \/><\/p>\n<p>Edit the <em>\/opt\/bacula\/etc\/vsphere_global.conf<\/em> file end enter the details of your vCenter or ESXi host. As thumbprint, enter the value obtained from previous step.<\/p>\n<p><span style=\"color: #0000ff;\"># vi \/opt\/bacula\/etc\/vsphere_global.conf <\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-35754 size-large\" title=\"bacula-enterprise-backup-vmware-37\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/11\/bacula-enterprise-backup-vmware-37-600x124.jpg\" alt=\"bacula-enterprise-backup-vmware-37\" width=\"600\" height=\"124\" \/><\/p>\n<p>Test the vSphere plugin by running this command. You should see the <strong>list of virtual machines<\/strong> running in the vCenter.<\/p>\n<p><span class=\"fontstyle0\" style=\"color: #0000ff;\"># \/opt\/bacula\/bin\/vsphere-ctl update <\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-35756 size-large\" title=\"bacula-enterprise-backup-vmware-38\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/11\/bacula-enterprise-backup-vmware-38-600x182.jpg\" alt=\"bacula-enterprise-backup-vmware-38\" width=\"600\" height=\"182\" \/><\/p>\n<p>Now to <strong>enable the VMware Integration<\/strong> support, the <strong>viperl libraries<\/strong>\u00a0must be installed in the system.\u00a0From the previously extracted directory <em>vmware-vsphere-cli-distrib<\/em>, copy the files included in the\u00a0<em>lib\/VMware\/share\/VMware<\/em> folder to a <strong>perl include path<\/strong>.<\/p>\n<p><span style=\"color: #0000ff;\"># cp\u00a0vmware-vsphere-cli-distrib\/lib\/VMware\/share\/VMware\/* \/usr\/local\/share\/perl5\/<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-35769 size-large\" title=\"bacula-enterprise-backup-vmware-39\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/11\/bacula-enterprise-backup-vmware-39-600x350.jpg\" alt=\"bacula-enterprise-backup-vmware-39\" width=\"600\" height=\"350\" \/><\/p>\n<p>Before protecting your vSphere environment, you need to\u00a0<strong>configure your backup infrastructure<\/strong>. Access the web console's dashboard go to\u00a0<strong>Configuration &gt; Configure Bacula<\/strong>\u00a0to access the configuration area and\u00a0<strong>start configuring the product<\/strong>. From this section you can define your\u00a0<strong>backup environment<\/strong>: backup jobs, backup repositories, backup policies, etc.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-35771 size-large\" title=\"bacula-enterprise-backup-vmware-40\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2018\/11\/bacula-enterprise-backup-vmware-40-600x277.jpg\" alt=\"bacula-enterprise-backup-vmware-40\" width=\"600\" height=\"277\" \/><\/p>\n<p><a href=\"https:\/\/www.baculasystems.com\/best-enterprise-data-backup-solutions\" target=\"_blank\" rel=\"noopener noreferrer\">Bacula Enterprise Backup<\/a> provides so many features and capabilities to protect and secure IT infrastructures that even the most demanding administrator can find the product complete.<\/p>\n<p>Bacula Enterprise Backup is available to download as <a href=\"https:\/\/www.baculasystems.com\/download-kickstart-standalone-trial-version\" target=\"_blank\" rel=\"noopener noreferrer\">30-day trial<\/a> with documentation and example user test scenarios.<\/p>\n<p><img decoding=\"async\" title=\"signature\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/images\/firma.jpg\" alt=\"signature\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Bacula Enterprise Backup is a complete backup solution for organization to protect their\u00a0VMware vSphere, Hyper-V, Xen, KVM and Proxmox environments allowing to store backups on-premises, off-site and in the cloud. The product provides all the features modern data centers require to protect running workloads: full, differential, incremental, and virtual-full backup and data recovery capabilities as well as deduplication, REST API, cloud native integration, and many others.\u00a0Bacula's backups can be stored on-premises (disks, NAS, SAN, tapes), off-site and in the cloud\u00a0(AWS S3, Azure, Google Cloud and Oracle Cloud).<\/p>\n","protected":false},"author":3,"featured_media":35683,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rop_custom_images_group":[],"rop_custom_messages_group":[],"rop_publish_now":"initial","rop_publish_now_accounts":{"linkedin_93tdZWzMZc_93tdZWzMZc":"","facebook_2879994398731222_17841400390232720":"","twitter_113568041_113568041":"","mastodon_115463926174894442_115463926174894442":""},"rop_publish_now_history":[],"rop_publish_now_status":"pending","footnotes":""},"categories":[903,2138,1917],"tags":[579,1928,1669,699],"class_list":["post-35585","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-vmware-en","category-backup-en","category-bacula-en","tag-backup-en","tag-bacula","tag-cloud","tag-vmware-en","has_thumb"],"_links":{"self":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/posts\/35585","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/comments?post=35585"}],"version-history":[{"count":0,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/posts\/35585\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/media\/35683"}],"wp:attachment":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/media?parent=35585"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/categories?post=35585"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/tags?post=35585"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}