make dumps
by
Wyden Silvan
—
last modified
01.12.2009 17:41
make dump
pg_dump -h localhost -p 5432 -U postgres -W dbname > backup.sql
return dump
dropdb -h localhost -p 5432 -U postgres -W dbname createdb -h localhost -p 5432 -U postgres -W dbname -E UTF-8 psql -f backup.sql -d dbname -h localhost -p 5432 -U postgres -W
