{"id":2779,"date":"2019-04-04T15:37:08","date_gmt":"2019-04-04T22:37:08","guid":{"rendered":"http:\/\/www.wellgolly.com\/?p=2779"},"modified":"2019-04-04T15:37:08","modified_gmt":"2019-04-04T22:37:08","slug":"create-mariadb-backup","status":"publish","type":"post","link":"https:\/\/www.wellgolly.com\/?p=2779","title":{"rendered":"Create MariaDB backup"},"content":{"rendered":"<p>I recently ran across a table that was not able to be read and it occurred to me that I should be archiving my database on a regular basis, rather than relying on just the Linode backups that are done nightly.<\/p>\n<p>This command will do it for you:<\/p>\n<p><pre class=\"preserve-code-formatting\">\nmysqldump -u root --all-databases | gzip &gt; backup.sql.gz\n<\/pre><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I recently ran across a table that was not able to be read and it occurred to me that I should be archiving my database on a regular basis, rather than relying on just the Linode backups that are done nightly. This command will do it for you: mysqldump -u root &#8211;all-databases | gzip &gt; &hellip; <a href=\"https:\/\/www.wellgolly.com\/?p=2779\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Create MariaDB backup<\/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-2779","post","type-post","status-publish","format-standard","hentry","category-mysql"],"_links":{"self":[{"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=\/wp\/v2\/posts\/2779","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=2779"}],"version-history":[{"count":2,"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=\/wp\/v2\/posts\/2779\/revisions"}],"predecessor-version":[{"id":2781,"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=\/wp\/v2\/posts\/2779\/revisions\/2781"}],"wp:attachment":[{"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2779"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2779"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2779"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}