Minggu, 05 Agustus 2018

Backup & Restore Database on Postgresql

backup
pg_dump -U username dbname > filebackup.sql

restore
psql dbname < filebackup.sql

Tidak ada komentar: