Skip to content

Commit

Permalink
Merge pull request #10 from adfinis/bareosfd_mysql_xtrabackup
Browse files Browse the repository at this point in the history
feat(plugin): Bareos FD MySQL Percona XtraBackup Plugin
  • Loading branch information
adf-patrickha authored Mar 1, 2024
2 parents 7cfcf93 + e6ab333 commit ce3f46a
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 4 deletions.
1 change: 1 addition & 0 deletions molecule/default/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@
bareos_fd_plugins:
- mariabackup
- mysql
- mysql_xtrabackup
- postgresql
# TODO disabled as package `bareos-filedaemon-ldap-python-plugin`
# has broken dependencies on Debian (python-ldap instead of python3-ldap)
Expand Down
2 changes: 2 additions & 0 deletions molecule/default/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
name:
- bareos-filedaemon-mariabackup-python-plugin
- bareos-filedaemon-postgresql-python-plugin
- bareos-filedaemon-postgresql-python-plugin
- bareos-filedaemon-percona-xtrabackup-python-plugin
# TODO disabled as package `bareos-filedaemon-ldap-python-plugin`
# has broken dependencies on Debian (python-ldap instead of python3-ldap)
# - bareos-filedaemon-ldap-python-plugin
Expand Down
5 changes: 4 additions & 1 deletion vars/Debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ bareos_fd_debug_packages:
- gdb

bareos_fd_plugin_dir: "/usr/lib/bareos/plugins"
bareos_fd_plugin_name: python3
bareos_fd_plugin_list:
- name: mariabackup
packages:
Expand All @@ -23,3 +22,7 @@ bareos_fd_plugin_list:
packages:
- python3-ldap
- bareos-filedaemon-ldap-python-plugin

- name: mysql_xtrabackup
packages:
- bareos-filedaemon-percona-xtrabackup-python-plugin
6 changes: 4 additions & 2 deletions vars/RedHat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ bareos_fd_debug_packages:
- bareos-filedaemon-debuginfo
- gdb

bareos_fd_plugin_dir: "/usr/lib64/bareos/plugins"
bareos_fd_plugin_name: python3
bareos_fd_plugin_list:
- name: mariabackup
packages:
Expand All @@ -24,3 +22,7 @@ bareos_fd_plugin_list:
- name: ldap
packages:
- bareos-filedaemon-ldap-python-plugin

- name: mysql_xtrabackup
packages:
- bareos-filedaemon-percona-xtrabackup-python-plugin
5 changes: 4 additions & 1 deletion vars/RedHat_7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ bareos_fd_debug_packages:
- bareos-debuginfo
- gdb

bareos_fd_plugin_dir: "/usr/lib64/bareos/plugins"
bareos_fd_plugin_name: python
bareos_fd_plugin_list:
- name: mariabackup
Expand All @@ -25,3 +24,7 @@ bareos_fd_plugin_list:
- name: ldap
packages:
- bareos-filedaemon-ldap-python-plugin

- name: mysql_xtrabackup
packages:
- bareos-filedaemon-percona-xtrabackup-python-plugin
4 changes: 4 additions & 0 deletions vars/Suse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,7 @@ bareos_fd_plugin_list:
- name: ldap
packages:
- bareos-filedaemon-ldap-python-plugin

- name: mysql_xtrabackup
packages:
- bareos-filedaemon-percona-xtrabackup-python-plugin
1 change: 1 addition & 0 deletions vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ bareos_fd_encryption_packages:

bareos_fd_service: bareos-filedaemon
bareos_fd_plugin_name: python3
bareos_fd_plugin_dir: "/usr/lib64/bareos/plugins"

# define the following stuff on Distro level (vars/<Distro.yml>). If a Distro is not there, it's not supported.
# bareos_fd_plugin_list: every distro might have different package names and dependencies
Expand Down

0 comments on commit ce3f46a

Please sign in to comment.