21 lines
407 B
Bash
21 lines
407 B
Bash
#!/bin/bash
|
|
|
|
# Destination file for backup logs
|
|
logFile=/var/log/vn-mariabackup.log
|
|
|
|
# Temporary local directory to save backups
|
|
backupDir=/mnt/local-backup
|
|
|
|
# Directory for backup history
|
|
historyDir=/mnt/backup4mariadb
|
|
|
|
# Number of days for backup rotation
|
|
cleanDays=90
|
|
|
|
# Directory for temporal restore data
|
|
restoreDir=/mnt/mysqldata/mysql-restore
|
|
|
|
# Directory of MySQL data
|
|
dataDir=/mnt/mysqldata/mysql
|
|
|