]> git.p6c8.net - psmysqlbackup.git/commitdiff
Added comment in header of script file
authorPatrick Canterino <patrick@patrick-canterino.de>
Tue, 28 Dec 2021 18:38:08 +0000 (19:38 +0100)
committerPatrick Canterino <patrick@patrick-canterino.de>
Tue, 28 Dec 2021 18:38:08 +0000 (19:38 +0100)
psmysqlbackup.ps1

index f67619bbb1cde54f42bdaf9f2e36322b01da1250..9292ed43dfa6eea857942fe6b7882242e579c9a5 100644 (file)
@@ -1,3 +1,11 @@
+# PSMySQLBackup
+# PowerShell script for backing up MySQL / MariaDB databases on Windows 
+#
+# Author: Patrick Canterino <patrick@patrick-canterino.de>
+# WWW: https://www.patrick-canterino.de/
+#      https://github.com/pcanterino/dsmonrot
+# License: 2-Clause BSD License
+
 # Config
 
 $configMysqlHost = "localhost"
@@ -48,7 +56,7 @@ function Rotate-Backups($backupDir) {
         if($keepBackupsCount -ge 0) {
             $keepBackupsCount--
         }
-        
+
         if($keepBackupsCount -eq -1) {
             Write-Output "Deleting backup $($_.FullName)"
             Remove-Item -Force $_.FullName

patrick-canterino.de