Search code examples
postgresqlsqlalchemypg-dump

can we get the postgres db dump using SQLAlchemy?


Is it possible to have the postgres database dump(pg_dump) using SQLAlchemy? i can get the dump using pg_dump but I am doing all other db operations using SQLALchemy and thus want to know if this dump operation is also opssible using SQLAlchemy. Any suggestion, link would be of great help.

Thanks, Tara Singh


Solution

  • pg_dump is a system command.so I do not think you could have postgres database dump using SQLAlchemy.