I would call out to pg_dump and pg_restore.

On Jul 19, 2011, at 8:14 AM, RVince wrote:

> I have about half a dozen PostgresSQL tables I need to zip/tar or gz
> up somehow, from within Python for archival/backup purposes.
> 
> Anyone know of an example of this, or some idea how to do or approach
> this? Thanks, RVince
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "sqlalchemy" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/sqlalchemy?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to