lib/backup/database/mysql.rb in backup-3.0.19 vs lib/backup/database/mysql.rb in backup-3.0.20
- old
+ new
@@ -36,11 +36,10 @@
@skip_tables ||= Array.new
@only_tables ||= Array.new
@additional_options ||= Array.new
instance_eval(&block)
- prepare!
end
##
# Builds the MySQL syntax for specifying which tables to skip
# during the dumping of the database
@@ -93,10 +92,11 @@
##
# Performs the mysqldump command and outputs the
# data to the specified path based on the 'trigger'
def perform!
- log!
+ super
+
run("#{mysqldump} > '#{File.join(dump_path, name)}.sql'")
end
end
end