Re: python api to backup/restore data

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Acm <alextabone(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: python api to backup/restore data
Date: 2007-08-04 15:58:22
Message-ID: 17080.1186243102@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2007-08-04 16:20:22 Re: timezone + DST handling
Previous Message Tom Lane 2007-08-04 15:56:49 Re: pg_shdepend big