From: | Ron Johnson <ron(dot)l(dot)johnson(at)cox(dot)net> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: python api to backup/restore data |
Date: | 2007-08-04 18:18:56 |
Message-ID: | 46B4C310.2040001@cox.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 08/04/07 10:58, Tom Lane wrote:
> 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.
But that doesn't give you the capability of getting customized output.
- --
Ron Johnson, Jr.
Jefferson LA USA
Give a man a fish, and he eats for a day.
Hit him with a fish, and he goes away for good!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFGtMMQS9HxQb37XmcRArvxAKDo0VQvq1uBtCEUYYb3+FSWNKmCYACfckSV
f7gaTsz/mAbEzFH0IJIypI0=
=WAls
-----END PGP SIGNATURE-----
From | Date | Subject | |
---|---|---|---|
Next Message | hanasaki | 2007-08-04 18:31:21 | clustering failover... ala Oracle Parallel server |
Previous Message | Decibel! | 2007-08-04 17:56:24 | Re: file-system snapshot under freebsd for backup |