Configurable automatic database backups.

This commit is contained in:
MobiusDev
2018-05-01 07:23:13 +00:00
parent 0c6b352227
commit d2ed161dda
61 changed files with 1185 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
MySQL backups are stored in this folder.
Separate game and login server backups are possible.
Just enable the 'BackupDatabase' option in the equivalent server config file.

View File

@@ -57,6 +57,25 @@ MaximumDbConnections = 50
# Default: 0
MaximumDbIdleTime = 0
# ---------------------------------------------------------------------------
# Automatic Database Backup Settings
# ---------------------------------------------------------------------------
# Generate database backups when server restarts or shuts down.
BackupDatabase = False
# Path to MySQL bin folder. Only necessary on Windows.
MySqlBinLocation = C:/xampp/mysql/bin/
# Path where MySQL backups are stored.
BackupPath = ../backup/
# Maximum number of days that backups will be kept.
# Old backups will be deleted.
# Set to 0 to disable.
BackupDays = 30
# Setting emulation off the kernel (package SendStatus)
RemoteWhoLog = True
RemoteWhoSendTrash = True

View File

@@ -67,6 +67,25 @@ MaximumDbConnections = 50
# Default: 0
MaximumDbIdleTime = 0
# ---------------------------------------------------------------------------
# Automatic Database Backup Settings
# ---------------------------------------------------------------------------
# Generate database backups when server restarts or shuts down.
BackupDatabase = False
# Path to MySQL bin folder. Only necessary on Windows.
MySqlBinLocation = C:/xampp/mysql/bin/
# Path where MySQL backups are stored.
BackupPath = ../backup/
# Maximum number of days that backups will be kept.
# Old backups will be deleted.
# Set to 0 to disable.
BackupDays = 30
# Limit fast connections (input username / password)
FastConnectionLimit = 15
# Time of the normal connection (in ms)