Note: My WordPress database name is wordpress.注:私のWordPressのデータベース名は、 WordPressのです。 I will use it in the example below.私は次の例では使用することです。
It will work for any MySQL database.仕事をすることはMySQLデータベースです。
(The procedure below will work with any version of WordPress too) (以下の手順でのすべてのバージョンが動作するWordPressのもあります)

Backup: バックアップ:
mysqldump --opt wordpress | gzip -9 > wordpress.sql.gz mysqldumpを-選択W ordPressの|のg zip- 9> w ordpress.sql.gz

Restore: リストアの方法:
gunzip wordpress.sql.gz gunzip wordpress.sql.gz
mysql -u rootusername -p **** wordpress < wordpress.sql MySQLのrootusername - u - p **** WordPressの< wordpress.sql

For detailed usage of mysqldump and mysql commands refer to利用方法の詳細を参照して、 mysqldumpおよびMySQLのコマンド MySQL documentation. MySQLのドキュメントを参照ください。

PS. psのです。 I am aware of the Single click plugin for WordPress.私は認識してWordPressのプラグインをシングルクリックします。 But I don’t trust any WordPress plugin with my database, unless I have fully checked the codeしかし、私は私のデータベースの信頼任意の差込式WordPressない限り、私は完全にチェックしてコード : )