Class mysql::backup
In: /modules/mysql/manifests/backup.pp
Parent:

Resources

Resources

Cron["mysql-full"]
   command => "/usr/local/bin/mysql-full >/dev/null"
   user => "root"
   hour => $backup_hour
   minute => $backup_minute
   ensure => $ensure
File["/usr/local/bin/mysql-full"]
   content => template("mysql/mysql-full.erb")
   mode => "0755"
   ensure => $ensure
File[$backup_dir, $backup_dir/day, $backup_dir/month]
   mode => "0700"
   ensure => $ensure ? { "absent" => "absent", default => "directory" }

[Validate]