<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" >
<channel>
    
    <title>Lenz Grimmer's blog - mylvmbackup</title>
    <link>http://lenzg.net/</link>
    <description>Random notes about Linux, MySQL and Open Source</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.6.2 - http://www.s9y.org/</generator>
    <pubDate>Thu, 05 Nov 2009 21:49:19 GMT</pubDate>

    <image>
        <url>http://lenzg.net/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: Lenz Grimmer's blog - mylvmbackup - Random notes about Linux, MySQL and Open Source</title>
        <link>http://lenzg.net/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Aspects and benefits of distributed version control systems (DVCS)</title>
    <link>http://lenzg.net/archives/285-Aspects-and-benefits-of-distributed-version-control-systems-DVCS.html</link>
            <category>Linux</category>
            <category>mylvmbackup</category>
            <category>MySQL</category>
            <category>OSS</category>
    
    <comments>http://lenzg.net/archives/285-Aspects-and-benefits-of-distributed-version-control-systems-DVCS.html#comments</comments>
    <wfw:comment>http://lenzg.net/wfwcomment.php?cid=285</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://lenzg.net/rss.php?version=2.0&amp;type=comments&amp;cid=285</wfw:commentRss>
    

    <author>nospam@example.com (Lenz Grimmer)</author>
    <content:encoded>
    &lt;p&gt;This blog post is a by-product of my preparation work for an upcoming talk titled &amp;quot;&lt;a target=&quot;_blank&quot; href=&quot;http://codebits.eu/s/blog/45921f2141d0d5cae4925cd863153d1d&quot;&gt;Why you should be using a distributed version control system (DVCS) for your project&lt;/a&gt;&amp;quot; at &lt;a target=&quot;_blank&quot; href=&quot;http://codebits.eu/&quot;&gt;SAPO Codebits&lt;/a&gt; in Lisbon (December 3-5, 2009). Publishing these thoughts prior to the conference serves two purposes: getting some peer review on my findings and acting as a teaser for the actual talk. So please let me know &amp;mdash; did I cover the relevant aspects or did I miss anything? What&#039;s your take on DVCS vs. the centralized approach? Why do you prefer one over the other? I&#039;m looking forward to your comments!&lt;/p&gt;
&lt;p&gt;Even though there are several distributed alternatives available for some years now (with &lt;a target=&quot;_blank&quot; href=&quot;http://bazaar-vcs.org/&quot;&gt;Bazaar&lt;/a&gt;, &lt;a href=&quot;http://git-scm.com/&quot;&gt;git&lt;/a&gt; and &lt;a href=&quot;http://mercurial.selenic.com/&quot;&gt;Mercurial&lt;/a&gt; being the most prominent representatives here), many large and popular Open Source projects still use centralized systems like &lt;a href=&quot;http://subversion.tigris.org/&quot;&gt;Subversion&lt;/a&gt; or even &lt;a href=&quot;http://www.nongnu.org/cvs/&quot;&gt;CVS&lt;/a&gt; to maintain their source code. While Subversion has eased some of the pains of CVS (e.g. better remote access, renaming/moving of files and directories, easy branching), the centralized approach by itself poses some disadvantages compared to distributed systems. So what are these? Let me give you a few examples of the limitations that a centralized system like Subversion has and how these affect the possible workflows and development practices.&lt;/p&gt; &lt;br /&gt;&lt;a href=&quot;http://lenzg.net/archives/285-Aspects-and-benefits-of-distributed-version-control-systems-DVCS.html#extended&quot;&gt;Continue reading &quot;Aspects and benefits of distributed version control systems (DVCS)&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Thu, 05 Nov 2009 22:49:19 +0100</pubDate>
    <guid isPermaLink="false">http://lenzg.net/archives/285-guid.html</guid>
    <category>bzr</category>
<category>code</category>
<category>codebits</category>
<category>collaborating</category>
<category>community</category>
<category>contributing</category>
<category>development</category>
<category>drupal</category>
<category>git</category>
<category>mercurial</category>
<category>mylvmbackup</category>
<category>mysql</category>
<category>oss</category>
<category>programming</category>
<category>scm</category>
<category>social</category>
<category>subversion</category>
<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>mylvmbackup 0.13 has been released</title>
    <link>http://lenzg.net/archives/277-mylvmbackup-0.13-has-been-released.html</link>
            <category>Linux</category>
            <category>mylvmbackup</category>
            <category>MySQL</category>
            <category>OSS</category>
    
    <comments>http://lenzg.net/archives/277-mylvmbackup-0.13-has-been-released.html#comments</comments>
    <wfw:comment>http://lenzg.net/wfwcomment.php?cid=277</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://lenzg.net/rss.php?version=2.0&amp;type=comments&amp;cid=277</wfw:commentRss>
    

    <author>nospam@example.com (Lenz Grimmer)</author>
    <content:encoded>
    &lt;p&gt;I am happy to announce that &lt;a href=&quot;http://www.lenzg.net/mylvmbackup/&quot;&gt;mylvmbackup&lt;/a&gt; version 0.13 has now been released.  This release includes a fix for a nasty bug in on of the recently added Perl hooks (precleanup.pm)  and some added functionality (better support for remote rsync backups).&lt;/p&gt;
&lt;p&gt;From the ChangeLog:&amp;#160;&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;Deleted sample precleanup.pm hook as it has potential to cause harm and is  too specialized on a particular use case (&lt;a title=&quot;Dangerous behaviour of &#039;precleanup.pm&#039;&quot; href=&quot;https://launchpad.net/bugs/394668&quot;&gt;BUG#394668&lt;/a&gt;)&lt;/li&gt;
    &lt;li&gt;Added support for rsync via SSH (&lt;a title=&quot;Please support rsync-over-ssh&quot; href=&quot;https://launchpad.net/bugs/392462&quot;&gt;BUG#392462&lt;/a&gt;)&lt;/li&gt;
    &lt;li&gt;Fixed InnoDB recovery in case a relative path to the MySQL  data directory is defined (&lt;a title=&quot;Initial Page: Improvement should have a newline after it&quot; href=&quot;https://launchpad.net/bugs/38337&quot;&gt;BUG#38337&lt;/a&gt;), improved the documentation  of relpath in the man page.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;div class=&quot;zemanta-pixie&quot;&gt;&lt;img src=&quot;http://img.zemanta.com/pixy.gif?x-id=3638a2df-bc9a-8e15-a476-0054a566a42a&quot; alt=&quot;&quot; class=&quot;zemanta-pixie-img&quot; /&gt;&lt;/div&gt; 
    </content:encoded>

    <pubDate>Sun, 06 Sep 2009 11:58:22 +0200</pubDate>
    <guid isPermaLink="false">http://lenzg.net/archives/277-guid.html</guid>
    <category>backup</category>
<category>linux</category>
<category>lvm</category>
<category>mylvmbackup</category>
<category>mysql</category>
<category>snapshots</category>
<category>update</category>
<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>mylvmbackup-0.12 has been released</title>
    <link>http://lenzg.net/archives/265-mylvmbackup-0.12-has-been-released.html</link>
            <category>Linux</category>
            <category>mylvmbackup</category>
            <category>MySQL</category>
            <category>OSS</category>
    
    <comments>http://lenzg.net/archives/265-mylvmbackup-0.12-has-been-released.html#comments</comments>
    <wfw:comment>http://lenzg.net/wfwcomment.php?cid=265</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://lenzg.net/rss.php?version=2.0&amp;type=comments&amp;cid=265</wfw:commentRss>
    

    <author>nospam@example.com (Lenz Grimmer)</author>
    <content:encoded>
    &lt;p&gt;After a long hiatus, I am happy to announce that &lt;a href=&quot;http://lenzg.net/mylvmbackup/&quot;&gt;mylvmbackup&lt;/a&gt; version 0.12 has now been released. This release includes a large number of improvements, minor code cleanups, as well as some new functionality. In particular, I would like to thank Matthew Boehm, Tim Stoop, Baron Schwartz, Ville Skyttä and Ronald Bradford for their contributions.&lt;/p&gt;

&lt;p&gt;Some notable highlights from the &lt;a href=&quot;http://www.lenzg.net/mylvmbackup/ChangeLog&quot;&gt;ChangeLog&lt;/a&gt;:
&lt;ul&gt;
&lt;li&gt;Removed the absolute path names to external tools (make sure $PATH is correct)&lt;/li&gt;
&lt;li&gt;Added --log-err to the startup options of the recovery instance to avoid cluttering the server&#039;s error log&lt;/li&gt;
&lt;li&gt;Added support for hooks written as Perl Modules. (Matthew Boehm)&lt;/li&gt;
&lt;li&gt;Added support for date/time-formatted path names for backupdir and mountdir (Matthew Boehm)&lt;/li&gt;
&lt;li&gt;Backupdir and mountdir are now created automatically (Matthew Boehm)&lt;/li&gt;
&lt;li&gt;Added new hook &quot;logerr&quot; when an error is logged. (Matthew Boehm)&lt;/li&gt;
&lt;li&gt;Added Option --keep-mount... (Tim Stoop)&lt;/li&gt;
&lt;li&gt;Removed the bind mount, now requires LVMv2&lt;/li&gt;
&lt;li&gt;Support reading login/password from ~/.my.cnf (Baron Schwartz)&lt;/li&gt;
&lt;li&gt;Documentation fixes and improvements (Ville Skyttä) (Bug #302144)&lt;/li&gt;
&lt;/ul&gt;
&lt;/p&gt; 
    </content:encoded>

    <pubDate>Sat, 20 Jun 2009 14:35:24 +0200</pubDate>
    <guid isPermaLink="false">http://lenzg.net/archives/265-guid.html</guid>
    <category>backup</category>
<category>collaborating</category>
<category>community</category>
<category>innodb</category>
<category>linux</category>
<category>lvm</category>
<category>mylvmbackup</category>
<category>mysql</category>
<category>perl</category>
<category>programming</category>
<category>snapshots</category>
<category>update</category>
<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>Concluded my first MySQL University Session about MySQL backups using file system snapshots - some questions remained unanswered...</title>
    <link>http://lenzg.net/archives/245-Concluded-my-first-MySQL-University-Session-about-MySQL-backups-using-file-system-snapshots-some-questions-remained-unanswered....html</link>
            <category>mylvmbackup</category>
            <category>MySQL</category>
    
    <comments>http://lenzg.net/archives/245-Concluded-my-first-MySQL-University-Session-about-MySQL-backups-using-file-system-snapshots-some-questions-remained-unanswered....html#comments</comments>
    <wfw:comment>http://lenzg.net/wfwcomment.php?cid=245</wfw:comment>

    <slash:comments>4</slash:comments>
    <wfw:commentRss>http://lenzg.net/rss.php?version=2.0&amp;type=comments&amp;cid=245</wfw:commentRss>
    

    <author>nospam@example.com (Lenz Grimmer)</author>
    <content:encoded>
    &lt;p&gt;Today I gave my first &lt;a href=&quot;http://forge.mysql.com/wiki/MySQL_University&quot;&gt;MySQL University&lt;/a&gt; session as a speaker, talking about &lt;a title=&quot;Backing up MySQL using file system snapshots&quot; href=&quot;http://forge.mysql.com/wiki/Backing_up_MySQL_using_file_system_snapshots&quot;&gt;Backing up MySQL using file system snapshots&lt;/a&gt;. The talk went quite well (at least that was my impression) and we had ~10 people attending. The &lt;a href=&quot;http://forge.mysql.com/w/images/c/c1/MySQL_Backups_using_File_System_Snapshots-2009-02-26.pdf&quot;&gt;slides&lt;/a&gt; (PDF) and a recording of the session are now available from the Wiki page. Unfortunately the recording lacks the audio track, which is a bit of a bummer. We&#039;ve submitted a support request with the &lt;a href=&quot;http://dimdim.com/&quot;&gt;DimDim&lt;/a&gt; folks, so hopefully they can provide us with a complete recording.&lt;/p&gt;
&lt;p&gt;There was one question during the session that I was not able to answer myself, so I&#039;m asking for your insights here:&lt;/p&gt;
&lt;p&gt;Consider we&#039;re using InnoDB and MyISAM tables on a file system that can be snapshotted (e.g. Linux LVM or ZFS) and we&#039;re performing the following operations:&lt;/p&gt;
&lt;ol&gt;
    &lt;li&gt;&lt;tt&gt;FLUSH TABLES WITH READ LOCK&lt;/tt&gt; (yes, this won&#039;t help for the InnoDB tables)&lt;/li&gt;
    &lt;li&gt;Create the snapshot&lt;/li&gt;
    &lt;li&gt;Store the output of &lt;tt&gt;SHOW MASTER/SLAVE&lt;/tt&gt; status in a file to be part of the backup&lt;/li&gt;
    &lt;li&gt;&lt;tt&gt;UNLOCK TABLES&lt;/tt&gt;&lt;/li&gt;
    &lt;li&gt;Mount the snapshot&lt;/li&gt;
    &lt;li&gt;Start a second MySQL instance that accesses the tables on the snapshot, let InnoDB perform its table recovery&lt;/li&gt;
    &lt;li&gt;Shut down the second instance and perform the backup of the snapshot&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The question that came up was if this actually still is a consistent backup, considering that InnoDB rolled back uncommited transactions. Does the state of the tables still match the binary log positions we noted before? I assume yes, as long as the transaction does not involve modifications non-transactional tables.&lt;/p&gt;
&lt;p&gt;Another suggestion that came up was to change InnoDB&#039;s configuration variable innodb_max_dirty_pages_pct to &amp;quot;0&amp;quot; prior to performing the snapshot, to minimize the amount of dirty pages that have not been written to disk (and thus reducing the time required for recovering later). I wonder if this would make a difference...&lt;/p&gt;
&lt;p&gt;What other InnoDB variables might have a noteworthy effect in the context of snapshot backups? I am looking forward to your comments.&lt;/p&gt; 
    </content:encoded>

    <pubDate>Thu, 26 Feb 2009 17:46:07 +0100</pubDate>
    <guid isPermaLink="false">http://lenzg.net/archives/245-guid.html</guid>
    <category>backup</category>
<category>collaborating</category>
<category>community</category>
<category>configuration</category>
<category>innodb</category>
<category>mylvmbackup</category>
<category>presentation</category>
<category>snapshots</category>
<category>university</category>
<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>Site is (almost) back...</title>
    <link>http://lenzg.net/archives/241-Site-is-almost-back....html</link>
            <category>Hardware</category>
            <category>Linux</category>
            <category>mylvmbackup</category>
            <category>MySQL</category>
            <category>OSS</category>
            <category>Personal</category>
            <category>Site News</category>
    
    <comments>http://lenzg.net/archives/241-Site-is-almost-back....html#comments</comments>
    <wfw:comment>http://lenzg.net/wfwcomment.php?cid=241</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://lenzg.net/rss.php?version=2.0&amp;type=comments&amp;cid=241</wfw:commentRss>
    

    <author>nospam@example.com (Lenz Grimmer)</author>
    <content:encoded>
    &lt;p&gt;Sorry for the downtime of this site - until around a week ago I hosted my home page on a trusty &lt;a href=&quot;http://en.wikipedia.org/wiki/Pegasos&quot;&gt;Genesi Pegasos II&lt;/a&gt; system (powered by a PowerPC G4 Processor clocked at 1GHz, using Debian 4.0 PPC with 512 MB of RAM), serving these pages from my home DSL connection. Unfortunately this system provided no means of redundancy - the hard disk drive died.&lt;/p&gt;
&lt;p&gt;Luckily I perform frequent backups, so I moved most parts of the site to a shared hosting space now - the picture gallery is unfortunately too big to fit into the space that I have there. I&#039;ll try to move the pictures into &lt;a href=&quot;http://www.flickr.com/photos/lenzgr/&quot;&gt;my Flickr account&lt;/a&gt; instead, but this will take some time.&lt;/p&gt;
&lt;p&gt;Note that the primary domain name of this site is now &lt;a href=&quot;http://lenzg.net/&quot;&gt;lenzg.net&lt;/a&gt; - &lt;a href=&quot;http://lenzg.org/&quot;&gt;lenzg.org&lt;/a&gt;, (the domain that I tried to promote as the official domain for my site) used to redirect to the home machine at lenz.homelinux.org. Both now redirect to the new address instead. I&#039;ve initiated the move of the lenzg.org domain to the other provider as well, so soon this site will be available from both the .org and .net domain. Please don&#039;t link to lenz.homelinux.org anymore, as that site will eventually go out of service. Until then, a small &lt;a href=&quot;http://opensuse.org/&quot;&gt;openSUSE Linux&lt;/a&gt; box (Intel PIII, 500 MHz, 192 MB of RAM) running &lt;a href=&quot;http://www.lighttpd.net/&quot;&gt;lighttpd&lt;/a&gt; will perform the URL redirection.&lt;/p&gt; 
    </content:encoded>

    <pubDate>Sun, 22 Feb 2009 22:41:32 +0100</pubDate>
    <guid isPermaLink="false">http://lenzg.net/archives/241-guid.html</guid>
    <category>backup</category>
<category>blog</category>
<category>hardware</category>
<category>hosting</category>
<category>linux</category>
<category>news</category>
<category>site news</category>
<category>suse</category>
<category>web</category>
<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>mylvmbackup-0.11 has been released</title>
    <link>http://lenzg.net/archives/231-mylvmbackup-0.11-has-been-released.html</link>
            <category>Linux</category>
            <category>mylvmbackup</category>
            <category>MySQL</category>
            <category>OSS</category>
    
    <comments>http://lenzg.net/archives/231-mylvmbackup-0.11-has-been-released.html#comments</comments>
    <wfw:comment>http://lenzg.net/wfwcomment.php?cid=231</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://lenzg.net/rss.php?version=2.0&amp;type=comments&amp;cid=231</wfw:commentRss>
    

    <author>nospam@example.com (Lenz Grimmer)</author>
    <content:encoded>
    &lt;p&gt;Some days ago, I released version 0.11 of &lt;a href=&quot;http://www.lenzg.net/mylvmbackup/&quot;&gt;mylvmbackup&lt;/a&gt; a Perl script that performs consistent backups of a MySQL server by using LVM filesystem snapshots. The source archive as well as a generic RPM can be found on the project home page, packages for &lt;a href=&quot;http://software.opensuse.org/search?baseproject=ALL&amp;amp;p=1&amp;amp;q=mylvmbackup&quot;&gt;many Linux distributions&lt;/a&gt; are available on the &lt;a href=&quot;https://build.opensuse.org/&quot;&gt;openSUSE Build service&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;This release includes some new functionality as well as numerous bug fixes and improvements, most notably:&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;Added support for using &lt;a href=&quot;http://daniel.lorch.cc/projects/rsnap/&quot;&gt;rsnap&lt;/a&gt; as a backup backend (Matt Lohier)&lt;/li&gt;
    &lt;li&gt;The documentation is now maintained in POD style instead of asciidoc (Matthew Boehm)&lt;/li&gt;
    &lt;li&gt;Support using non-GNU tar and additional compression methods (e.g. bzip2, lzma) (Alexander Skwar)&lt;/li&gt;
    &lt;li&gt;Code cleanups, improved error handling and logging&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I would like to thank all the contributors for their support! More details about the changes in this release, directly from the &lt;a href=&quot;http://www.lenzg.net/mylvmbackup/ChangeLog&quot;&gt;ChangeLog&lt;/a&gt;:&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;Added new option &amp;quot;--quiet&amp;quot; that suppresses informal logging output (warnings and errors will still be printed/logged)&lt;/li&gt;
    &lt;li&gt;Applied patch from &amp;quot;kjetilho&amp;quot; that makes mylvmbackup more robust and paranoid when it comes to handling errors/failures (&lt;a href=&quot;https://bugs.launchpad.net/mylvmbackup/+bug/298175&quot;&gt;Bug #298175&lt;/a&gt;) Now the script aborts cleanly in case of any error.&lt;/li&gt;
    &lt;li&gt;Fixed error handling in case of a failed DB connection (patch submitted by Matthew Boehm, &lt;a href=&quot;https://bugs.launchpad.net/mylvmbackup/+bug/280989&quot;&gt;Bug #280989&lt;/a&gt;)&lt;/li&gt;
    &lt;li&gt;Merged changes from Alexander Skwar: Fix for &lt;a href=&quot;https://bugs.launchpad.net/mylvmbackup/+bug/278478&quot;&gt;Bug #278478&lt;/a&gt; and implemented Blueprint &amp;quot;&lt;a href=&quot;https://blueprints.launchpad.net/mylvmbackup/+spec/mylvmbackup-tar-improvements&quot;&gt;Improve the tar backup backend of mylvmbackup&lt;/a&gt;&amp;quot;&lt;/li&gt;
    &lt;li&gt;Fixed &lt;a href=&quot;https://bugs.launchpad.net/mylvmbackup/+bug/271671&quot;&gt;Bug #271671&lt;/a&gt;: &amp;quot;overloading parameters does not work&amp;quot; by removing the default values for host and port from the configuration file and removing the unnecessary check for passing both host and socket at the same time. Updated documentation and configuration file comments accordingly.&lt;/li&gt;
    &lt;li&gt;Applied patch suggested by &amp;quot;Jonas&amp;quot; to fix &lt;a href=&quot;https://bugs.launchpad.net/mylvmbackup/+bug/267944&quot;&gt;Bug #267944&lt;/a&gt;: &amp;quot;backup returns successfully when snapshot creation fails&amp;quot;&lt;/li&gt;
    &lt;li&gt;Code cleanup: moved flushing of tables in a separate subroutine flush_tables()&lt;/li&gt;
    &lt;li&gt;Code cleanup: moved log messages into the respective subroutines&lt;/li&gt;
    &lt;li&gt;Code cleanup: use return values of subroutines instead of updating global variables&lt;/li&gt;
    &lt;li&gt;Improved some log messages to explain what was DONE or FAILED&lt;/li&gt;
    &lt;li&gt;Code cleanup: build up long command strings in a $command variable before passing it to system()&lt;/li&gt;
    &lt;li&gt;Renamed subroutine create_snapshot() to create_lvm_snapshot()&lt;/li&gt;
    &lt;li&gt;Merged patch from Matthew Boehm: Removed old asciidoc documentation in favor of POD style. This removes the dependency on the external program a2x for creating documentation and uses the &#039;built-in&#039; pod2html and pod2man instead. Updated the Makefile to accommodate the change.&lt;/li&gt;
    &lt;li&gt;Applied patch from Matthew Boehm to make the backup file name suffix configurable via a &amp;quot;--suffix&amp;quot; option. Updated the man page accordingly.&lt;/li&gt;
    &lt;li&gt;Applied patch from Matt Lohier to support rsnap as a backup backend&amp;#160;&lt;/li&gt;
    &lt;li&gt;Moved the list of contributors from the man page into a separate CREDITS file, added missing names&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Enjoy!&lt;/p&gt; 
    </content:encoded>

    <pubDate>Mon, 01 Dec 2008 23:24:37 +0100</pubDate>
    <guid isPermaLink="false">http://lenzg.net/archives/231-guid.html</guid>
    <category>backup</category>
<category>collaborating</category>
<category>community</category>
<category>contributing</category>
<category>databases</category>
<category>linux</category>
<category>lvm</category>
<category>mylvmbackup</category>
<category>mysql</category>
<category>OSS</category>
<category>perl</category>
<category>programming</category>
<category>snapshots</category>
<category>update</category>
<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>mylvmbackup 0.10 has been released</title>
    <link>http://lenzg.net/archives/223-mylvmbackup-0.10-has-been-released.html</link>
            <category>mylvmbackup</category>
            <category>MySQL</category>
            <category>OSS</category>
    
    <comments>http://lenzg.net/archives/223-mylvmbackup-0.10-has-been-released.html#comments</comments>
    <wfw:comment>http://lenzg.net/wfwcomment.php?cid=223</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://lenzg.net/rss.php?version=2.0&amp;type=comments&amp;cid=223</wfw:commentRss>
    

    <author>nospam@example.com (Lenz Grimmer)</author>
    <content:encoded>
    &lt;p&gt;I am happy to announce that &lt;a href=&quot;http://www.lenzg.net/mylvmbackup/&quot;&gt;mylvmbackup&lt;/a&gt; version 0.10 has been released.&lt;/p&gt;
&lt;p&gt;You can download the updated package from the project home page or via the openSUSE Build Service.&lt;/p&gt;
&lt;p&gt;This version fixes some bugs and includes new functionality:&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;Applied patch from Marc Haber: added option &lt;font face=&quot;Courier New&quot;&gt;--keep_snapshot&lt;/font&gt; that will skip the removal of the backup snapshot before terminating the script. Providing the option &lt;font face=&quot;Courier New&quot;&gt;--backuptype=none&lt;/font&gt; will now skip creating a backup using the builtin backup modules. Both options provide more flexibility when using hooks for performing the actual backup tasks or when the snapshot is considered to be the actual backup.&lt;/li&gt;
    &lt;li&gt;Added two new hooks: &amp;quot;backupsuccess&amp;quot; and &amp;quot;backupfailure&amp;quot; which are called respectively upon success of failure of the backup operation (&lt;a href=&quot;https://launchpad.net/bugs/264089&quot; title=&quot;cleanup continues even on tar failure&quot;&gt;Bug #264089&lt;/a&gt;)&lt;/li&gt;
    &lt;li&gt;Make sure that binaries are being found ($PATH may not include &lt;font face=&quot;Courier New&quot;&gt;/sbin&lt;/font&gt; when called from cron), added missing entry for &amp;quot;lvs&amp;quot; to mylvmbackup.conf (&lt;a href=&quot;https://launchpad.net/bugs/255703&quot; title=&quot;mylvmbackup default config missing line&quot;&gt;Bug #255703&lt;/a&gt;)&lt;/li&gt;
    &lt;li&gt;Updated documentation&lt;/li&gt;
&lt;/ul&gt; 
    </content:encoded>

    <pubDate>Sat, 20 Sep 2008 23:46:07 +0200</pubDate>
    <guid isPermaLink="false">http://lenzg.net/archives/223-guid.html</guid>
    <category>backup</category>
<category>linux</category>
<category>lvm</category>
<category>mylvmbackup</category>
<category>mysql</category>
<category>perl</category>
<category>update</category>
<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>mylvmbackup 0.9 has been released</title>
    <link>http://lenzg.net/archives/201-mylvmbackup-0.9-has-been-released.html</link>
            <category>Linux</category>
            <category>mylvmbackup</category>
            <category>MySQL</category>
            <category>OSS</category>
            <category>Personal</category>
    
    <comments>http://lenzg.net/archives/201-mylvmbackup-0.9-has-been-released.html#comments</comments>
    <wfw:comment>http://lenzg.net/wfwcomment.php?cid=201</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://lenzg.net/rss.php?version=2.0&amp;type=comments&amp;cid=201</wfw:commentRss>
    

    <author>nospam@example.com (Lenz Grimmer)</author>
    <content:encoded>
    &lt;p&gt;I am happy to announce that a new version (0.9) of &lt;a href=&quot;http://www.lenzg.net/mylvmbackup/&quot;&gt;mylvmbackup&lt;/a&gt; has been released. This is the first release since the source code has been moved from Subversion to Bazaar and is now hosted on &lt;font face=&quot;agency&quot;&gt;&lt;a href=&quot;https://launchpad.net/mylvmbackup/&quot;&gt;Launchpad.net&lt;/a&gt;&lt;/font&gt;. I would like to thank Robin H. Johnson and Patrick Hahn for providing the patches that contributed to this new release!&lt;/p&gt;
&lt;p&gt;mylvmbackup is a tool for quickly creating backups of MySQL server&#039;s data files. To perform a backup, mylvmbackup obtains a read lock on all tables and flushes all server caches to disk, makes an LVM snapshot of the volume containing the MySQL data directory, and unlocks the tables again. The snapshot process takes only a small amount of time. When it is done, the server can continue normal operations, while the actual file backup proceeds.&lt;/p&gt;
&lt;p&gt;From the &lt;a href=&quot;http://www.lenzg.net/mylvmbackup/ChangeLog&quot;&gt;ChangeLog&lt;/a&gt;:&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;Applied patch from Patrick Hahn: provide an option to call external scripts/&lt;wbr&gt;&lt;/wbr&gt;applications (hooks) at various stages of the backup process. See the &lt;a href=&quot;http://www.lenzg.net/mylvmbackup/mylvmbackup.1.html&quot;&gt;man page&lt;/a&gt; for instructions&lt;/li&gt;
    &lt;li&gt;Added options &amp;quot;&lt;tt&gt;--skip_hooks&lt;/tt&gt;&amp;quot; to disable the execution of hooks and &amp;quot;&lt;tt&gt;--hooksdir&lt;/tt&gt;&amp;quot; to define the location for these (default is &lt;tt&gt;/usr/share/mylvmbackup&lt;/tt&gt;)&lt;/li&gt;
    &lt;li&gt;Updated documentation: added new options and instructions on how to use hooks&lt;/li&gt;
    &lt;li&gt;Applied patch from Robin H. Johnson: Full support for an rsync:// service as the backup destination. If you include any path fragments with the rsync module name, they must already exist!&lt;/li&gt;
    &lt;li&gt;Updated documentation to reflect these changes&lt;/li&gt;
    &lt;li&gt;Updated TODO&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;You can download a source tarball or RPM from the &lt;a href=&quot;http://www.lenzg.net/mylvmbackup/&quot;&gt;project home page&lt;/a&gt;. Additional packages for various Linux distributions can be obtained from the &lt;a href=&quot;http://download.opensuse.org/repositories/home:/LenzGr/&quot;&gt;openSUSE Build Service&lt;/a&gt;. Packages for &lt;a href=&quot;http://packages.gentoo.org/package/mylvmbackup&quot;&gt;Gentoo&lt;/a&gt; and &lt;a href=&quot;http://packages.debian.org/sid/mylvmbackup&quot;&gt;Debian&lt;/a&gt; should appear shortly, too.&lt;/p&gt;
&lt;p&gt;Enjoy! Please let me know how mylvmbackup works for you, either by posting to our &lt;a href=&quot;http://www.freelists.org/list/mylvmbackup&quot;&gt;mailing list&lt;/a&gt; or by submitting a &lt;a href=&quot;https://bugs.launchpad.net/mylvmbackup&quot;&gt;bug report&lt;/a&gt;. Thanks!&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt; 
    </content:encoded>

    <pubDate>Fri, 11 Jul 2008 00:51:01 +0200</pubDate>
    <guid isPermaLink="false">http://lenzg.net/archives/201-guid.html</guid>
    <category>backup</category>
<category>community</category>
<category>linux</category>
<category>lvm</category>
<category>mylvmbackup</category>
<category>mysql</category>
<category>oss</category>
<category>perl</category>
<category>snapshots</category>
<category>update</category>
<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>The mylvmbackup source tree has moved to Bazaar/Launchpad</title>
    <link>http://lenzg.net/archives/197-The-mylvmbackup-source-tree-has-moved-to-BazaarLaunchpad.html</link>
            <category>Linux</category>
            <category>mylvmbackup</category>
            <category>MySQL</category>
            <category>OSS</category>
            <category>Site News</category>
    
    <comments>http://lenzg.net/archives/197-The-mylvmbackup-source-tree-has-moved-to-BazaarLaunchpad.html#comments</comments>
    <wfw:comment>http://lenzg.net/wfwcomment.php?cid=197</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://lenzg.net/rss.php?version=2.0&amp;type=comments&amp;cid=197</wfw:commentRss>
    

    <author>nospam@example.com (Lenz Grimmer)</author>
    <content:encoded>
    &lt;p&gt;JFYI: today I migrated the &lt;a href=&quot;http://www.lenzg.net/mylvmbackup/&quot;&gt;mylvmbackup&lt;/a&gt; source tree from my local &lt;a href=&quot;http://subversion.tigris.org/&quot;&gt;Subversion&lt;/a&gt; repository on &lt;a href=&quot;http://www.lenzg.net/&quot;&gt;http://www.lenzg.net/&lt;/a&gt; to a &lt;a href=&quot;http://bazaar-vcs.org/&quot;&gt;Bazaar&lt;/a&gt; repository on &lt;a href=&quot;http://launchpad.net/mylvmbackup&quot;&gt;Launchpad.net&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;This will hopefully make it easier for contributors to work on the code and share their modifications with others, removing me as the bottleneck for applying and testing patches for new releases. I chose Bazaar primarily because I wanted to get some more hands-on practice with it, now that the MySQL Server source trees have been transferred to it as well (see &lt;a href=&quot;http://blogs.mysql.com/kaj/2008/06/19/version-control-thanks-bitkeeper-welcome-bazaar/&quot;&gt;Kaj&#039;s announcement&lt;/a&gt; for details).&lt;/p&gt;
&lt;p&gt;As mylvmbackup is closely related to the MySQL Server project, it made sense to choose the same platform and enjoy the cross-pollination effects and the infrastructure that Launchpad provides. Additionally, the distributed nature of Bazaar makes it more convenient to work with the code history and commiting changes locally without having to be online and connected to the SVN server.&lt;/p&gt;
&lt;p&gt;I am sure that other DSCMSs like &lt;a href=&quot;http://git.or.cz/&quot;&gt;Git&lt;/a&gt;, &lt;a href=&quot;http://www.selenic.com/mercurial/&quot;&gt;Mercurial&lt;/a&gt; or &lt;a href=&quot;http://darcs.net/&quot;&gt;darcs&lt;/a&gt; would have done the job equally well - nowadays it&#039;s very hard to choose &lt;img src=&quot;http://lenzg.net/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;/p&gt;
&lt;p&gt;The &amp;quot;trunk&amp;quot; branch is now hosted on Launchpad. I assume that I will soon open up a development branch, that will receive heavier modifications first. I also plan to use the site for bug tracking and keeping track of feature requests (via Blueprints).&lt;/p&gt;
&lt;p&gt;To create a local branch of the &amp;quot;trunk&amp;quot; repository, you can use the following command:&lt;/p&gt;
&lt;pre&gt;bzr branch lp:mylvmbackup&lt;/pre&gt;
&lt;p&gt;I also maintain a copy of that branch on my home server, just in case: &lt;a href=&quot;http://www.lenzg.net/bzr/mylvmbackup/&quot;&gt;http://www.lenzg.net/bzr/mylvmbackup/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;To avoid confusion, I removed the Subversion repository on &lt;a href=&quot;http://www.lenzg.net/&quot;&gt;http://www.lenzg.net&lt;/a&gt;. Please use the Bazaar tree on Launchpad from now on. Thanks!&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt; 
    </content:encoded>

    <pubDate>Wed, 25 Jun 2008 21:53:07 +0200</pubDate>
    <guid isPermaLink="false">http://lenzg.net/archives/197-guid.html</guid>
    <category>bzr</category>
<category>collaborating</category>
<category>community</category>
<category>contributing</category>
<category>development</category>
<category>linux</category>
<category>lvm</category>
<category>mylvmbackup</category>
<category>mysql</category>
<category>oss</category>
<category>perl</category>
<category>site news</category>
<category>subversion</category>
<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>LVM Backup slides published</title>
    <link>http://lenzg.net/archives/184-LVM-Backup-slides-published.html</link>
            <category>Linux</category>
            <category>mylvmbackup</category>
            <category>MySQL</category>
            <category>OSS</category>
    
    <comments>http://lenzg.net/archives/184-LVM-Backup-slides-published.html#comments</comments>
    <wfw:comment>http://lenzg.net/wfwcomment.php?cid=184</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://lenzg.net/rss.php?version=2.0&amp;type=comments&amp;cid=184</wfw:commentRss>
    

    <author>nospam@example.com (Lenz Grimmer)</author>
    <content:encoded>
    &lt;p&gt;JFYI, I now placed a PDF of my MySQL Conference talk slides about &lt;a href=&quot;http://www.lenzg.net/mysql/LVM-Snapshot-Backups-MySQLConf-2008-04-16.pdf&quot;&gt;&amp;quot;Performing MySQL backups using Linux LVM Snapshots&amp;quot;&lt;/a&gt; on my &lt;a href=&quot;http://www.lenzg.net/mysql/&quot;&gt;MySQL talks page&lt;/a&gt;. Enjoy!&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt; 
    </content:encoded>

    <pubDate>Thu, 24 Apr 2008 17:12:08 +0200</pubDate>
    <guid isPermaLink="false">http://lenzg.net/archives/184-guid.html</guid>
    <category>backup</category>
<category>community</category>
<category>conference</category>
<category>linux</category>
<category>lvm</category>
<category>mylvmbackup</category>
<category>mysql</category>
<category>presentation</category>
<category>slides</category>
<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>Zumastor as an alternative for LVM/DRBD?</title>
    <link>http://lenzg.net/archives/182-Zumastor-as-an-alternative-for-LVMDRBD.html</link>
            <category>Linux</category>
            <category>mylvmbackup</category>
            <category>MySQL</category>
            <category>OSS</category>
    
    <comments>http://lenzg.net/archives/182-Zumastor-as-an-alternative-for-LVMDRBD.html#comments</comments>
    <wfw:comment>http://lenzg.net/wfwcomment.php?cid=182</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://lenzg.net/rss.php?version=2.0&amp;type=comments&amp;cid=182</wfw:commentRss>
    

    <author>nospam@example.com (Lenz Grimmer)</author>
    <content:encoded>
    &lt;p&gt;While reading Colin&#039;s &lt;a href=&quot;http://www.bytebot.net/blog/archives/2008/04/13/gong-a-thong-at-lugradio-live-usa&quot;&gt;post about LugRadio Live&lt;/a&gt;, I stumbled over the &lt;a href=&quot;http://zumastor.org/&quot;&gt;Zumastor Linux Storage Project&lt;/a&gt;. Going through the project home page and their &lt;a href=&quot;http://zumastor.googlecode.com/svn/branches/0.7/doc/zumastor-howto.html&quot;&gt;HOWTO&lt;/a&gt; got me curious - could this eventually become an alternative to using DRBD (for replicating data) and LVM snapshots (for performing backups)?&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Zumastor is Free software that adds enterprise storage features (primarily improved snapshots and remote replication) to Linux.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Snapshots&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;LVM already lets administrators create snapshots, but its design has the surprising property that every block you change on the original volume consumes one block for each snapshot. The resulting speed and space penalty usually makes the use of more than one or two snapshots at a time impractical.&lt;/p&gt;
&lt;p&gt;Zumastor keeps all snapshots for a particular volume in a common snapshot store, and shares blocks the way one would expect. Thus making a change to one block of a file in the original volume only uses one block in the snapshot store no matter how many snapshots you have.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Replication&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Andrew Tridgell&#039;s rsync is a wonderful tool for replicating files remotely. However, when doing periodic replication of large numbers of infrequently changing files, the overhead for figuring out what files need to be sent can be extreme.&lt;/p&gt;
&lt;p&gt;Zumastor keeps track of which block change between one snapshot and the next, and can easily send just the changed blocks. Thus Zumastor can do frequent replication of large filesystems much more efficiently than rsync can.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I assume it&#039;s not ready for production use yet, but it would sure be interesting to investigate on how to utilize it for the purpose of running MySQL on top of it...&lt;/p&gt;
&lt;p&gt;I will keep an eye on this project, I wonder if I will have to add support for Zumastor snapshots to &lt;a href=&quot;http://www.lenzg.net/mylvmbackup/&quot;&gt;mylvmbackup&lt;/a&gt; at some point? &lt;img src=&quot;http://lenzg.net/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt; 
    </content:encoded>

    <pubDate>Wed, 16 Apr 2008 23:22:00 +0200</pubDate>
    <guid isPermaLink="false">http://lenzg.net/archives/182-guid.html</guid>
    <category>backup</category>
<category>linux</category>
<category>lvm</category>
<category>mylvmbackup</category>
<category>mysql</category>
<category>OSS</category>
<category>snapshots</category>
<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>mylvmbackup 0.8 has been released</title>
    <link>http://lenzg.net/archives/180-mylvmbackup-0.8-has-been-released.html</link>
            <category>Linux</category>
            <category>mylvmbackup</category>
            <category>MySQL</category>
            <category>OSS</category>
    
    <comments>http://lenzg.net/archives/180-mylvmbackup-0.8-has-been-released.html#comments</comments>
    <wfw:comment>http://lenzg.net/wfwcomment.php?cid=180</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://lenzg.net/rss.php?version=2.0&amp;type=comments&amp;cid=180</wfw:commentRss>
    

    <author>nospam@example.com (Lenz Grimmer)</author>
    <content:encoded>
    &lt;p&gt;I am happy to announce the release of &lt;a href=&quot;http://www.lenzg.net/mylvmbackup/&quot;&gt;mylvmbackup&lt;/a&gt; version 0.8. mylvmbackup is a tool for quickly creating backups of a MySQL server&#039;s data files. To perform a backup, mylvmbackup obtains a read lock on all tables and flushes all server caches to disk, makes an &lt;a href=&quot;http://tldp.org/HOWTO/LVM-HOWTO/&quot;&gt;LVM snapshot&lt;/a&gt; of the volume containing the MySQL data directory, and unlocks the tables again. The snapshot process takes only a small amount of time. When it is done, the server can continue normal operations, while the actual file backup proceeds.&lt;/p&gt;
&lt;p&gt;Below is the list of changes since version 0.6. You may wonder what happened to version 0.7 - it had a rather short life cycle as I was informed about a bug that I fixed quickly before I made a wider release announcement of 0.7.&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;Fixed a bug in the InnoDB recovery function: the second mysqld process clobbered the socket file of the primary MySQL instance (thanks to Alain Hoang for reporting this)&lt;/li&gt;
    &lt;li&gt;Updated the man page, noted some other limitations of the InnoDB recovery function&lt;/li&gt;
    &lt;li&gt;Bug fix: use the correct mysqld parameter to provide an alternative PID file (--pid-file instead of --pidfile) - thanks to Guillaume Boddaert and Jim Wilson for reporting this!&lt;/li&gt;
    &lt;li&gt;Added option &amp;quot;--skip_mycnf&amp;quot; to skip including a copy of the MySQL configuration file in the backup, added a safety check that the file actually exists prior to backing it up.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Updated package are available from the home page and via the &lt;a href=&quot;http://software.opensuse.org/&quot;&gt;openSUSE Build Service&lt;/a&gt; as usual. Updated packages for Debian/Ubuntu and Gentoo Linux should also be available shortly. Enjoy!&lt;/p&gt;
&lt;p&gt;Speaking of LVM snapshot backups: I will be &lt;a href=&quot;http://en.oreilly.com/mysql2008/public/schedule/detail/252&quot;&gt;giving a talk&lt;/a&gt; about this subject at our &lt;a href=&quot;http://mysqlconf.com/&quot;&gt;MySQL Conference 2008&lt;/a&gt; in Santa Clara, CA next week. If you are curious about how MySQL can be backed up using this technology, please consider to stop by!&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt; 
    </content:encoded>

    <pubDate>Fri, 11 Apr 2008 21:23:36 +0200</pubDate>
    <guid isPermaLink="false">http://lenzg.net/archives/180-guid.html</guid>
    <category>backup</category>
<category>community</category>
<category>conference</category>
<category>development</category>
<category>event</category>
<category>linux</category>
<category>lvm</category>
<category>mylvmbackup</category>
<category>mysql</category>
<category>oss</category>
<category>packaging</category>
<category>perl</category>
<category>snapshots</category>
<category>update</category>
<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>Backing up MySQL using ZFS Snapshots: SnapBack</title>
    <link>http://lenzg.net/archives/150-Backing-up-MySQL-using-ZFS-Snapshots-SnapBack.html</link>
            <category>mylvmbackup</category>
            <category>MySQL</category>
            <category>OSS</category>
    
    <comments>http://lenzg.net/archives/150-Backing-up-MySQL-using-ZFS-Snapshots-SnapBack.html#comments</comments>
    <wfw:comment>http://lenzg.net/wfwcomment.php?cid=150</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://lenzg.net/rss.php?version=2.0&amp;type=comments&amp;cid=150</wfw:commentRss>
    

    <author>nospam@example.com (Lenz Grimmer)</author>
    <content:encoded>
    &lt;p&gt;While browsing the many blog entries on &lt;a href=&quot;http://blogs.sun.com&quot;&gt;blogs.sun.com&lt;/a&gt; about the MySQL Acquisition (thanks a lot for the very warm welcome!), I stumbled over this (&lt;a href=&quot;http://python.org/&quot;&gt;Python&lt;/a&gt;-based) utility: &lt;a href=&quot;http://blogs.digitar.com/jjww/?itemid=56&quot;&gt;SnapBack&lt;/a&gt;, a tool that uses ZFS snapshots to perform physical backups of MySQL databases on Solaris. Very cool! This is actually something I was wanting to add to the &lt;a href=&quot;http://www.lenzg.net/mylvmbackup/&quot;&gt;mylvmbackup&lt;/a&gt; script, too - I have to take a closer look at how this is done (I tried to install OpenSolaris on a VirtualBox instance, but it caused it to crash the emulator).&lt;br /&gt;
&amp;#160;&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt; 
    </content:encoded>

    <pubDate>Sat, 19 Jan 2008 22:46:23 +0100</pubDate>
    <guid isPermaLink="false">http://lenzg.net/archives/150-guid.html</guid>
    <category>backup</category>
<category>mylvmbackup</category>
<category>mysql</category>
<category>OSS</category>
<category>python</category>
<category>snapshots</category>
<category>solaris</category>
<category>utility</category>
<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>mylvmbackup 0.6 has been released</title>
    <link>http://lenzg.net/archives/144-mylvmbackup-0.6-has-been-released.html</link>
            <category>Linux</category>
            <category>mylvmbackup</category>
            <category>MySQL</category>
            <category>OSS</category>
    
    <comments>http://lenzg.net/archives/144-mylvmbackup-0.6-has-been-released.html#comments</comments>
    <wfw:comment>http://lenzg.net/wfwcomment.php?cid=144</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://lenzg.net/rss.php?version=2.0&amp;type=comments&amp;cid=144</wfw:commentRss>
    

    <author>nospam@example.com (Lenz Grimmer)</author>
    <content:encoded>
    &lt;p&gt;Version 0.6 of mylvmbackup, a script to perform backups of a MySQL server using Linux LVM snapshots, has now been released.&lt;/p&gt;
&lt;p&gt;In addition to various code cleanups and documentation improvements, many new features have been added to this version. I&#039;d like to specially thank Robin H. Johnson from the Gentoo project for contributing many of the improvements to this release!&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;Added a new rsync backup type. This is very useful if you want to use mylvmbackup to create the initial state for your slave servers. Instead of creating a .tar.gz archive, the data directory is copied into a timestamped archive directory. (Robin)&lt;/li&gt;
    &lt;li&gt;Added support for a trailing argument to tar, which can be used for excluding files. (Robin)&lt;/li&gt;
    &lt;li&gt;Separated out the suffix of the tarball (Preperation for rsync and users that want to use bzip2 or no compression on the tarball.) (Robin)&lt;/li&gt;
    &lt;li&gt;While the backup is performed, a temporary suffix at the end of the tar backup file name (or the rsync target directory name) now indicates that it is incomplete. (Robin)&lt;/li&gt;
    &lt;li&gt;The my.cnf configuration file is now included in the backup. (Robin)&lt;/li&gt;
    &lt;li&gt;Added the ability to run an extra FLUSH TABLES on busy databases where lvcreate might take a long time (and may overrun the interactivity timeout on the connection, losing the lock). (Robin)&lt;/li&gt;
    &lt;li&gt;Added option &amp;quot;--pidfile&amp;quot; to provide an alternative PID file location for the second server instance that is started to perform the InnoDB recovery on the snapshot prior to backing it up (Otherwise it may default to using the same pid file location that the running server uses and safe_mysqld will abort) - thanks to Kristian K&amp;ouml;hntopp for making me aware of this problem.&lt;/li&gt;
    &lt;li&gt;Before discarding the snapshot LV, the output of &amp;quot;lvs &amp;lt;snapshot&amp;gt;&amp;quot; is now printed out for diagnostics. It contains useful information like &amp;quot;how much percent of the backing store was used&amp;quot;, which helps tuning the size of the snapshot LV.&lt;/li&gt;
    &lt;li&gt;Added option &amp;quot;--skip-flush-tables&amp;quot; that performs the snapshot without flushing the tables to disk beforehand (which is not supported by InnoDB tables anyway) - this would save time, as the flushing can take a while, depending on the buffer sizes. (Thanks to Peter Zaitsev for the suggestion)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Version 0.6 is now available for download from &lt;a href=&quot;http://www.lenzg.net/mylvmbackup/&quot;&gt;http://www.lenzg.net/mylvmbackup/&lt;/a&gt; (source tarball and RPM). I also provide RPM packagages for a number of additional platforms via my &lt;a href=&quot;http://download.opensuse.org/repositories/home:/LenzGr/&quot;&gt;home:LenzGr repository&lt;/a&gt; on the fabolous &lt;a href=&quot;https://build.opensuse.org/&quot;&gt;openSUSE Build Service&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Enjoy! Feedback, patches and suggestions are welcome - please consider joining &lt;a href=&quot;http://www.freelists.org/list/mylvmbackup&quot;&gt;the mylvmbackup mailing list&lt;/a&gt; to discuss your experiences with this tool.&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt; 
    </content:encoded>

    <pubDate>Sun, 28 Oct 2007 13:41:00 +0100</pubDate>
    <guid isPermaLink="false">http://lenzg.net/archives/144-guid.html</guid>
    <category>backup</category>
<category>development</category>
<category>linux</category>
<category>lvm</category>
<category>mylvmbackup</category>
<category>mysql</category>
<category>OSS</category>
<category>perl</category>
<category>RPM</category>
<category>update</category>
<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>Announcing mylvmbackup 0.5</title>
    <link>http://lenzg.net/archives/121-Announcing-mylvmbackup-0.5.html</link>
            <category>mylvmbackup</category>
            <category>MySQL</category>
            <category>OSS</category>
    
    <comments>http://lenzg.net/archives/121-Announcing-mylvmbackup-0.5.html#comments</comments>
    <wfw:comment>http://lenzg.net/wfwcomment.php?cid=121</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://lenzg.net/rss.php?version=2.0&amp;type=comments&amp;cid=121</wfw:commentRss>
    

    <author>nospam@example.com (Lenz Grimmer)</author>
    <content:encoded>
    
&lt;a href=&quot;http://ebergen.net/wordpress/&quot;&gt;Eric Bergen&lt;/a&gt; from &lt;a href=&quot;http://provenscaling.com/&quot;&gt;Proven Scaling&lt;/a&gt; (which I had the pleasure to meet in person during the &lt;a href=&quot;http://mysqlconf.com/&quot;&gt;MySQL Conference &amp;amp; Expo&lt;/a&gt; in Santa Clara last month) was kind enough to send me a patch for the mylmbackup tool, which justifies a new release:&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;Attached is a patch file for mylvmbackup that adds the ability to use&lt;br /&gt;lvm version 2 and perform innodb recovery on the snapshot prior to&lt;br /&gt;creating a tar ball. The option is named --innodb-recover.&lt;br /&gt;&lt;br /&gt;I&#039;ve also fixed a bug with default value handling for command line&lt;br /&gt;options. In version 0.4 if a config file was specified default values&lt;br /&gt;in the script were all changed to blank. This means that the config&lt;br /&gt;file had to supply values for every variable instead of just the&lt;br /&gt;values that need to be changed from default.&lt;/pre&gt;&lt;/blockquote&gt;&lt;p&gt;This is a very useful addition, as it significantly reduces the time required to recover a MySQL server from a snapshot backup. Thank you, Eric! Note that you need to use LVM2, as LVM1 does not support the required writing to snapshot volumes.&lt;/p&gt;&lt;p&gt;Version 0.5 is now available for download from the &lt;a href=&quot;http://www.lenzg.net/mylvmbackup/&quot;&gt;mylvmbackup project page&lt;/a&gt;. &lt;/p&gt;I also would like to announce that I have set up a dedicated mailing list for this tool: if you want to discuss the usage/future of mylvmbackup, propose patches or ask for
help, there now is a mailinglist, hosted on
&lt;a href=&quot;http://www.freelists.org/&quot;&gt;FreeLists.org&lt;/a&gt;. To subscribe, either enter
your email address on the
&lt;a href=&quot;http://www.freelists.org/list/mylvmbackup&quot;&gt;mylvmbackup list information page&lt;/a&gt;
or send an email with the subject &amp;quot;subscribe&amp;quot; to
&lt;a href=&quot;mailto:mylvmbackup-request@freelists.org&quot;&gt;mylvmbackup-request@freelists.org&lt;/a&gt;.
The list is &lt;a href=&quot;http://www.freelists.org/archives/mylvmbackup/&quot;&gt;archived here&lt;/a&gt;. See you there! 
    </content:encoded>

    <pubDate>Wed, 09 May 2007 13:57:30 +0200</pubDate>
    <guid isPermaLink="false">http://lenzg.net/archives/121-guid.html</guid>
    <category>backup</category>
<category>development</category>
<category>linux</category>
<category>lvm</category>
<category>mailinglist</category>
<category>mylvmbackup</category>
<category>mysql</category>
<category>OSS</category>
<category>perl</category>
<category>update</category>
<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>

</channel>
</rss>