fabliip.database package¶
Submodules¶
fabliip.database.mysql module¶
fabliip.database.pgsql module¶
- fabliip.database.pgsql.dump(backup_path, database_name, user='postgres', host=None, password=None)[source]¶
Backs up the given database to the given file as a PostgreSQL archive. If host is set to None, a local connection will be used, so you’ll need to be able to sudo to the given user. Otherwise, a standard password connection will be used and the user will be asked for a password.