Skip to content

Commit

Permalink
Revert 0108c5c
Browse files Browse the repository at this point in the history
  • Loading branch information
ZuluPro committed Nov 25, 2016
1 parent aae238a commit d607bd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbbackup/db/postgresql.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def run_command(self, *args, **kwargs):
return super(PgDumpConnector, self).run_command(*args, **kwargs)

def _create_dump(self):
cmd = '{} --dbname={}'.format(self.dump_cmd, self.settings['NAME'])
cmd = '{} {}'.format(self.dump_cmd, self.settings['NAME'])
if self.settings.get('HOST'):
cmd += ' --host={}'.format(self.settings['HOST'])
if self.settings.get('PORT'):
Expand Down

0 comments on commit d607bd8

Please sign in to comment.