diff --git a/lib/evm_database_ops.rb b/lib/evm_database_ops.rb index 3eaaa7e02e6..eaf61c1ed5a 100644 --- a/lib/evm_database_ops.rb +++ b/lib/evm_database_ops.rb @@ -72,7 +72,7 @@ def self.dump(db_opts, connect_opts = {}) # won't hurt to do as a generic way to get a rough idea if we have enough # disk space or the appliance for the task. validate_free_space(database_opts) - PostgresAdmin.backup(database_opts) + PostgresAdmin.backup_pg_dump(database_opts) end _log.info("[#{merged_db_opts(db_opts)[:dbname]}] database has been dumped up to file: [#{uri}]") uri