lib/backup/database/postgresql.rb in backup-3.0.19 vs lib/backup/database/postgresql.rb in backup-3.0.20

- old
+ new

@@ -38,11 +38,10 @@ @skip_tables ||= Array.new @only_tables ||= Array.new @additional_options ||= Array.new instance_eval(&block) - prepare! ENV['PGPASSWORD'] = password end ## # Builds the PostgreSQL syntax for specifying which tables to skip @@ -108,10 +107,11 @@ ## # Performs the pgdump command and outputs the # data to the specified path based on the 'trigger' # and resets the 'PGPASSWORD' environment variable to nil def perform! - log! + super + run("#{pgdump} > '#{File.join(dump_path, name)}.sql'") ENV['PGPASSWORD'] = nil end end