Backup isi database MySQL

From OnnoWiki
Revision as of 07:51, 7 September 2010 by Onnowpurbo (talk | contribs)
Jump to navigation Jump to search

Dump isi database MySQL

/usr/bin/mysqldump -u usernamemysql -ppasswordmysql namadb -c

langsung di gz

/usr/bin/mysqldump -u usernamemysql -ppasswordmysql namadb -c | /bin/gzip -9 > isidatabse.sql.gz


Database akan tersimpan di file

isidatabase.sql.gz


Referensi

Pranala Menarik