recipiez 0.5.3 → 0.5.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/recipiez/version.rb +1 -1
- data/recipes/deployment_recipiez.rb +2 -2
- metadata +2 -2
data/lib/recipiez/version.rb
CHANGED
@@ -138,8 +138,8 @@ namespace :recipiez do
|
|
138
138
|
set_variables_from_yaml
|
139
139
|
archive = generate_archive(application)
|
140
140
|
filename = get_filename(application)
|
141
|
-
cmd = "mysqldump --opt --skip-add-locks -u #{db_user} "
|
142
|
-
cmd += " -
|
141
|
+
cmd = "mysqldump --opt --skip-add-locks -u #{db_user} -d "
|
142
|
+
cmd += " -h #{db_host} " if exists?('db_host')
|
143
143
|
cmd += " -p#{db_password} "
|
144
144
|
cmd += "#{database_to_dump} > #{archive}"
|
145
145
|
result = run(cmd)
|