Windows DatabaseebooksStatistical Information

LLE10061 : Howto backup and restore a postgresql database


You need to backup a postgresql database


Postgres databases need a backup just like anything else


You can use the pg_dump utility to make a consistent backup of your database. e.g.

pg_dump  lubby > BU-LubbyDB

and for a restore you use:

psql lubby < BU-LubbyDB

Sometimes it is better to drop the database first and create it again!


The information provided in this document is intended for your information only. Lubby makes no claims to the validity of this information. Use of this information is at own risk!
Copyright © 2004-2016 Lubby (V3.0.11 Jan 2016)
Sponsored by Keskon.
Datenschutzerklaerung - Privacy statement - Privacyverklaring