diff --git a/templates/mysqlbackup.sh.erb b/templates/mysqlbackup.sh.erb index 60b95ded6..eab1c3b7b 100755 --- a/templates/mysqlbackup.sh.erb +++ b/templates/mysqlbackup.sh.erb @@ -11,7 +11,7 @@ ##### START CONFIG ################################################### USER=<%= @backupuser %> -PASS=<%= @backuppassword %> +PASS='<%= @backuppassword %>' DIR=<%= @backupdir %> ROTATE=<%= [ Integer(@backuprotate) - 1, 0 ].max %>