SQL Database backup won't work if password has > symbol
Created by: sashkab
I've run into issue after upgrade to GitLab 5.1 (7214a30df76cbe2b439346fd615006b2bdd5f88f). I had long password which included symbol > for gitlab user in mysql. After upgrade to 5.1 I've started getting errors during daily backup processes:
Dumping database ...
sh: 1: cannot create : Directory nonexistent
done
It looks that when mysqldump called from lib/backup/database.rb
line 48?, password isn't included into quotes.