mysql: keep binlog to couple of days
This commit is contained in:
@@ -16,7 +16,7 @@ collation-server = utf8mb4_unicode_ci
|
||||
default_time_zone='+00:00'
|
||||
|
||||
# keep mysql binlogs under check
|
||||
expire_logs_days = 5
|
||||
expire_logs_days = 2
|
||||
max_binlog_size = 100M
|
||||
|
||||
[mysqldump]
|
||||
|
||||
@@ -16,7 +16,7 @@ collation-server = utf8mb4_unicode_ci
|
||||
default_time_zone='+00:00'
|
||||
|
||||
# keep mysql binlogs under check
|
||||
binlog_expire_logs_seconds = 432000
|
||||
binlog_expire_logs_seconds = 172800
|
||||
max_binlog_size = 100M
|
||||
|
||||
[mysqldump]
|
||||
|
||||
Reference in New Issue
Block a user