Sei sulla pagina 1di 1

backup PostgreSQL ke *.sql C:\Program Files\PostgreSQL\9.0\bin>pg_dump.exe -U postgres -f D:\db_hasil.sql d b_asal C:\Program Files\PostgreSQL\9.0\bin>pg_dumpall.exe -U postgres -f D:\semua_db_ha sil.sql C:\Program Files\PostgreSQL\9.0\bin>pg_dump.

exe --table nm_table -U postgres -f D:\table.sql db_asal Restore C:\Program Files\PostgreSQL\9.0\bin>psql.exe -U postgres -d db_tujuan -f D:\db_a sal.sql

Potrebbero piacerti anche