File tree 4 files changed +10
-4
lines changed
4 files changed +10
-4
lines changed 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
421
421
* ` mysql::client::install ` : Installs MySQL client.
422
422
* ` mysql::backup::mysqldump ` : Implements mysqldump backups.
423
423
* ` 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 .
425
425
426
426
### Parameters
427
427
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ _Private Classes_
18
18
19
19
* ` mysql::backup::mysqlbackup ` : Manage the mysqlbackup client.
20
20
* ` mysql::backup::mysqldump ` : "Provider" for mysqldump
21
- * ` mysql::backup::xtrabackup ` : "Provider" for Percona XtraBackup
21
+ * ` mysql::backup::xtrabackup ` : "Provider" for Percona XtraBackup or MariaBackup
22
22
* ` mysql::bindings::client_dev ` : Private class for installing client development bindings
23
23
* ` mysql::bindings::daemon_dev ` : Private class for installing daemon development bindings
24
24
* ` mysql::bindings::java ` : Private class for installing java language bindings.
Original file line number Diff line number Diff line change 10
10
# backuppassword => 'mypassword',
11
11
# backupdir => '/tmp/backups',
12
12
# }
13
+ # class { 'mysql::server::backup':
14
+ # backupmethod => 'mariabackup',
15
+ # provider => 'xtrabackup',
16
+ # backupdir => '/tmp/backups',
17
+ # }
13
18
#
14
19
# @param backupuser
15
20
# MySQL user with backup administrator privileges.
25
30
# Group owner for the backup directory. This parameter is passed directly to the file resource.
26
31
# @param backupcompress
27
32
# 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
28
35
# @param backuprotate
29
36
# Backup rotation interval in 24 hour periods.
30
37
# @param ignore_events
Original file line number Diff line number Diff line change @@ -401,8 +401,7 @@ class { 'mysql::server': }
401
401
context 'with mariabackup' do
402
402
let ( :params ) do
403
403
default_params . merge ( provider : 'xtrabackup' ,
404
- backupmethod : 'mariabackup'
405
- )
404
+ backupmethod : 'mariabackup' )
406
405
end
407
406
408
407
it 'contain the mariabackup executor' do
You can’t perform that action at this time.
0 commit comments