<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Backing up MySQL database using InnoDB Storage Engine in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/Backing-up-MySQL-database-using-InnoDB-Storage-Engine/m-p/27346#M6377</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the clarification everyone.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Oct 2010 16:31:14 GMT</pubDate>
    <dc:creator>prinz</dc:creator>
    <dc:date>2010-10-08T16:31:14Z</dc:date>
    <item>
      <title>Backing up MySQL database using InnoDB Storage Engine</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Backing-up-MySQL-database-using-InnoDB-Storage-Engine/m-p/27314#M6369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A prospect has a MySQL database that they would like to host on a NetApp system (for faster backups) and they are wondering if the backup script that is listed in TR-3601 will properly quiesce a database that is using the InnoDB Storage Engine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It appears that the paper and associated script really address engines that do not have their own online backup solution.&amp;nbsp; So, I'm thinking that you would need to write a different script to support the InnoDB Hot Backup solution.&amp;nbsp; Am I correct about that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so, does anyone know if we have written such a script that is available elsewhere?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, how would SnapCreator fit into this.&amp;nbsp; Is this something that we should/need to be looking at.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 07:07:26 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Backing-up-MySQL-database-using-InnoDB-Storage-Engine/m-p/27314#M6369</guid>
      <dc:creator>prinz</dc:creator>
      <dc:date>2025-06-05T07:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: Backing up MySQL database using InnoDB Storage Engine</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Backing-up-MySQL-database-using-InnoDB-Storage-Engine/m-p/27319#M6370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The script in TR-3601 places the tables in read-only mode for the backup:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;DIR&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;P align="left"&gt;&lt;STRONG style="font-size: 10pt; "&gt;#locking tables with read only mode&lt;/STRONG&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;STRONG style="font-size: 10pt; "&gt;my $query = "flush tables with read lock";&lt;/STRONG&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;STRONG style="font-size: 10pt; "&gt;my $sth1234 = $dbh-&amp;gt;prepare($query);&lt;/STRONG&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;STRONG style="font-size: 10pt; "&gt;$sth1234-&amp;gt;execute() or die "Couldn't connect to database: $DBI::errstr\n";&lt;/STRONG&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;STRONG style="font-size: 10pt; "&gt;$sth1234-&amp;gt;finish();&lt;/STRONG&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/DIR&gt;&lt;P align="left"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Since the database buffers have been flushed and the database tables are in read-only mode during the backup, the script schould be compatible with a transactional database using the InnoDB engine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;SPAN style="font-size: 10pt;"&gt;J&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Oct 2010 15:26:17 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Backing-up-MySQL-database-using-InnoDB-Storage-Engine/m-p/27319#M6370</guid>
      <dc:creator>fjohn</dc:creator>
      <dc:date>2010-10-08T15:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: Backing up MySQL database using InnoDB Storage Engine</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Backing-up-MySQL-database-using-InnoDB-Storage-Engine/m-p/27328#M6371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The customer did note that but was a little concerned whether it would work&lt;/P&gt;&lt;P&gt;for the InnoDB engine since the TR calls it out as being different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreciate the clarification.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Oct 2010 15:36:14 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Backing-up-MySQL-database-using-InnoDB-Storage-Engine/m-p/27328#M6371</guid>
      <dc:creator>prinz</dc:creator>
      <dc:date>2010-10-08T15:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: Backing up MySQL database using InnoDB Storage Engine</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Backing-up-MySQL-database-using-InnoDB-Storage-Engine/m-p/27331#M6372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The script in the 3601 and SC will not address the Innodb Engine Hot Backup. we are exploring the possibility of innodb hot backup. we will update you  soon. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Karthikeyan.N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Oct 2010 15:40:14 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Backing-up-MySQL-database-using-InnoDB-Storage-Engine/m-p/27331#M6372</guid>
      <dc:creator>nkarthik</dc:creator>
      <dc:date>2010-10-08T15:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: Backing up MySQL database using InnoDB Storage Engine</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Backing-up-MySQL-database-using-InnoDB-Storage-Engine/m-p/27336#M6373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the script and SC the storage engine doesn’t matter. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.       Before take the backup the database in read only mode, to maintain the consistency&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.       Flush the logs to disk&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.       Take the snapshot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4.       Unlock the tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Karthikeyan.N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Oct 2010 15:42:44 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Backing-up-MySQL-database-using-InnoDB-Storage-Engine/m-p/27336#M6373</guid>
      <dc:creator>nkarthik</dc:creator>
      <dc:date>2010-10-08T15:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: Backing up MySQL database using InnoDB Storage Engine</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Backing-up-MySQL-database-using-InnoDB-Storage-Engine/m-p/27341#M6375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That was my take on it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As long as you flush the buffers and put the tables in hot backup (read-only) mode, you should have an application consistent backup.&amp;nbsp; InnoDB builds on top of mySQL to provide ACID transactions.&amp;nbsp; Even if the script executed during the middile of an ACID transaction, it's still consistent from the DB level and the transaction in progress would roll back at restore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;j&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Oct 2010 15:51:37 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Backing-up-MySQL-database-using-InnoDB-Storage-Engine/m-p/27341#M6375</guid>
      <dc:creator>fjohn</dc:creator>
      <dc:date>2010-10-08T15:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: Backing up MySQL database using InnoDB Storage Engine</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Backing-up-MySQL-database-using-InnoDB-Storage-Engine/m-p/27346#M6377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the clarification everyone.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Oct 2010 16:31:14 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Backing-up-MySQL-database-using-InnoDB-Storage-Engine/m-p/27346#M6377</guid>
      <dc:creator>prinz</dc:creator>
      <dc:date>2010-10-08T16:31:14Z</dc:date>
    </item>
  </channel>
</rss>

