From: Patrick Canterino Date: Tue, 28 Dec 2021 12:39:56 +0000 (+0100) Subject: Removed type definitions of config variables X-Git-Tag: 0.1~14 X-Git-Url: https://git.p6c8.net/psmysqlbackup.git/commitdiff_plain/5c01b1efc73770671dd87ee07cd4fe2fcca75e82?hp=c8443b63a6a7a513388cad85ff1651bfb0281b09 Removed type definitions of config variables --- diff --git a/psmysqlbackup.ps1 b/psmysqlbackup.ps1 index 97bcf85..cc422a6 100644 --- a/psmysqlbackup.ps1 +++ b/psmysqlbackup.ps1 @@ -1,17 +1,21 @@ -[String]$configMysqlHost = "localhost" -[Int32]$configMysqlPort = 3306 -[String]$configMysqlUser = "backup" -[String]$configMysqlPassword = "backup" +# Config -[String]$configMysqlCli = "C:\Program Files\MariaDB 10.5\bin\mysql.exe" -[String]$configMysqldumpCli = "C:\Program Files\MariaDB 10.5\bin\mysqldump.exe" +$configMysqlHost = "localhost" +$configMysqlPort = 3306 +$configMysqlUser = "backup" +$configMysqlPassword = "backup" -[String]$configBackupDir = "backup" -[Int32]$configRotate = 7 +$configMysqlCli = "C:\Program Files\MariaDB 10.5\bin\mysql.exe" +$configMysqldumpCli = "C:\Program Files\MariaDB 10.5\bin\mysqldump.exe" + +$configBackupDir = "backup" +$configRotate = 7 $configDbBackup = @() $configDbExclusions = @("test") +# End of config + $defaultExclusions = @("information_schema", "performance_schema") function Get-Databases() {