Skip to content
Snippets Groups Projects
Commit 1f4c7c9e authored by Andreas Alvarsson's avatar Andreas Alvarsson
Browse files

Merge branch 'mysql-backup' into 'production'

MySQL backup enabled

See merge request !9
parents 092d5caa 2e3ba3a8
No related branches found
No related tags found
No related merge requests found
......@@ -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'],
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment