wiki:Postgres HowTo backup and restore

Postgres HowTo backup and restore

Tags: Postgres HowTo

See: https://www.postgresql.org/docs/9.1/static/backup-dump.html

Backup

pg_dump -U username dbname > outfile

Restore

psql -U username dbname < infile

Error: Macro BackLinks(None) failed
'Environment' object has no attribute 'get_db_cnx'

Last modified 8 years ago Last modified on 08/30/16 12:13:05
Note: See TracWiki for help on using the wiki.