Acm <alextabone(at)gmail(dot)com> writes:
> I would like to know whether an API for accessing Postgresql from
> Python exists and whether or not it supports commands for backing up a
> database (or schema) and restoring a backup file.
Run pg_dump or pg_restore as a subprocess.
regards, tom lane