From Fedora Project Wiki
Line 31: Line 31:
The most important points that are left "abandoned" are the following:
The most important points that are left "abandoned" are the following:


- Installation scripts and updates to makefiles are not updated anymore.
* Installation scripts and updates to makefiles are not updated anymore.
- New plugins and functionalities are not added anymore, except those in the "core" daemons.
* New plugins and functionalities are not added anymore, except those in the "core" daemons.
- Gaphical (and buggy) console has not received any update in almost two years.
* Gaphical (and buggy) console has not received any update in almost two years.
- Patches and bugs opened in the bug tracker are mostly left abandoned. Even trivial fixes are not imported in the source.
* Patches and bugs opened in the bug tracker are mostly left abandoned. Even trivial fixes are not imported in the source.
- Windows binaries are no longer provided, nor the source for the clients has been updated. Even if compiled with difficulties, there is no support for recent Windows versions.
* Windows binaries are no longer provided, nor the source for the clients has been updated. Even if compiled with difficulties, there is no support for recent Windows versions.


A former Bacula developer, frustrated by the situation created the fork Bareos a long time ago from Bacula 5.2.x (the current Fedora and RHEL 7 version). This version has now received a LOT of bugfixes compared to the original Bacula source. This makes compilation and installation a lot easier than it was with Bacula.
A former Bacula developer, frustrated by the situation created the fork Bareos a long time ago from Bacula 5.2.x (the current Fedora and RHEL 7 version). This version has now received '''a lot of bugfixes''' compared to the original Bacula source. This makes compilation and installation a lot easier than it was with Bacula.


On top of this, a lot of features have been added; some unique to Bareos but many available only in the closed source Bacula Enterprise.
On top of this, a lot of features have been added; some unique to Bareos but many available only in the closed source Bacula Enterprise.
Line 51: Line 51:
* http://www.bareos.org/en/faq/items/why_fork.html
* http://www.bareos.org/en/faq/items/why_fork.html


Bareos can also be FULLY compatible with Bacula by setting a specific configuration directive in the Daemon configuration files; thus providing the option for RHEL 6/7 users to interoperate with Fedora systems.
Bareos can also be '''fully compatible with Bacula''' by setting a specific configuration directive in the Daemon configuration files; thus providing the option for RHEL 6/7 users to interoperate with Fedora systems.


* http://www.bareos.org/en/faq/items/bareos_bacula_compatibility.html
* http://www.bareos.org/en/faq/items/bareos_bacula_compatibility.html

Revision as of 10:31, 31 October 2013

Replace Bacula with Bareos

Summary

The powerful Bacula network backup solution has switched from being Open Source friendly to being almost closed source. Originally the project was conceived totally as Open Source, but since the creation of Bacula Systems and its proprietary Bacula Enterprise Edition product, the Open Source (now called "Community Edition") has received less and less updates and is mostly abandoned.

Owner

  • Name: Simone Caronni
  • Email: negativo17@@gmail.com
  • Release notes owner: <to be assigned by docs team>


Current status

  • Targeted release: Fedora 21
  • Last updated: 1st November 2013
  • Tracker bug: <will be assigned by the Wrangler>

Detailed Description

The most important points that are left "abandoned" are the following:

  • Installation scripts and updates to makefiles are not updated anymore.
  • New plugins and functionalities are not added anymore, except those in the "core" daemons.
  • Gaphical (and buggy) console has not received any update in almost two years.
  • Patches and bugs opened in the bug tracker are mostly left abandoned. Even trivial fixes are not imported in the source.
  • Windows binaries are no longer provided, nor the source for the clients has been updated. Even if compiled with difficulties, there is no support for recent Windows versions.

A former Bacula developer, frustrated by the situation created the fork Bareos a long time ago from Bacula 5.2.x (the current Fedora and RHEL 7 version). This version has now received a lot of bugfixes compared to the original Bacula source. This makes compilation and installation a lot easier than it was with Bacula.

On top of this, a lot of features have been added; some unique to Bareos but many available only in the closed source Bacula Enterprise.

Here is the list of new features compared to the current Bacula 5.2.13:

Some highlights include NDMP support for enterprise class storage (NetApp, etc.), support for enterprise class tape libraries and Windows support (including Windows Server 2012) with Bareos generated binaries.

For further details on why a Bacula fork was created please look at the following links:

Bareos can also be fully compatible with Bacula by setting a specific configuration directive in the Daemon configuration files; thus providing the option for RHEL 6/7 users to interoperate with Fedora systems.

Benefit to Fedora

Fedora will move from an almost proprietary product that is no longer supported upstream to a fully Open Source equivalent with a lot of new features, developer involvment and bugfixing.

Enterprise users will benefit of the cross-system integration (AIX, Windows binaries, etc.) and of the new enterprise grade features (NDMP support, bigger tape libraries, client initiated backups for laptops, etc.).

Scope

To accomplish the goal, the following Bacula packages need to be replaced with Bareos equivalents:

bacula
bacula-docs

Currently, the same Fedora packages can be rebuilt as they are to work also on CentOS/RHEL 5 and 6, upgrading the EPEL or official Bacula packages in the distributions. This is to have a consistent backup infrastructure across all the Fedora/CentOS/RHEL ecosystem.

To ease installation, a repository for installing those packages on a CentOS/RHEL system do exist:

http://repos.fedorapeople.org/repos/slaanesh/bacula/README.txt

The idea is the same for Bareos: import into Fedora 21 packages that can be rebuilt for all supported Fedora/RHEL/CentOS releases and provide a repository that can upgrade any Bacula release currently installed in the system with the new one. In detail; the upgrade scenarios from Bacula to Bareos supported would be:

  • EPEL 5: Bacula 2.4
  • EPEL 6: Bacula 5.0.0
  • Fedora: Bacula 5.2.13
  • EPEL 5 + fedorapeople.org repo: Bacula 5.2.13
  • EPEL 6 + fedorapeople.org repo: Bacula 5.0.0
  • Proposal owners:
  • Other developers: N/A (not a System Wide Change)
  • Release engineering: the release engineering team should make sure the new Bareos packages are in place instead of the current Bacula packages for the new release.
  • Policies and guidelines: N/A (not a System Wide Change)

Upgrade/compatibility impact

Upgrades are not different than Bacula upgrades between major releases (i.e. Fedora 16 bacula 5.0 to Fedora 17 Bacula 5.2).

Systems that are currently running Bacula will have their system upgraded to Bareos by correct dependencies in the packages. Current preferences for the database backend (MySQL, PostgreSQL, SQLite) will be retained across the upgrade.

The procedure involves a bit of tuning of configuration files for new features and upgrades for the database schema. This is exactly what needs to be done between the various Bacula iterations that Fedora and EPEL have seen across the year.

How To Test

  • Install a Bareos environment on a new Fedora system and configure some backups.
  • Upgrade a current Fedora release with Bacula installed to get the new Bareos packages. Test the upgrade from the Bacula 5.2.13 database schema to the new Bareos one, make sure all backups work as before. No difference than performing a normal Bacula update.

User Experience

Lots and lots of new features for Bacula users, bugfixing, ability to backup also newer Windows systems, more Open Source friendly software.

Dependencies

Bacula has a static UID/GID defined in the [setup package]. A bug needs to be filed as the "label" should change from "bacula" to "bareos" for Fedora 21.

All the other requirements are self-contained in the Bareos packages.

Contingency Plan

  • Contingency mechanism: (What to do? Who will do it?) N/A (not a System Wide Change)
  • Contingency deadline: N/A (not a System Wide Change)
  • Blocks release? N/A (not a System Wide Change), Yes/No

Documentation

N/A (not a System Wide Change)

Release Notes