{"id":181,"date":"2011-01-16T18:57:22","date_gmt":"2011-01-16T23:57:22","guid":{"rendered":"http:\/\/mtecheasy.wordpress.com\/?p=181"},"modified":"2011-01-16T18:57:22","modified_gmt":"2011-01-16T23:57:22","slug":"backing-up-and-restoring-your-mysql-database","status":"publish","type":"post","link":"https:\/\/bourbonnaisservices.com\/blog\/2011\/01\/backing-up-and-restoring-your-mysql-database\/","title":{"rendered":"Backing Up and Restoring Your MySQL Database"},"content":{"rendered":"<p>The easiest way to backup and restore your mysql database is the following:<\/p>\n<p>Backing up your database:<br \/>\nmysqldump -u username -p password database &gt; backupfile.sql<\/p>\n<p>&#8211; username &#8211; this is your database username<br \/>\n&#8211; password &#8211; this is the password for your database<br \/>\n&#8211; database &#8211; the name of your database<br \/>\n&#8211; backupfile.sql &#8211; the file to which the backup should be written.<\/p>\n<p>Restoring your database:<br \/>\nmysql -u username -p password database &lt; backupfile<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The easiest way to backup and restore your mysql database is the following: Backing up your database: mysqldump -u username -p password database &gt; backupfile.sql &#8211; username &#8211; this is your database username &#8211; password &#8211; this is the password for your database &#8211; database &#8211; the name of your database &#8211; backupfile.sql &#8211; the [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[8],"tags":[],"_links":{"self":[{"href":"https:\/\/bourbonnaisservices.com\/blog\/wp-json\/wp\/v2\/posts\/181"}],"collection":[{"href":"https:\/\/bourbonnaisservices.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bourbonnaisservices.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bourbonnaisservices.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bourbonnaisservices.com\/blog\/wp-json\/wp\/v2\/comments?post=181"}],"version-history":[{"count":0,"href":"https:\/\/bourbonnaisservices.com\/blog\/wp-json\/wp\/v2\/posts\/181\/revisions"}],"wp:attachment":[{"href":"https:\/\/bourbonnaisservices.com\/blog\/wp-json\/wp\/v2\/media?parent=181"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bourbonnaisservices.com\/blog\/wp-json\/wp\/v2\/categories?post=181"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bourbonnaisservices.com\/blog\/wp-json\/wp\/v2\/tags?post=181"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}