lib/outback/mysql_source.rb in outback-0.0.6 vs lib/outback/mysql_source.rb in outback-0.0.7

- old
+ new

@@ -39,9 +39,10 @@ FileUtils.chmod 0600, mysql_conf_file Outback.debug "MysqlSource: dumping database '#{database}'" commandline = "mysqldump --defaults-extra-file=#{mysql_conf_file} --opt --user=#{user} --host=#{mysql_host} --port=#{mysql_port} #{database} | gzip > #{archive_name}" result = `#{commandline}`.strip Outback.debug(result) unless result.blank? + Outback.info "archived database #{database}" TempArchive.new(archive_name, self).tap { |archive| Outback.debug "dumped #{archive.filename.basename} with #{archive.size} bytes" } end end end end \ No newline at end of file