{"id":1647,"date":"2013-04-22T16:32:12","date_gmt":"2013-04-22T23:32:12","guid":{"rendered":"http:\/\/www.wellgolly.com\/?p=1647"},"modified":"2015-04-07T08:55:38","modified_gmt":"2015-04-07T15:55:38","slug":"things-i-cant-remember-backup-mysql","status":"publish","type":"post","link":"https:\/\/www.wellgolly.com\/?p=1647","title":{"rendered":"Things I can\u2019t remember &#8211; Backup MySQL"},"content":{"rendered":"<p>We used to do a cron job every night that made a copy of the MySQL database. Since we moved to Linode for hosting, we don\u2019t need the cron job, but every once in a while I make a backup of the database and download it to my computer. This is the command I use.<\/p>\n<p><pre><code class=\"\u201dsmaller\u201d preserve-code-formatting\">\nmysqldump -u backup -A --default-character-set=utf8 -e --create-options &gt;\/srv\/mysql-backup.sql\n<\/code><\/pre><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We used to do a cron job every night that made a copy of the MySQL database. Since we moved to Linode for hosting, we don\u2019t need the cron job, but every once in a while I make a backup of the database and download it to my computer. This is the command I use. &hellip; <a href=\"https:\/\/www.wellgolly.com\/?p=1647\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Things I can\u2019t remember &#8211; Backup MySQL<\/span><\/a><\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27],"tags":[],"class_list":["post-1647","post","type-post","status-publish","format-standard","hentry","category-mysql"],"_links":{"self":[{"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=\/wp\/v2\/posts\/1647","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1647"}],"version-history":[{"count":0,"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=\/wp\/v2\/posts\/1647\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1647"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1647"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1647"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}