mysql: Move mysql_backup_datadir away from mysql_datadir
MySQL believes it has a database called backup if such directory exists in the datadir.
This commit is contained in:
parent
5f81dba46d
commit
fc01f66018
1 changed files with 2 additions and 2 deletions
|
@ -133,7 +133,7 @@ class mysql::server {
|
||||||
# === Global variables
|
# === Global variables
|
||||||
#
|
#
|
||||||
# $mysql_backup_datadir:
|
# $mysql_backup_datadir:
|
||||||
# Directory where MySQL backups are stored. Defaults to /srv/mysql/backup
|
# Directory where MySQL backups are stored. Defaults to /srv/mysql-backup
|
||||||
#
|
#
|
||||||
# $mysql_backup_maxage:
|
# $mysql_backup_maxage:
|
||||||
# How long to keep MySQL backups. Defaults to 168 hours (7 days).
|
# How long to keep MySQL backups. Defaults to 168 hours (7 days).
|
||||||
|
@ -143,7 +143,7 @@ class mysql::server::backup {
|
||||||
include mysql::client
|
include mysql::client
|
||||||
|
|
||||||
if ! $mysql_backup_datadir {
|
if ! $mysql_backup_datadir {
|
||||||
$mysql_backup_datadir = "/srv/mysql/backup"
|
$mysql_backup_datadir = "/srv/mysql-backup"
|
||||||
}
|
}
|
||||||
if ! $mysql_backup_maxage {
|
if ! $mysql_backup_maxage {
|
||||||
$mysql_backup_maxage = "168"
|
$mysql_backup_maxage = "168"
|
||||||
|
|
Loading…
Add table
Reference in a new issue