code: def pg_dump(db_name, backup_path):
      
  
      logger.info("Dumping %s to %s", repr(db_name), repr(backup_path))
      return shell(
          'pg_dump "{db_name}" -U "{USER}" -h "{HOST}" '
          "--schema=public --file={backup_path}".format(
              db_name=db_name, backup_path=backup_path, **DB
          )
      )
docs: Dump db_name to backup_path