2024-01-20 13:04:39 +01:00
|
|
|
package pkg
|
|
|
|
|
|
2024-07-28 22:54:31 +02:00
|
|
|
const cronLogFile = "/var/log/mysql-bkup.log"
|
2024-08-03 16:03:17 +02:00
|
|
|
const tmpPath = "/tmp/backup"
|
2024-07-28 22:54:31 +02:00
|
|
|
const backupCronFile = "/usr/local/bin/backup_cron.sh"
|
2024-08-03 16:03:17 +02:00
|
|
|
const algorithm = "aes256"
|
|
|
|
|
const gpgExtension = "gpg"
|
2024-01-20 13:04:39 +01:00
|
|
|
|
|
|
|
|
var (
|
|
|
|
|
storage = "local"
|
|
|
|
|
file = ""
|
2024-08-03 16:03:17 +02:00
|
|
|
dbPassword = ""
|
|
|
|
|
dbUserName = ""
|
2024-01-20 13:04:39 +01:00
|
|
|
dbName = ""
|
|
|
|
|
dbHost = ""
|
|
|
|
|
dbPort = "3306"
|
|
|
|
|
executionMode = "default"
|
|
|
|
|
storagePath = "/backup"
|
|
|
|
|
disableCompression = false
|
2024-08-03 16:03:17 +02:00
|
|
|
encryption = false
|
2024-01-20 13:04:39 +01:00
|
|
|
)
|