|
3 | 3 | # @api private |
4 | 4 | # |
5 | 5 | class mysql::backup::xtrabackup ( |
6 | | - $xtrabackup_package_name = $mysql::params::xtrabackup_package_name, |
7 | | - $backupuser = undef, |
8 | | - $backuppassword = undef, |
9 | | - $backupdir = '', |
10 | | - $maxallowedpacket = '1M', |
11 | | - $backupmethod = 'xtrabackup', |
12 | | - $backupdirmode = '0700', |
13 | | - $backupdirowner = 'root', |
14 | | - $backupdirgroup = $mysql::params::root_group, |
15 | | - $backupcompress = true, |
16 | | - $backuprotate = 30, |
17 | | - $backupscript_template = 'mysql/xtrabackup.sh.erb', |
18 | | - $ignore_events = true, |
19 | | - $delete_before_dump = false, |
20 | | - $backupdatabases = [], |
21 | | - $file_per_database = false, |
22 | | - $include_triggers = true, |
23 | | - $include_routines = false, |
24 | | - $ensure = 'present', |
25 | | - $time = ['23', '5'], |
26 | | - $prescript = false, |
27 | | - $postscript = false, |
28 | | - $execpath = '/usr/bin:/usr/sbin:/bin:/sbin', |
29 | | - $optional_args = [], |
30 | | - $additional_cron_args = '--backup', |
31 | | - $incremental_backups = true |
| 6 | + $xtrabackup_package_name = $mysql::params::xtrabackup_package_name, |
| 7 | + $backupuser = undef, |
| 8 | + $backuppassword = undef, |
| 9 | + $backupdir = '', |
| 10 | + $maxallowedpacket = '1M', |
| 11 | + $backupmethod = 'xtrabackup', |
| 12 | + $backupdirmode = '0700', |
| 13 | + $backupdirowner = 'root', |
| 14 | + $backupdirgroup = $mysql::params::root_group, |
| 15 | + $backupcompress = true, |
| 16 | + $backuprotate = 30, |
| 17 | + $backupscript_template = 'mysql/xtrabackup.sh.erb', |
| 18 | + $backup_success_file_path = undef, |
| 19 | + $ignore_events = true, |
| 20 | + $delete_before_dump = false, |
| 21 | + $backupdatabases = [], |
| 22 | + $file_per_database = false, |
| 23 | + $include_triggers = true, |
| 24 | + $include_routines = false, |
| 25 | + $ensure = 'present', |
| 26 | + $time = ['23', '5'], |
| 27 | + $prescript = false, |
| 28 | + $postscript = false, |
| 29 | + $execpath = '/usr/bin:/usr/sbin:/bin:/sbin', |
| 30 | + $optional_args = [], |
| 31 | + $additional_cron_args = '--backup', |
| 32 | + $incremental_backups = true |
32 | 33 | ) inherits mysql::params { |
33 | 34 |
|
34 | 35 | ensure_packages($xtrabackup_package_name) |
|
0 commit comments