Skip to content
Snippets Groups Projects

MySQL backup enabled

Merged Mika Perälä requested to merge mysql-backup into production
1 file
+ 12
1
Compare changes
  • Side-by-side
  • Inline
+ 12
1
@@ -45,7 +45,7 @@
class skadereg(
$mysql_password
$mysql_password, $mysql_backup_password
){
::users::liu_user { 'andal699':
commonname => 'Andreas Alvarsson',
@@ -160,4 +160,15 @@ class skadereg(
}
}
}
class { '::mysql::server::backup':
backupuser => 'backupuser',
backuppassword => $mysql_backup_password,
backupdir => '/root/mysql_backups',
backupdirmode => '700',
backupdirowner => 'root',
backupdirgroup => 'root',
backuprotate => '7',
time => ['1','0'],
}
}
Loading