{"id":6392,"date":"2016-10-16T20:52:33","date_gmt":"2016-10-16T12:52:33","guid":{"rendered":"http:\/\/rmohan.com\/?p=6392"},"modified":"2016-10-16T20:52:33","modified_gmt":"2016-10-16T12:52:33","slug":"mysql-enterprise-backup-meb","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=6392","title":{"rendered":"MySQL Enterprise Backup (MEB)"},"content":{"rendered":"<div><\/div>\n<div><\/div>\n<div>\n<p>MySQL Enterprise Backup (MEB) has the capability to make real incremental (differential and cumulative?) backups. The actual releases are quite cool and you should really look at it&#8230;<\/p>\n<p>Unfortunately the original MySQL documentation is much too complicated for my simple mind. So I did some testing and simplified it a bit for our customers&#8230;<\/p>\n<p>If you want to dive into the original documentation please look here:<span class=\"Apple-converted-space\">\u00a0<\/span><a title=\"Making an Incremental Backup \" href=\"http:\/\/dev.mysql.com\/doc\/mysql-enterprise-backup\/3.11\/en\/mysqlbackup.incremental.html\" target=\"_blank\">Making an Incremental Backup<span class=\"Apple-converted-space\">\u00a0<\/span><\/a>.<\/p>\n<p>If you want to use MySQL Enterprise Backup please let us know and<span class=\"Apple-converted-space\">\u00a0<\/span><a>we send you a quote<\/a>&#8230;<\/p>\n<\/div>\n<div>First you have to do a full backup. We did it as follows:<\/div>\n<div>\nmysqlbackup &#8211;defaults-file=\/etc\/my.cnf &#8211;user=root &#8211;backup-dir=\/backup\/full backup<br \/>\nmysqlbackup &#8211;defaults-file=\/etc\/my.cnf &#8211;user=root &#8211;backup-dir=\/backup\/full apply-log<\/div>\n<div>Then you can do the incremental backup:<\/div>\n<div>mysqlbackup &#8211;defaults-file=\/etc\/my.cnf &#8211;user=root &#8211;incremental &#8211;incremental-base=dir:\/backup\/full &#8211;incremental-backup-dir=\/backup\/incremental1 backup<br \/>\nmysqlbackup &#8211;defaults-file=\/etc\/my.cnf &#8211;user=root &#8211;backup-dir=\/backup\/full &#8211;incremental-backup-dir=\/backup\/incremental1 apply-incremental-backup<\/div>\n<div>this incremental backup you can repeat several times&#8230;<\/div>\n<div><\/div>\n<div>\nFULL MYSQL BACKUP<br \/>\nmysqlbackup &#8211;defaults-file=\/etc\/my.cnf &#8211;user=root &#8211;backup-dir=\/backup\/full backup<br \/>\nmysqlbackup &#8211;defaults-file=\/etc\/my.cnf &#8211;user=root &#8211;backup-dir=\/backup\/full apply-log<\/div>\n<div>FIRST MYSQL INCREMENTAL BACKUP<\/div>\n<div>mysqlbackup &#8211;defaults-file=\/etc\/my.cnf &#8211;user=root &#8211;incremental &#8211;incremental-base=dir:\/backup\/full &#8211;incremental-backup-dir=\/backup\/incremental1 backup<br \/>\nmysqlbackup &#8211;defaults-file=\/etc\/my.cnf &#8211;user=root &#8211;backup-dir=\/backup\/full &#8211;incremental-backup-dir=\/backup\/incremental1 apply-incremental-backup<\/div>\n<div>SECOND MYSQL INCREMENTAL BACKUP<\/div>\n<div>mysqlbackup &#8211;defaults-file=\/etc\/my.cnf &#8211;user=root &#8211;incremental &#8211;incremental-base=dir:\/backup\/full &#8211;incremental-backup-dir=\/backup\/incremental2 backup<br \/>\nmysqlbackup &#8211;defaults-file=\/etc\/my.cnf &#8211;user=root &#8211;backup-dir=\/backup\/full &#8211;incremental-backup-dir=\/backup\/incremental2 apply-incremental-backup<\/div>\n","protected":false},"excerpt":{"rendered":"\n<p>MySQL Enterprise Backup (MEB) has the capability to make real incremental (differential and cumulative?) backups. The actual releases are quite cool and you should really look at it&#8230;<\/p>\n<p>Unfortunately the original MySQL documentation is much too complicated for my simple mind. So I did some testing and simplified it a bit for our customers&#8230;<\/p>\n<p> [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/6392"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6392"}],"version-history":[{"count":1,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/6392\/revisions"}],"predecessor-version":[{"id":6393,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/6392\/revisions\/6393"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6392"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6392"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6392"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}