Changes
Jump to navigation
Jump to search
Working with PostgreSQL (view source)
Revision as of 17:45, 15 February 2011
, 17:45, 15 February 2011no edit summary
createdb -O ed_egan DBName
==Dumping and Restoring a Database==
This can be done in pgAdmin, but the commands are:
To dump a db:
pg_dump mydb > db.backup
To reload this database:
pg_restore -d DBName db.backup