From 056407f1582e70710a537524f84963167e6865a7 Mon Sep 17 00:00:00 2001 From: jmauer Date: Tue, 1 Apr 2014 10:30:45 +0200 Subject: [PATCH] Add Quotes to backup password to be able to use more complex passwords. --- templates/mysqlbackup.sh.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/mysqlbackup.sh.erb b/templates/mysqlbackup.sh.erb index 60b95de..eab1c3b 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 %>