{"id":2371,"date":"2016-06-13T13:53:18","date_gmt":"2016-06-13T13:53:18","guid":{"rendered":"http:\/\/kedar.nitty-witty.com\/?p=2371"},"modified":"2023-04-27T09:56:56","modified_gmt":"2023-04-27T09:56:56","slug":"restoring-mysql-database-from-xtrabackup-facepalm-moments","status":"publish","type":"post","link":"https:\/\/kedar.nitty-witty.com\/blog\/restoring-mysql-database-from-xtrabackup-facepalm-moments","title":{"rendered":"MySQL database restore issues using xtrabackup &#8211; facepalm moments"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">In this post we&#8217;ll see some facepalm moments during MySQL database restore from Percona Xtrabackup.&nbsp; I think: &#8220;To mistake is Homo-sapiens, to learn from them is Homo-sapiens-sapiens.&#8221;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A typical way to restore MySQL backup from Xtrabackup involves following steps:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&#8211; Ship or stream backup to destination.<br>&#8211; Perform extraction of the compressed database backup.<br>&#8211; Perform apply-log step to prepare the backup.<br>&#8211; Bring up MySQL.<br>&#8211; Configure replication (if that&#8217;s required).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We have a lot of documentation &amp; blogs explaining that,&nbsp; but let&#8217;s see how our MySQL DBA enjoyed the facepalm moments.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1) A quick MySQL backup restore.<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Scenario: Our DBA received an urgent request, need to<\/p>\n\n\n\n<!--more-->\n\n\n\n<p class=\"wp-block-paragraph\">work fast! He&#8217;s done taking fresh backup or moving recent backup to destination. He is done with backup extracting and that&#8217;s it! Time to start MySQL and then we hear him saying.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">MySQL DBA: &#8220;Error!! D&#8217;oh&#8221;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Q : Did you apply-log?<br>MySQL DBA: mysql-facepalm<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Take away:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&#8211; Apply-log step is where xtrabackup prepares the backup. In this step the transactions from xtrabackup_logfile are applied to the backup and also the iblog files are created.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&#8211; Make sure we do apply-log before bringing up mysql.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2) Can you quickly move this MySQL backup file to destination?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Scenario: On some typical Monday our MySQL DBA is on a database restore project. He started the screen session and started scp of some large backup file to its destination. He returned from with a coffee and we heard him saying&#8230;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">MySQL DBA: What! Disk full&#8230;usage 100%!!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Q: Did you check the disk space before you begin?<br>MySQL DBA: mysql-facepalm<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&#8211; This is obvious that the destination should have sufficient space to hold the data files else a disk full is guaranteed!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&#8211; Have a good estimate of backup file(s) being transmitted. Whether you&#8217;re extracting a backup or you&#8217;re streaming a backup; make sure you&#8217;re aware of disk requirement for the activity.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">3) Let&#8217;s setup a slave for this host:<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Scenario: Well well&#8230; DBA is having fun again. He crossed all the milestones of Xtrabackup MySQL Restore and about to conclude the activity. He&#8217;s now progressing to setup the MySQL replication using co-ordinates in xtrabackup_slave_info file.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">MySQL DBA: &#8220;start slave; show slave status; What? Binary log missing?!!? Master purged it?&#8221;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Q: Did you check expire-logs-days before starting the restore?<br>MySQL DBA:: mysql-facepalm<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&#8211; This is huge time-waster&#8230; Master purged and slave couldn&#8217;t find the binlog to replicate from.<br>&#8211; Make sure we always estimate the time for restore and master should retain the binary-logs until new host starts and can catchup.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The xtrabackup_slave_info file stores the binary log coordinates with master name as a CHANGE MASTER TO command. Important to note that this is logged only if you&#8217;re using &#8211;slave-info option. To avoid facepalm moments, make sure to check what&#8217;s your backup command as well. (Our MySQL DBA luckily did not face this one yet)<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">4) Yet another restore MySQL database. (This is good one, pay attention)<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Scenario: Our DBA is having hardtime now. He&#8217;s extracted his backup to the MySQL data directory, finished apply-log step but then couldn&#8217;t start MySQL &amp; sees following!<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>150522&nbsp; 7:34:18 InnoDB: highest supported file format is Barracuda.<br>InnoDB: ##########################################################<br>InnoDB:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WARNING!<br>InnoDB: The log sequence number in ibdata files is higher<br>InnoDB: than the log sequence number in the ib_logfiles! Are you sure<br>InnoDB: you are using the right ib_logfiles to start up the database?<br>InnoDB: Log sequence number in ib_logfiles is 47671324554413, log<br>InnoDB: sequence numbers stamped to ibdata file headers are between<br>InnoDB: 65257024335884 and 65257024335884.<br>InnoDB: ##########################################################<br>InnoDB: The log sequence number in ibdata files does not match<br>InnoDB: the log sequence number in the ib_logfiles!<br>150522&nbsp; 7:34:18&nbsp; InnoDB: Database was not shut down normally!<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">MySQL DBA: &#8220;Now that&#8217;s what we call an error but how! All steps I&#8217;m doing correct&#8230;&#8221;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Q: Where are your iblogs?<br>A: hmm let me check&#8230; \ud83d\ude42<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&#8211; Right&#8230; This scenario is prone to happen especially when we have different data-directory layout. By default iblogs will go directly into MySQL datadir.<br>Xtrabackup creates backup-my.cnf file which includes the options of configuration file used in backup.<br>&#8211; Consider that destination server stores iblog files in a different directory unlike source server, then this is bound to happen.<br>&#8211; You can resolve these in two ways: First is to include innodb_log_group_home_dir to backup-my.cnf before apply-log. Alternatively you may continue with apply-log step and then move newly generated ib_logfiles to proper innodb_log_group_home_dir.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There must be many such things our MySQL DBA can hint us but we&#8217;ll learn more about them next time.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this post we saw possibilities of failure during a MySQL database restore from a backup (taken from Xtrabackup):<br>&#8211; Performing incomplete MySQL restore steps by missing to prepare backup (apply-log)<br>&#8211; Performing activity without size estimates and feasibility<br>&#8211; Missing to check a related but important detail which totally derail the project.<br>&#8211; Ignoring the database (installation) architecture.<br>Well we can have a single solution to all the above problems. No kidding we can&#8230; and that is&#8230;? Action plan!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Yes, action plans are really important part of any implementation. It&#8217;s rather essential part which outlines the exact steps to achieve the goal.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It&#8217;s not always your technical ability but ignorance of action plan or missing small steps which causes you a big trouble and brings you MySQL facepalm moments.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I&#8217;ll share more facepalms later; in the mean time share if you know some! It&#8217;s learning for sure \ud83d\ude42<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">PS: noted the date of error above, this article was pending since then.<\/p>\n","protected":false},"excerpt":{"rendered":"Learning from facepalm moments of a MySQL database restore from Percona Xtrabackup.\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[8,377],"tags":[459,562,561,563,366,560,559],"class_list":["post-2371","post","type-post","status-publish","format-standard","category-mysql","category-mysql-articles","tag-backup-and-restore","tag-dba-restore","tag-facepalm-moments","tag-percona-xtrabackup-database-restore","tag-restore","tag-restore-database","tag-restore-xtrabackup"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"Learning from facepalm moments of a MySQL database restore from Percona Xtrabackup.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Kedar\"\/>\n\t<meta name=\"google-site-verification\" content=\"_Bu1h5r0PxIC0D2jBVdmYN45RTeG9ogcX85XLkbG1qA\" \/>\n\t<meta name=\"msvalidate.01\" content=\"116B62074CBCA1BA99B8CCE09CCF2FB8\" \/>\n\t<meta name=\"keywords\" content=\"mysql,mysql facepalm,database restore,restore errors,xtrabackup restore,mysql restore,backup and restore,dba restore,facepalm moments,percona xtrabackup database restore,restore,restore database,restore xtrabackup\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/kedar.nitty-witty.com\/blog\/restoring-mysql-database-from-xtrabackup-facepalm-moments\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Change Is Inevitable | Kedar Vaijanapurkar&#039;s Blog for MySQL, technology and various subjects\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Restoring MySQL Database from xtrabackup - facepalm moments | Change Is Inevitable\" \/>\n\t\t<meta property=\"og:description\" content=\"Learning from facepalm moments of a MySQL database restore from Percona Xtrabackup.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/kedar.nitty-witty.com\/blog\/restoring-mysql-database-from-xtrabackup-facepalm-moments\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2016-06-13T13:53:18+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2023-04-27T09:56:56+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Restoring MySQL Database from xtrabackup - facepalm moments | Change Is Inevitable\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Learning from facepalm moments of a MySQL database restore from Percona Xtrabackup.\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/restoring-mysql-database-from-xtrabackup-facepalm-moments#article\",\"name\":\"Restoring MySQL Database from xtrabackup - facepalm moments | Change Is Inevitable\",\"headline\":\"MySQL database restore issues using xtrabackup &#8211; facepalm moments\",\"author\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/author\\\/admin#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/restoring-mysql-database-from-xtrabackup-facepalm-moments#articleImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/be1f7021485c325d92cc4c5d961accb9c1af72b1b11281a790f7f4f066ef10d3?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Kedar\"},\"datePublished\":\"2016-06-13T13:53:18+00:00\",\"dateModified\":\"2023-04-27T09:56:56+00:00\",\"inLanguage\":\"en-US\",\"commentCount\":1,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/restoring-mysql-database-from-xtrabackup-facepalm-moments#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/restoring-mysql-database-from-xtrabackup-facepalm-moments#webpage\"},\"articleSection\":\"MySQL, MySQL-Articles, Backup and Restore, DBA restore, Facepalm moments, Percona Xtrabackup Database Restore, restore, Restore database, Restore Xtrabackup\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/restoring-mysql-database-from-xtrabackup-facepalm-moments#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/category\\\/mysql#listItem\",\"name\":\"MySQL\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/category\\\/mysql#listItem\",\"position\":2,\"name\":\"MySQL\",\"item\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/category\\\/mysql\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/category\\\/mysql\\\/mysql-articles#listItem\",\"name\":\"MySQL-Articles\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/category\\\/mysql\\\/mysql-articles#listItem\",\"position\":3,\"name\":\"MySQL-Articles\",\"item\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/category\\\/mysql\\\/mysql-articles\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/restoring-mysql-database-from-xtrabackup-facepalm-moments#listItem\",\"name\":\"MySQL database restore issues using xtrabackup &#8211; facepalm moments\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/category\\\/mysql#listItem\",\"name\":\"MySQL\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/restoring-mysql-database-from-xtrabackup-facepalm-moments#listItem\",\"position\":4,\"name\":\"MySQL database restore issues using xtrabackup &#8211; facepalm moments\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/category\\\/mysql\\\/mysql-articles#listItem\",\"name\":\"MySQL-Articles\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/#person\",\"name\":\"Kedar\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/restoring-mysql-database-from-xtrabackup-facepalm-moments#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/be1f7021485c325d92cc4c5d961accb9c1af72b1b11281a790f7f4f066ef10d3?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Kedar\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/author\\\/admin#author\",\"url\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/author\\\/admin\",\"name\":\"Kedar\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/restoring-mysql-database-from-xtrabackup-facepalm-moments#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/be1f7021485c325d92cc4c5d961accb9c1af72b1b11281a790f7f4f066ef10d3?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Kedar\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/restoring-mysql-database-from-xtrabackup-facepalm-moments#webpage\",\"url\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/restoring-mysql-database-from-xtrabackup-facepalm-moments\",\"name\":\"Restoring MySQL Database from xtrabackup - facepalm moments | Change Is Inevitable\",\"description\":\"Learning from facepalm moments of a MySQL database restore from Percona Xtrabackup.\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/restoring-mysql-database-from-xtrabackup-facepalm-moments#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/author\\\/admin#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/author\\\/admin#author\"},\"datePublished\":\"2016-06-13T13:53:18+00:00\",\"dateModified\":\"2023-04-27T09:56:56+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/\",\"name\":\"..::CHANGE is INEVITABLE::..\",\"description\":\"Kedar Vaijanapurkar's Blog for MySQL, technology and various subjects\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Restoring MySQL Database from xtrabackup - facepalm moments | Change Is Inevitable","description":"Learning from facepalm moments of a MySQL database restore from Percona Xtrabackup.","canonical_url":"https:\/\/kedar.nitty-witty.com\/blog\/restoring-mysql-database-from-xtrabackup-facepalm-moments","robots":"max-image-preview:large","keywords":"mysql,mysql facepalm,database restore,restore errors,xtrabackup restore,mysql restore,backup and restore,dba restore,facepalm moments,percona xtrabackup database restore,restore,restore database,restore xtrabackup","webmasterTools":{"google-site-verification":"_Bu1h5r0PxIC0D2jBVdmYN45RTeG9ogcX85XLkbG1qA","msvalidate.01":"116B62074CBCA1BA99B8CCE09CCF2FB8","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kedar.nitty-witty.com\/blog\/restoring-mysql-database-from-xtrabackup-facepalm-moments#article","name":"Restoring MySQL Database from xtrabackup - facepalm moments | Change Is Inevitable","headline":"MySQL database restore issues using xtrabackup &#8211; facepalm moments","author":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/author\/admin#author"},"publisher":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/#person"},"image":{"@type":"ImageObject","@id":"https:\/\/kedar.nitty-witty.com\/blog\/restoring-mysql-database-from-xtrabackup-facepalm-moments#articleImage","url":"https:\/\/secure.gravatar.com\/avatar\/be1f7021485c325d92cc4c5d961accb9c1af72b1b11281a790f7f4f066ef10d3?s=96&d=mm&r=g","width":96,"height":96,"caption":"Kedar"},"datePublished":"2016-06-13T13:53:18+00:00","dateModified":"2023-04-27T09:56:56+00:00","inLanguage":"en-US","commentCount":1,"mainEntityOfPage":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/restoring-mysql-database-from-xtrabackup-facepalm-moments#webpage"},"isPartOf":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/restoring-mysql-database-from-xtrabackup-facepalm-moments#webpage"},"articleSection":"MySQL, MySQL-Articles, Backup and Restore, DBA restore, Facepalm moments, Percona Xtrabackup Database Restore, restore, Restore database, Restore Xtrabackup"},{"@type":"BreadcrumbList","@id":"https:\/\/kedar.nitty-witty.com\/blog\/restoring-mysql-database-from-xtrabackup-facepalm-moments#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/kedar.nitty-witty.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql#listItem","name":"MySQL"}},{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql#listItem","position":2,"name":"MySQL","item":"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql","nextItem":{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql\/mysql-articles#listItem","name":"MySQL-Articles"},"previousItem":{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql\/mysql-articles#listItem","position":3,"name":"MySQL-Articles","item":"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql\/mysql-articles","nextItem":{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog\/restoring-mysql-database-from-xtrabackup-facepalm-moments#listItem","name":"MySQL database restore issues using xtrabackup &#8211; facepalm moments"},"previousItem":{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql#listItem","name":"MySQL"}},{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog\/restoring-mysql-database-from-xtrabackup-facepalm-moments#listItem","position":4,"name":"MySQL database restore issues using xtrabackup &#8211; facepalm moments","previousItem":{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql\/mysql-articles#listItem","name":"MySQL-Articles"}}]},{"@type":"Person","@id":"https:\/\/kedar.nitty-witty.com\/blog\/#person","name":"Kedar","image":{"@type":"ImageObject","@id":"https:\/\/kedar.nitty-witty.com\/blog\/restoring-mysql-database-from-xtrabackup-facepalm-moments#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/be1f7021485c325d92cc4c5d961accb9c1af72b1b11281a790f7f4f066ef10d3?s=96&d=mm&r=g","width":96,"height":96,"caption":"Kedar"}},{"@type":"Person","@id":"https:\/\/kedar.nitty-witty.com\/blog\/author\/admin#author","url":"https:\/\/kedar.nitty-witty.com\/blog\/author\/admin","name":"Kedar","image":{"@type":"ImageObject","@id":"https:\/\/kedar.nitty-witty.com\/blog\/restoring-mysql-database-from-xtrabackup-facepalm-moments#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/be1f7021485c325d92cc4c5d961accb9c1af72b1b11281a790f7f4f066ef10d3?s=96&d=mm&r=g","width":96,"height":96,"caption":"Kedar"}},{"@type":"WebPage","@id":"https:\/\/kedar.nitty-witty.com\/blog\/restoring-mysql-database-from-xtrabackup-facepalm-moments#webpage","url":"https:\/\/kedar.nitty-witty.com\/blog\/restoring-mysql-database-from-xtrabackup-facepalm-moments","name":"Restoring MySQL Database from xtrabackup - facepalm moments | Change Is Inevitable","description":"Learning from facepalm moments of a MySQL database restore from Percona Xtrabackup.","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/restoring-mysql-database-from-xtrabackup-facepalm-moments#breadcrumblist"},"author":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/author\/admin#author"},"creator":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/author\/admin#author"},"datePublished":"2016-06-13T13:53:18+00:00","dateModified":"2023-04-27T09:56:56+00:00"},{"@type":"WebSite","@id":"https:\/\/kedar.nitty-witty.com\/blog\/#website","url":"https:\/\/kedar.nitty-witty.com\/blog\/","name":"..::CHANGE is INEVITABLE::..","description":"Kedar Vaijanapurkar's Blog for MySQL, technology and various subjects","inLanguage":"en-US","publisher":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/#person"}}]},"og:locale":"en_US","og:site_name":"Change Is Inevitable | Kedar Vaijanapurkar's Blog for MySQL, technology and various subjects","og:type":"article","og:title":"Restoring MySQL Database from xtrabackup - facepalm moments | Change Is Inevitable","og:description":"Learning from facepalm moments of a MySQL database restore from Percona Xtrabackup.","og:url":"https:\/\/kedar.nitty-witty.com\/blog\/restoring-mysql-database-from-xtrabackup-facepalm-moments","article:published_time":"2016-06-13T13:53:18+00:00","article:modified_time":"2023-04-27T09:56:56+00:00","twitter:card":"summary","twitter:title":"Restoring MySQL Database from xtrabackup - facepalm moments | Change Is Inevitable","twitter:description":"Learning from facepalm moments of a MySQL database restore from Percona Xtrabackup."},"aioseo_meta_data":{"post_id":"2371","title":"Restoring MySQL Database from xtrabackup - facepalm moments | #site_title","description":"Learning from facepalm moments of a MySQL database restore from Percona Xtrabackup.","keywords":[{"label":"MySQL","value":"MySQL"},{"label":"mysql facepalm","value":"mysql facepalm"},{"label":"database restore","value":"database restore"},{"label":"restore errors","value":"restore errors"},{"label":"Xtrabackup restore","value":"Xtrabackup restore"},{"label":"MySQL restore","value":"MySQL restore"}],"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-03-24 17:40:44","updated":"2025-08-16 19:16:14","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/kedar.nitty-witty.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql\" title=\"MySQL\">MySQL<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql\/mysql-articles\" title=\"MySQL-Articles\">MySQL-Articles<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tMySQL database restore issues using xtrabackup \u2013 facepalm moments\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/kedar.nitty-witty.com\/blog"},{"label":"MySQL","link":"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql"},{"label":"MySQL-Articles","link":"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql\/mysql-articles"},{"label":"MySQL database restore issues using xtrabackup &#8211; facepalm moments","link":"https:\/\/kedar.nitty-witty.com\/blog\/restoring-mysql-database-from-xtrabackup-facepalm-moments"}],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/posts\/2371","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/comments?post=2371"}],"version-history":[{"count":8,"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/posts\/2371\/revisions"}],"predecessor-version":[{"id":2833,"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/posts\/2371\/revisions\/2833"}],"wp:attachment":[{"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/media?parent=2371"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/categories?post=2371"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/tags?post=2371"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}