Postgres

Postgres e' un database alternativo a Mysql, ma con molti comandi diversi.

Backup

 pg_dumpall > dumpfile  

Ripristino

 psql -f dumpfile postgres

List databases

 \list
 \l

Usare un database

 \c  database

Elenco tabelle database corrente

 \d