File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -421,7 +421,7 @@ Plugins can be installed by using the `mysql_plugin` defined type. See `examples
421421* ` mysql::client::install ` : Installs MySQL client.
422422* ` mysql::backup::mysqldump ` : Implements mysqldump backups.
423423* ` mysql::backup::mysqlbackup ` : Implements backups with Oracle MySQL Enterprise Backup.
424- * ` mysql::backup::xtrabackup ` : Implements backups with XtraBackup from Percona.
424+ * ` mysql::backup::xtrabackup ` : Implements backups with XtraBackup from Percona or Mariabackup .
425425
426426### Parameters
427427
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ _Private Classes_
1818
1919* ` mysql::backup::mysqlbackup ` : Manage the mysqlbackup client.
2020* ` mysql::backup::mysqldump ` : "Provider" for mysqldump
21- * ` mysql::backup::xtrabackup ` : "Provider" for Percona XtraBackup
21+ * ` mysql::backup::xtrabackup ` : "Provider" for Percona XtraBackup or MariaBackup
2222* ` mysql::bindings::client_dev ` : Private class for installing client development bindings
2323* ` mysql::bindings::daemon_dev ` : Private class for installing daemon development bindings
2424* ` mysql::bindings::java ` : Private class for installing java language bindings.
Original file line number Diff line number Diff line change 1010# backuppassword => 'mypassword',
1111# backupdir => '/tmp/backups',
1212# }
13+ # class { 'mysql::server::backup':
14+ # backupmethod => 'mariabackup',
15+ # provider => 'xtrabackup',
16+ # backupdir => '/tmp/backups',
17+ # }
1318#
1419# @param backupuser
1520# MySQL user with backup administrator privileges.
2530# Group owner for the backup directory. This parameter is passed directly to the file resource.
2631# @param backupcompress
2732# Whether or not to compress the backup (when using the mysqldump provider)
33+ # @param backupmethod
34+ # The execution binary for backing up. ex. mysqldump, xtrabackup, mariabackup
2835# @param backuprotate
2936# Backup rotation interval in 24 hour periods.
3037# @param ignore_events
Original file line number Diff line number Diff line change @@ -401,8 +401,7 @@ class { 'mysql::server': }
401401 context 'with mariabackup' do
402402 let ( :params ) do
403403 default_params . merge ( provider : 'xtrabackup' ,
404- backupmethod : 'mariabackup'
405- )
404+ backupmethod : 'mariabackup' )
406405 end
407406
408407 it 'contain the mariabackup executor' do
You can’t perform that action at this time.
0 commit comments