<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.1-alpha-2855" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Austin Matzko&#039;s Forum &#187; Tag: gzip backup corrupt - Recent Posts</title>
		<link>http://austinmatzko.com/forum/tags/gzip-backup-corrupt</link>
		<description>Austin Matzko&#039;s Forum &#187; Tag: gzip backup corrupt - Recent Posts</description>
		<language>en-US</language>
		<pubDate>Wed, 08 Feb 2012 07:20:17 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1-alpha-2855</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://austinmatzko.com/forum/search.php</link>
		</textInput>
		<atom:link href="http://austinmatzko.com/forum/rss/tags/gzip-backup-corrupt" rel="self" type="application/rss+xml" />

		<item>
			<title>filosofo on "Malformed (?) gzipped file"</title>
			<link>http://austinmatzko.com/forum/topic/malformed-gzipped-file#post-4051</link>
			<pubDate>Tue, 23 Jun 2009 12:07:45 +0000</pubDate>
			<dc:creator>filosofo</dc:creator>
			<guid isPermaLink="false">4051@http://austinmatzko.com/forum/</guid>
			<description><p>Actually, I discovered the problem: the plugin writes the backup file incrementally, appending a batch of data every couple of seconds.  The problem is that gzclose writes the uncompressed file size as being that of only the latest batch.  </p>
<p>I'll have to figure out a solution.
</p></description>
		</item>
		<item>
			<title>geoff2 on "Malformed (?) gzipped file"</title>
			<link>http://austinmatzko.com/forum/topic/malformed-gzipped-file#post-4050</link>
			<pubDate>Mon, 22 Jun 2009 22:40:30 +0000</pubDate>
			<dc:creator>geoff2</dc:creator>
			<guid isPermaLink="false">4050@http://austinmatzko.com/forum/</guid>
			<description><p>OK, thanks. I'e used other php apps such phpmydamin and the gzip files do seem to be follow the spec, but I have no idea whether phpmyadmin or the other apps I've had no problems with also use the standard php gzip routines.
</p></description>
		</item>
		<item>
			<title>filosofo on "Malformed (?) gzipped file"</title>
			<link>http://austinmatzko.com/forum/topic/malformed-gzipped-file#post-4049</link>
			<pubDate>Mon, 22 Jun 2009 18:45:41 +0000</pubDate>
			<dc:creator>filosofo</dc:creator>
			<guid isPermaLink="false">4049@http://austinmatzko.com/forum/</guid>
			<description><p>That's interesting, but I'm not sure there's anything I can do about it.  The plugin uses the PHP gzip writing functions, so if they're not writing the file according to spec I suspect the problem needs to be fixed upstream.
</p></description>
		</item>
		<item>
			<title>geoff2 on "Malformed (?) gzipped file"</title>
			<link>http://austinmatzko.com/forum/topic/malformed-gzipped-file#post-4048</link>
			<pubDate>Mon, 22 Jun 2009 17:49:24 +0000</pubDate>
			<dc:creator>geoff2</dc:creator>
			<guid isPermaLink="false">4048@http://austinmatzko.com/forum/</guid>
			<description><p>Hello:</p>
<p>When trying to open a compressed gzipped database backup in BBEdit, my text editing software of choice, BBEdit crashed. I raised the issue with the folks at Bare Bones who develop BBEdit, giving them the file which was at issue, and they said they found the problem and gave me a technical description of the problem. I'm hopeful you might be able to figure out if the problem is in your plug-in or in Wordpress generally:</p>
<blockquote><p>The technical description is that the last four bytes of a gzip-compressed file are the size of the uncompressed data, written in least-significant-byte-first order. In the file you sent, the last four bytes are 0x6A 0x00 0x00 0x00, which corresponds to a data size of 0x6A (106) bytes. I was allocating buffers based on that information, and you can imagine what happened next. :-)</p></blockquote>
<p>Any thoughts? Thanks. I'm running the latest version of WP-DB on Wordpress 2.8, though I had the same malformed file error with backups made using earlier versions of WP. Of note, the gzipped file does expand correctly using Mac OS X's built-in unarchiver.
</p></description>
		</item>

	</channel>
</rss>

