Re: python api to backup/restore data - Mailing list pgsql-general

From Tom Lane
Subject Re: python api to backup/restore data
Date
Msg-id 17080.1186243102@sss.pgh.pa.us
Whole thread Raw
In response to python api to backup/restore data  (Acm <alextabone@gmail.com>)
Responses Re: python api to backup/restore data  (Ron Johnson <ron.l.johnson@cox.net>)
List pgsql-general
Acm <alextabone@gmail.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

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_shdepend big
Next
From: Tom Lane
Date:
Subject: Re: timezone + DST handling