PostgreSQL
De MochilaWiki
pg_dump -C -h IP_DO_SERVIDOR -U USUARIO_DO_DB DB_NAME > bkp.sql
alterando a senha
# su - postgres $ psql postgres postgres=# alter user postgres with encrypted password '123456'; postgres=# \q
pg_dump -C -h IP_DO_SERVIDOR -U USUARIO_DO_DB DB_NAME > bkp.sql
alterando a senha
# su - postgres $ psql postgres postgres=# alter user postgres with encrypted password '123456'; postgres=# \q