| Class | mysql::backup |
| In: |
/etc/puppet/modules/mysql/manifests/backup.pp
|
| Parent: |
Class: mysql::backup
This module handles …
Parameters:
[*backupuser*] - The name of the mysql backup user. [*backuppassword*] - The password of the mysql backup user. [*backupdir*] - The target directory of the mysqldump. [*backupcompress*] - Boolean to compress backup with bzip2.
Actions:
GRANT SELECT, RELOAD, LOCK TABLES ON *.* TO 'user'@'localhost' IDENTIFIED BY 'password';
Requires:
Class['mysql::config']
Sample Usage:
class { 'mysql::backup':
backupuser => 'myuser',
backuppassword => 'mypassword',
backupdir => '/tmp/backups',
backupcompress => true,
}