{"id":1883,"date":"2024-04-21T08:08:56","date_gmt":"2024-04-21T02:08:56","guid":{"rendered":"http:\/\/techsatwork.com\/?p=1883"},"modified":"2024-04-21T08:09:14","modified_gmt":"2024-04-21T02:09:14","slug":"backuping-up-aurora-mysql","status":"publish","type":"post","link":"https:\/\/techsatwork.com\/?p=1883","title":{"rendered":"Backing up Aurora MySQL"},"content":{"rendered":"\n\n\n\n\n<p>AWS Aurora MySQL doesn&#8217;t allow us to take backup of individual tables or database other than doing a regular mysqldump which can be difficult to restore.\u00a0<br \/>The option is to take a backup of the entire database instance. \u00a0Restoring an individual or a set of tables can be a cumbersome process. \u00a0I wrote a quick python code that takes two parameters : a secret name that contains the credentials to connect to the mysql and then a config file name that contains the database, list of tables and the S3 location for storing the extract. The code stores the data in a pqt file format for efficiency<br \/>Use it at your own risk.\u00a0<br \/><br \/><br \/><\/p>\n\n\n\n<div class=\"wp-block-file\"><a id=\"wp-block-file--media-912a375d-adb8-408a-b7da-adec3bb384dd\" href=\"https:\/\/techsatwork.com\/wp-content\/uploads\/2024\/04\/mysql_extractor.zip\">mysql_extractor<\/a><a href=\"https:\/\/techsatwork.com\/wp-content\/uploads\/2024\/04\/mysql_extractor.zip\" class=\"wp-block-file__button wp-element-button\" download aria-describedby=\"wp-block-file--media-912a375d-adb8-408a-b7da-adec3bb384dd\">Download<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>AWS Aurora MySQL doesn&#8217;t allow us to take backup of individual tables or database other than doing a regular mysqldump which can be difficult to restore.\u00a0The option is to take a backup of the entire database instance. \u00a0Restoring an individual or a set of tables can be a cumbersome process. \u00a0I wrote a quick python [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-container-style":"default","site-container-layout":"default","site-sidebar-layout":"default","site-transparent-header":"default","disable-article-header":"default","disable-site-header":"default","disable-site-footer":"default","disable-content-area-spacing":"default","footnotes":""},"categories":[961,303,1052,962],"tags":[1061],"class_list":["post-1883","post","type-post","status-publish","format-standard","hentry","category-aws","category-database","category-python","category-s3","tag-mysql-backup"],"_links":{"self":[{"href":"https:\/\/techsatwork.com\/index.php?rest_route=\/wp\/v2\/posts\/1883","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techsatwork.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techsatwork.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techsatwork.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/techsatwork.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1883"}],"version-history":[{"count":2,"href":"https:\/\/techsatwork.com\/index.php?rest_route=\/wp\/v2\/posts\/1883\/revisions"}],"predecessor-version":[{"id":1886,"href":"https:\/\/techsatwork.com\/index.php?rest_route=\/wp\/v2\/posts\/1883\/revisions\/1886"}],"wp:attachment":[{"href":"https:\/\/techsatwork.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1883"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techsatwork.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1883"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techsatwork.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1883"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}