Open Source
Thursday, March 28, 2013
postgresql backup and restore commands
Ubuntu:
Postgres Commands:
pg_dump -U username db_name > filename.sql
psql -U username -d db_name -f filename.sql
Windows:
psql.exe -U postgres -d development -f "d:db.sql"
Newer Post
Older Post
Home