]> git.p6c8.net - psmysqlbackup.git/blobdiff - psmysqlbackup.ps1
Updated TODO
[psmysqlbackup.git] / psmysqlbackup.ps1
index 97bcf859f3791b3bd8e3481a6a17b1a1e81fa886..cc422a6d3da48dd12e3db028e74c880faed8d710 100644 (file)
@@ -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() {

patrick-canterino.de