Terjemahan-ku

Easy come, easy go!

List Table & Dump DB di PostgreSQL

leave a comment »

Setelah lama tidak mainan PostgreSQL saya jadi terlupa beberapa perintah dasar it. Salah satunya menampilkan tabel.

\dt

Sedangkan untuk nge-dump database bisa pakai perintah di bawah. Pretty simple. Perintah ini akan nge-dump baik struktur maupun data.

$ pg_dump nama_database > out_file.sql

Written by Agust

November 22, 2009 at 17:49

Posted in PostgreSQL

Tagged with , ,

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.