<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Chris Tate-Davies &#187; binary log</title>
	<atom:link href="http://www.christatedavies.co.uk/tag/binary-log/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.christatedavies.co.uk</link>
	<description>An archive of helpful tit bits of information for development, and probably some stuff that is incomplete, wrong or boring...</description>
	<lastBuildDate>Tue, 31 Jan 2012 11:18:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Reading the MySQL binary log</title>
		<link>http://www.christatedavies.co.uk/2010/07/27/reading-the-mysql-binary-log/</link>
		<comments>http://www.christatedavies.co.uk/2010/07/27/reading-the-mysql-binary-log/#comments</comments>
		<pubDate>Tue, 27 Jul 2010 15:28:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[backups]]></category>
		<category><![CDATA[binary log]]></category>
		<category><![CDATA[mysqlbinlog]]></category>
		<category><![CDATA[replication]]></category>

		<guid isPermaLink="false">http://www.christatedavies.co.uk/?p=97</guid>
		<description><![CDATA[Having MySQL dumping out binary logs is a very good failsafe for backup redundancy. But, how do you get any of the information out of them? If you know a time span that you need to investigate, then you can easily use the mysqlbinlog utility: mysqlbinlog --start-datetime="2010-07-27 14:30:00" --stop-datetime="2010-07-27 15:00:00" &#62; backup.txt This will export [...]<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://www.christatedavies.co.uk/2010/07/27/reading-the-mysql-binary-log/' addthis:title='Reading the MySQL binary log ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<p>Having MySQL dumping out binary logs is a very good failsafe for backup redundancy. But, how do you get any of the information out of them?</p>
<p>If you know a time span that you need to investigate, then you can easily use the mysqlbinlog utility:</p>
<pre>mysqlbinlog --start-datetime="2010-07-27 14:30:00" --stop-datetime="2010-07-27 15:00:00" &gt; backup.txt</pre>
<p>This will export all the recorded SQL Statements performed between 2:30pm and 3pm on the 27th July 2010 to the text file &#8220;backup.txt&#8221;. I can then browse at my convenience.</p>
<p>If you need to re-create any of the statements, you can copy and paste into your MySQL client of choice.</p>
<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://www.christatedavies.co.uk/2010/07/27/reading-the-mysql-binary-log/' addthis:title='Reading the MySQL binary log ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.christatedavies.co.uk/2010/07/27/reading-the-mysql-binary-log/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

